Laptop wakes up from sleep every several hours
Solution 1:
I found out that the laptop wakes up exactly 3 hours after I put it to sleep, so I googled again using this new piece of data.
Paradoxically, my laptop (and probably many other laptops) wakes up in order to hibernate, but for some reason the hibernation fails - resulting with the laptop "staying awake".
Solution
Right-click on the Start button and select "Power Options".
"Change when the computer sleeps" > "Change advanced power settings"
"Sleep" > "Hibernate after"
- On battery: Never
- Plugged in: Never
Source: eightforums.com
Solution 2:
Here's what I did:
First run:
powercfg /lastwake
This might give something like:
Wake History Count - 1
Wake History [0]
Wake Source Count - 1
Wake Source [0]
Type: Device
Instance Path: ACPI\ACPI000E\2&daba3ff&1
Friendly Name:
Description: ACPI Wake Alarm
Manufacturer: (Standard system devices)
If you recognize device then you found the issue. In above case friendly name is missing so device is not recognizable but it seems that something capable of waking up the system did the trick (as opposed to faulty lid closer detection).
Run below command to see scheduled wake timers:
powercfg /waketimers
In my case this prints:
Timer set by [SERVICE] \Device\HarddiskVolume4\Windows\System32\svchost.exe (SystemEventsBroker) expires at 6:41:31 PM on 12/10/2019.
Reason: Windows will execute 'NT TASK\Microsoft\Windows\UpdateOrchestrator\Backup Scan' scheduled task that requested waking the computer.
You can run Task Scheduler built-in to Windows, navigate to above path and see if this is problematic.
Next thing to try is simply disable devices that can wake up the computer. Run following:
powercfg -devicequery wake_armed
Typically devices such as NVIDIA USB Type-C Port Policy Controller
, NVidia High Definition Audio
etc might popup here. Go to Device Manager, find these devices under Sound, USB etc sections, look for "Wake" in their properties and disable it. Also, WiFi controllers have ability to wake up the system. You can disable that in Device Manager as well. Finally, in Power Settings, go to Sleep section and disable Allow wake timers setting.