Unable to disable hibernatemode since update 2.0

I did the update 2.0 today and I noticed that hibernate mode has been set to enabled. So I deleted the /private/var/vm/sleepimage and disable hibernatemode like this :


sudo pmset -a hibernatemode 0


But the problem is that hibernate mode is automatically set to 3 when I shutdown my macbook air or I reboot it. Anyone has the same issue ?

MacBook Air (13-inch, Mid 2012), OS X Mountain Lion (10.8.2)

Posted on Nov 9, 2012 3:51 AM

Reply
22 replies

Oct 21, 2013 11:14 AM in response to garbor

I found that after upgrading to 10.8.5, my Macbook Pro Retina started to take 20 seconds or so to go to sleep. Like this thread explains, it seems to be because the hibernateflag is now ignored by the OS .. I tried both suggestions here (chflags and /dev/null), and those both prevent the sleepimage from being created, but going to sleep still takes just as long. Very frustrating!

Oct 22, 2013 1:44 AM in response to n808n808

I solved my problem .. I found this article "Addressing slow sleep times in OS X"

http://reviews.cnet.com/8301-13727_7-20077964-263/addressing-slow-sleep-times-in -os-x/

I tested sleep after each step, and it went back to normal after resetting PRAM with Option-Cmd-P-R during boot chime. I will never know what caused it or exactly why PRAM needed resetting.


[I had already reset the SMC after the 10.8.5 update as the system kept freezing for seconds at a time right after the update. And I was under the impression Apple OS X computers were more stable than Windows boxes ... This is my first Apple computer after way too many years with Windows. I will reset both SMC and NVRAM after all system updates from now on]

Feb 7, 2015 9:01 AM in response to Casio Speedwagon

This is what's happening now when I put the last two commands in Terminal:


Stephens-MacBook-Air:~ stephen$ touch /private/var/vm/sleepimage

touch: /private/var/vm/sleepimage: Permission denied

Stephens-MacBook-Air:~ stephen$ chflags -uchg /private/var/vm/sleepimage

chflags: illegal option -- u

usage: chflags [-fhv] [-R [-H | -L | -P]] flags file ...

Stephens-MacBook-Air:~ stephen$

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Unable to disable hibernatemode since update 2.0

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.