I want to shutdown not sleep, when closing the lid.

Discussion in 'MacBook Pro' started by Kardashian, Feb 2, 2009.

  1. Kardashian macrumors 68020

    Kardashian

    Joined:
    Sep 4, 2005
    Location:
    Britain.
  2. infernohellion macrumors 6502

    infernohellion

    Joined:
    May 14, 2006
    Location:
    København
  3. J the Ninja macrumors 68000

    Joined:
    Jul 14, 2008
    #3
    You can force it to just hibernate instead of safe sleep, though, if you are trying to save battery.
     
  4. Kardashian thread starter macrumors 68020

    Kardashian

    Joined:
    Sep 4, 2005
    Location:
    Britain.
    #4
    How do I do this?
     
  5. J the Ninja macrumors 68000

    Joined:
    Jul 14, 2008
    #5
    Type this into the terminal and hit enter:

    sudo pmset -a hibernatemode 1



    EDIT NOTE: This affects all instances of sleep, not just closing the lid. I don't think there is any way to specify a setting just for that. If you want to undo it, repeat the command, but give "hibernatemode" the value of "3". Also, a value of "0" makes it suspend directly to RAM and fall asleep instantly, without bothering to write the safe sleep file.
     

Share This Page