I have configured my desktop PC to go turn off the monitor after 5 minutes and to go sleep after 10 minutes of inactivity.
While I don't have to worry about battery usage (because it is a desktop PC), putting it to sleep saves energy which in turn is beneficial to the utility bill.
I noticed recently that the PC would wake up automatically from sleep without me being anywhere near it.
This guide provides you with the tools and knowledge to analyze the issue in detail on your own device.
Finding the cause
The first thing you may want to do is find out what is causing the issue as it may save you lots of time fixing it.
Here is what you need to do:
Fixing the wake issue
Some causes can be fixed right from the command line. If you noticed for example that a device, say the mouse, is responsible for waking the PC, you could disable its ability to do so to prevent that.
To do so, simply run the command powercfg -devicedisablewake "name" with "name" being one of the names returned by the command powercfg -devicequery wake_armed.
You can enable devices again at a later point in time using the command powercfg -deviceenablewake "name".
You may also want to check your network adapter settings as it can wake the PC as well under certain circumstances.
The issues described above are the most common wake related ones but there are others that may also interfere with your computer's sleep state.
Here is a list of suggestions for you to go through:
Scheduled Tasks - A scheduled task may wake up the PC automatically. This can be Windows Update for example but also any other task.
Bios and motherboard - You may want to check all menus of the Bios of the computer to make sure wake related features are not enabled. Sometimes, configurations are set on the motherboard instead only. Consult the motherboard manual for pointers.
Now You: Are you using sleep mode or other power saving modes on your PC?
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.