What happens to a download when a Mac sleeps
Sleep pauses the whole Mac, and that includes the app doing the download and its network connection. Nothing arrives until the Mac wakes.
What you find when it wakes depends on the app and the server. A download that supports resuming picks up where it stopped. One that doesn't may fail or start again from zero, and you won't know which you have until it happens.
So the question that matters is whether the Mac is asleep, not whether the screen is dark or the Mac is locked.
Will the download keep going? It depends on the state
| Your Mac is | Download keeps going? |
|---|---|
| Locked, still awake | Yes, until the timers put it to sleep |
| Screen off, "Prevent automatic sleeping" on, plugged in | Yes |
| Screen off, that setting off | Only until the system sleeps, soon after the screen |
| MacBook with the lid closed, no external display | No, closing the lid sleeps it |
| MacBook lid closed with power, external display and keyboard or mouse | Yes, while it stays awake |
| Asleep | No |
Locking is the easy one to mix up. A locked Mac keeps downloading, and the difference is laid out in Mac sleep vs lock screen.
The Power Nap exception
Apple says that on a Mac plugged into a power adapter, Power Nap can do "activities such as downloading software updates and performing Time Machine backups" during sleep. Two limits apply. Apple's examples are system work, not a file you started in your browser. And Apple notes this Power Nap option is only available on Intel-based Mac computers.
On battery, Apple lists only checking Mail and updating Calendar and other iCloud events. Backups have their own answer in does Time Machine back up while your Mac sleeps.
How to let a big download finish
Keep the Mac awake until the download is done. Stretching your sleep timers works, but they stay stretched for every other day too. Shake It On moves the cursor slightly so the Mac stays awake, only while the rules you set hold:
- Open Settings and go to Only Shake If.
- Turn on App is open matching and type the name of the app doing the download. Wi-Fi is connected is the broader option.
- Under Paused When, turn on On battery so a forgotten download can't run a MacBook flat.
- If you plan to lock the Mac and walk away, turn off Display is off or locked in the same section. It's on by default, and it hands the Mac back to its normal timers as soon as you lock.
Shake It On doesn't watch the download itself, so it can't tell when the file is done. It follows those conditions: quit the app or unplug and the Mac goes back to sleeping normally. In the current version (1.0.7) the screen stays on while it keeps the Mac awake. More setups are in keep your Mac awake during downloads.