Sunday, January 2, 2022

Sleeping issues with Laptop - Windows 10 PC keeps waking up in sleep!

Have you faced the issue of PC waking up in sleep? Most of the wake-ups are to do important stuff like critical updates, mandatory virus scans, etc.

But its really troubling when:

  • PC wakes up and consumes all battery while you were expecting it to be fully charged.
  • PC wakes up and consumes all battery and then hits a hard shutdown and loosing any unsaved stuff
  • PC is packed in a bag and during journey and it gets really hot in the bag
These are some real life scenarios where you would want it not to wakeup - the ideal solution would be to take the pain of shutting it down. But shutting down is a longer and cumbersome process to most of us, and many of us never shutdown the PC - just sleep it.

Identifying the causes of wakeup:

Device/Hardware - there maybe components which would be causing the wakeup. Type below command in command prompt to find:

powercfg -devicequery wake_armed

Once the items are listed, you may find them in device manager and then turn of the wakeup checkbox in the Power Management properties.

Software - These could be the scheduled tasks, etc. Type below in Powershell to identify:

Get-ScheduledTask | where {$_.settings.waketorun}

and then you may review and disable the unnecessary tasks.