Jump to content

Recommended Posts

Posted

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

  • Solution
Posted

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

Signature - my forum contributions:

Spoiler

UDF:

LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates

Apps:

Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff

 

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...