What woke up my Computer from Sleep?
What caused my system to wake up from sleep?
This brief tutorial contains a CMD command that you can run to determine the source of the most recent system resumption from sleep.
Please note: The sleep counter and information (reason for wake up/source of wake up) displayed by the powercfg command resets each time the system is rebooted. The information field displayed refers to the most recent resumption from sleep reason.
Please note: The sleep counter and information (reason for wake up/source of wake up) displayed by the powercfg command resets each time the system is rebooted. The information field displayed refers to the most recent resumption from sleep reason.
Click on the applicable Windows OS:
→ Windows 10, Windows 8.1, Windows 8
- Press WIN + X keys | select "Command Prompt (Admin)" | type/paste the following command:
Code:
powercfg /lastwake
→ Windows 7, Windows Vista
- Click on START orb | type cmd.exe into the Start Search box | RIGHT-click on CMD.exe above under "Programs" | select "Run as Administrator" | type/paste the following command into the CMD screen:
Code:
powercfg /lastwake
The result will look similar to this:
View attachment 15484
LEGEND
#1 - the powercfg command + parameter
#2 - information field (the reason for resumption from sleep)
In my case, #2 (the result) shows "Power Button". I had used the mouse to wake the system up. So, obviously, Windows considers the mouse to be a "power button".
Additional Information from Microsoft
▫ Powercfg
▫ https://support.microsoft.com/en-us/kb/2812395
▫ Powercfg Command-Line Options
▫ https://support.microsoft.com/en-us/kb/915160
▫ Powercfg Command-Line Options
▫ https://support.microsoft.com/en-us/kb/935799
▫ https://support.microsoft.com/en-us/kb/980869
▫ https://msdn.microsoft.com/en-us/library/ff794903(v=winembedded.60).aspx
▫ https://support.microsoft.com/en-us/kb/976034
▫ https://support.microsoft.com/en-us/kb/976034
▫ https://support.microsoft.com/en-us/kb/976877
▫ https://support.microsoft.com/en-us/kb/907477
▫ https://msdn.microsoft.com/en-us/library/windows/hardware/dn495346(v=vs.85).aspx
▫ https://support.microsoft.com/en-us/kb/975270