Can a Windows PC do anything while it is sleeping?

Windows (Vista+ anyway) provides something similar, and can/will wake your computer from sleep states to do updates, backups (etc).

Having said that, your motherboard's firmware needs to support, and be setup to use, this feature.

They're referred to as 'Wake Timers' in the Power options (where you can enable and disable them).

The system is part of the Task Scheduler (primarily). You can find it by opening a task in Task Manager and looking under 'the Conditions' tab, where you will find a "Wake the computer to run this task" check box.

There you can also make you own tasks that will wake up the system to do what you'd like.

More info here (SuperUser) and here (MS).


Sleep is a lowered power state, but it is not turned off. Obviously, if the computer was off, nothing would work.

Windows, as far as I know, doesnt provide programmers the ability to write code that executes while the PC is a sleep state.

However, that does not mean programs are not running. Windows needs to detect events that wake the PC. Events can be ACPI power button press, mouse movements or clicks, magic packets (Wake on Lan), or keyboard presses. I might be missing some. Windows is also "awake" enough to properly shutdown a sleeping laptop if the battery is about to die.

Now Apple allowing certain functions to be done while sleeping is a double edged sword. Yes, backups and such can occur, but if the device was on battery power it would drain faster, defeating the purpose of sleep's low powered state.


Windows actually has multiple sleep states. Each sleep state conserves power and allows the system to resume working quickly, but the hardware is pretty much inactive. No software can run when a PC is asleep.

Not being a Mac person, I hadn't heard of Power Nap before now. According to this knowledge base article it's actually a way for the Mac to power up briefly to perform routine tasks. The lights don't go on, but the system is active and consuming power. Strictly speaking, the Mac is not asleep when Power Nap tasks are running.

It's one of those cool features that Apple loves to invent. Requires special hardware support, so you can't do it on a PC. Wouldn't surprise me if it appeared on PCs eventually.