Apple Wiki
Advertisement
Apple Wiki

Safe sleep, sometimes referred to as deep sleep, is a feature introduced in Mac OS X 10.4.3 to back up the user's work on battery-powered portable Macs released since late 2005. The feature supposedly existed since Mac OS X 10.3 for systems built since September 2003, but it was not enabled by default in models with PowerPC processors; it does not support G5 processors.[1]

Description[]

In models that support the safe sleep feature, every time the Mac goes to sleep, the current state of the computer is saved to the drive, including all open applications and documents. Free drive space must match the amount of RAM being used. If the battery is depleted or replaced (for laptops) or sudden loss of power (for desktop computers) while the computer is in safe sleep, the next time it is turned on, instead of re-booting, the previous state of the computer will be loaded from the sleepimage file; a low-resolution grayscale screenshot of the desktop is displayed with a progress bar until this process has completed. It is also possible to enable and disable this mode manually through Terminal.[2][3]

MacBooks with solid-state drive (SSD) storage utilize a similar feature known as standby mode in which the contents of RAM are written to the non-volatile SSD, and then the RAM is powered down after an hour of sleep. Models released since 2013 do this after 3 hours of sleep. This enables a MacBook on standby to retain its battery charge for much longer — as much as 30 days.[4]

Windows equivalents[]

A similar feature to "safe sleep" in Windows is called "hybrid sleep", which is enabled primarily for desktop PCs and disabled by default on laptop PCs at the request of PC manufacturers due concerns of the vulnerability of portable hard disk drives.[5][6] Recent Windows laptops instead normally keep RAM powered on in sleep mode to reduce I/O burden at the cost of battery life.[7] Older laptop PCs, or laptop PCs in lower-power situations, will employ another feature known as "hibernation", which is more similar to the "standby mode" used by MacBooks, though with a performance hit when an SSD is not available.[2]

References[]

  1. Low End Mac’s Safe Sleep FAQ by Daniel Knight, Low End Mac. 2013-11-25.
  2. 2.0 2.1 How to Safe Sleep (Hibernate) Your Mac by Andrew Escobar, OS X Wiki. 2005-11-15.
  3. Troubleshooting a corrupted sleepimage file, The X Lab. Accessed 2021-07-05.
  4. How to Choose a Sleep Mode for Your Mac by Ruslana Lishchuk, MacKeeper. 2021-02-25.
  5. How to enable "Safe Sleep" mode on a Windows PC by unforgettableidSupportsMonica, Stack Exchange. 2022-09-20.
  6. Why is hybrid sleep off by default on laptops? (and how do I turn it on?) by Raymond Chen. Microsoft. 2011-05-10.
  7. Shut down, sleep, or hibernate your PC, Microsoft Support. Accessed 2022-09-20.

External links[]

Advertisement