News for hackers. Stuff that matters.
Re:Ask HN: What do you want to tell Microsoft? by cgomez on Friday September 17, 2010 @03:47PM (#1702567)
Yep, Apple laptops keep the RAM powered up until the battery level dips down to 20%, then it writes the contents to disk when the machine sleeps. It's called Safesleep and you can tweak this if you'd like by using a utility called Smartsleep.
Re:Ask HN: What do you want to tell Microsoft? by Yaggo on Monday September 20, 2010 @08:09AM (#1708490)
Actually, according to the following sources, the content is written to disk _before_ entering sleep. This can be done very quickly because most of the data is already in swap file.

http://support.apple.com/kb/HT1757?viewlocale=en_US http://www.macworld.com/article/53460/2006/10/safesleep.html http://moishelettvin.blogspot.com/2006/11/windows-shutdown-c...