chrisT Posted May 5, 2014 Posted May 5, 2014 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 orbs Posted May 5, 2014 Solution Posted May 5, 2014 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
chrisT Posted May 7, 2014 Author Posted May 7, 2014 Thanks your suggestion got me to finally find this Autoit user defined function "EventLog Management" which solved the problem
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now