wturrell

Q: Mini hibernates despite pmset saying it shouldn't

Hello. My new (late 2012) Mac Mini is great, but I've noticed that after putting it to sleep, an hour later it wakes again (although not the displays) to write everything in memory to disk.  I'd rather turn this off (it seems a bit pointless given I have 16GB RAM and it just creates a ~20 or so pause when I start the Mini up again whilst it reads everything back off the disk.  Also if I did ever have a power cut, there'd be just as much chance of it happening whilst I was actually using the computer as when it was sleeping, so...)

 

Anyway, the output below says 'hibernatemode' is set to zero, which from everything I've read suggests it shouldn't be using it.

 

wt-macmini:~ wt$ pmset -g

Active Profiles:

AC Power                    -1*

Currently in use:

standby              1

powerbutton          1

womp                 0

autorestart          0

hibernatefile        /var/vm/sleepimage

networkoversleep     0

disksleep            10

sleep                180

autopoweroffdelay    14400

hibernatemode        0

autopoweroff         1

ttyskeepawake        1

displaysleep         30

standbydelay         4200

 

Any suggestions?

 

Thanks,

William

Posted on Nov 8, 2012 12:43 AM

Close

Q: Mini hibernates despite pmset saying it shouldn't

  • All replies
  • Helpful answers

  • by wturrell,

    wturrell wturrell Nov 8, 2012 1:00 AM in response to wturrell
    Level 1 (0 points)
    Nov 8, 2012 1:00 AM in response to wturrell

    Update - on further reading of http://www.manpagez.com/man/1/pmset/ it seems that 'standby' is an overall trigger for using hibernation, so I'm trying with it set to 0 instead...

  • by knight011,

    knight011 knight011 Nov 8, 2012 1:47 AM in response to wturrell
    Level 1 (5 points)
    Nov 8, 2012 1:47 AM in response to wturrell

    This was happening to my, after alot of searching I found out it's the "AutoPowerOff = 1" and AutoPowerOffDelay = 14400" thats causing it to switch off/go into hibernation mode.

     

    Use this command in terminal to turn it off:

     

    sudo pmset -a autopoweroff 0

     

    This is what my pmset -g is set to.

     

    Active Profiles:

    AC Power        -1*

    Currently in use:

    standby              0

    powerbutton          1

    womp                 1

    autorestart          0

    hibernatefile        /var/vm/sleepimage

    networkoversleep     0

    disksleep            0

    sleep                15

    autopoweroffdelay    14400

    hibernatemode        0

    autopoweroff         0

    ttyskeepawake        1

    displaysleep         15

    standbydelay         4200

  • by Frank D'Anna,

    Frank D'Anna Frank D'Anna Dec 14, 2012 7:10 AM in response to knight011
    Level 1 (95 points)
    Dec 14, 2012 7:10 AM in response to knight011

    Autopoweroff didn't make a difference for me. I'm going to try standby next.

  • by milanprokop,

    milanprokop milanprokop Apr 2, 2013 1:51 PM in response to Frank D'Anna
    Level 1 (3 points)
    Apr 2, 2013 1:51 PM in response to Frank D'Anna

    Unfortunately autopoweroff, standby, autopoweroffdelay nor standbydelay didn't make a difference for me, the computer always goes to Safe Sleep over night. I'm kinda frustrated form it cause whatever I try it's always the same

     

    Furthermore they say "standby only works if hibernation is turned on to hibernatemode 3 or 25." and "standby causes kernel power management to automatically hibernate a machine after it has slept for a specified time period." So how come that my iMac hibernates when I have hibernate mode set to 0 and the "specified time period" is set to 24 hours???