Jump to content
Sign in to follow this  
chrisT

Uptime since awakening from SLEEP/HIBERNATE

Recommended Posts

chrisT

Hi All

I have been searching for a way to get the duration(mSec) that my PC has been AWAKENED from either sleep or hibernation. The only references I find mention of in the forums are related to time(mSec) since restart. Anyone point me in the right direction?

thanks Chris

Share this post


Link to post
Share on other sites
orbs

look at the event log for the last "awakening" event, have a look here:

http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/logging-power-events-sleep-wake-up-to-the-event/e004a68c-f9a9-4982-86ba-a1cee05f9e4d

in brief, it says:

You are searching for event ID 42 in System log from source Kernel-Power as the sleeping event
 
and the event ID 1 in System log from source Power-Troubleshooter for computer's awakening, which are respectively the last and first logs entries upon sleeping/waking up

Share this post


Link to post
Share on other sites
chrisT

Thanks your suggestion got me to finally find this Autoit user defined function "EventLog Management" which solved the problem

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.