Slow wake up time on osx

My macbook pro has been slow on waking up. I noticed because it sometimes “hibernated” (borrowed from window). After a little googling I found out that the time-to-hibernate time on my system was only 70 mins. So if I close my lid for longer than 70 mins, the deep sleep will occur.

To verify, issue the following command on a terminal.

pmset -g

You will see something like the following

Active Profiles:
Battery Power		-1
AC Power		-1*
Currently in use:
 standbydelay         4200
 standby              0
 womp                 1
 halfdim              1
 hibernatefile        /var/vm/sleepimage
 gpuswitch            2
 sms                  1
 networkoversleep     0
 disksleep            10
 sleep                90
 autopoweroffdelay    14400
 hibernatemode        3
 autopoweroff         1
 ttyskeepawake        1
 displaysleep         60
 acwake               0
 lidwake              1

Notice standbydelay is 4200. That’s 4200 seconds, so 70 mins.

To increase that to, say 1 day, which is 60*60*24 = 86400 seconds, issue the following command.

sudo pmset -a standbydelay 86400

Then run pmset -g to confirm standbydelay is indeed set to 86400.

Then you are done! I bet most of the time you open up your laptop at least once a day, so 86400 is probably a good value to set. But feel free to set it to any value you see fit.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s