Slow Wake for MacBook Pro With Retina Display

My main machine is a MacBook Pro with a Retina Display.  One thing that has annoyed me is that when my Mac sleeps, and I then open the lid to start using it again, is that it can take about 10 seconds before it come back to life properly.

What is actually happening is that these new MacBook Pro’s (and recent MacBook Air’s) have a new powersaving mode which Apple calls standby. Standby mode kicks in after the laptop has been in normal sleep mode for about an hour. When that happens, the contents of RAM are written to the flash hard drive and the RAM is powered down to further extend battery life. In theory, the laptop will last up to 30 days in standby mode. The trade off is that, when waking up, it takes a long time to reload 8 GB of RAM from the hard drive.

Note that if the laptop sleeps for less than an hour, then it will wake up nearly instantly. I’ve seen this myself in cases where I close the lid briefly while walking between meetings. Fortunately the standby times are configurable:

If you launch a terminal session, and then run:

pmset -g

You will se that  the standby delay is set to 4200 seconds.

Active Profiles:
Battery Power -1*
AC Power -1
Currently in use:
standbydelay 4200
standby 1
halfdim 1
hibernatefile /var/vm/sleepimage
darkwakes 0
gpuswitch 2
disksleep 10
sleep 10 (sleep prevented by 1027)
autopoweroffdelay 14400
hibernatemode 3
autopoweroff 1
ttyskeepawake 1
displaysleep 5
acwake 0
lidwake 1

To resolve this issues I have set this to 86400 seconds (24 hours) by running the following in a terminal windows:

sudo pmset -a standbydelay 86400