10 Replies Latest reply: Feb 4, 2013 8:59 AM by MacDenmark
MacDenmark Level 1 (0 points)

Can anyone help me put ML to sleep when i close the display lid? I've benn hunting google and ended up with searchterm <mac lion sleep "close lid" -external -wake -battery -airplay> which gave me nothing.


What I need is: wifi off, disk activity off, roaming network connections off, geo Location off, internal microphone off ...and so on. You are probably thinking "Why not press power button and click Sleep or Shut Down?!?"


Well, first of all i'm stubborn, secondly I want to be able control, and monitor, my computers activity/network communikations, and thirdly force of habit, I close lid and walk away.


Is it even possible in Mountain Lion? Close lid = actual sleep?

MacBook Pro (17-inch Mid 2009), OS X Mountain Lion (10.8.2)
  • leroydouglas Level 6 (17,797 points)

    What do you have set in >System Preferences>Energy Saver

  • Kappy Level 10 (266,026 points)

    You can download it on your virtual machine. You could download it on your PC since it will likely come as a disc image which you can transfer to a Mac as-is. You can also buy Photoshop Elements for the Mac. You can download the Open Source GIMP which is very much like Photoshop. You will find there are other excellent choices as well for the Mac. Most of them will allow trial downloads so you can check them out before spending money on them. Look for your options at MacUpdate or CNET Downloads .

  • MacDenmark Level 1 (0 points)

    I have no sleep option leroydouglas - don't you have ML?

  • MacDenmark Level 1 (0 points)

    Ok - i'm really not interested Kappy.

  • Kappy Level 10 (266,026 points)

    My apologies. Wrong forum.

  • MacDenmark Level 1 (0 points)

    lol. I thought ***? He must be institutionalized... That's ok

  • leroydouglas Level 6 (17,797 points)

    In terminal you can see what is keeping your Mac from sleeping when you close the lid


    pmset -g assertions


    Usually this has things to do with Internet, printer sharing or the secondary external monitor your laptop connects to.




  • MacDenmark Level 1 (0 points)

    Thank you for you answers leroydouglas.


    But, I want my mac to prevent those services from running when closing the lid - as in "Close lid" equals "Power button/Sleep" action.


    Read somewhere that Apple has experienced problems/errors with some applications after "waking up" - just can't figure out the logic in why sleep function " > Sleep" should be any different from "Close Lid > Sleep" ?


    It's not like i don't have any options:

    • Command-Option-Media Eject (⏏)
    •  > Sleep
    • Powerbutton > Sleep


    Regarding the Lid,  I've reached a dead end I guess.

  • leroydouglas Level 6 (17,797 points)

    You can put your Macbook on deep sleep (or hibernate mode) instead of putting it in sleep mode when the lid is closed.


    Even in sleep mode, the memory is running in the background to perform some basic operations.


    But deep sleep would put your MacBooks into a complete shutdown mode and resume when you turn it back on.


    Terminal copy and paste:


    sudo pmset -a hibernatemode 25


    This would prompt you to enter your password.


    This would enable the Deep Sleep mode in MacBooks.


    Press the Power button each time you want to wake your Mac from deep sleep.


    The default is:  pmset -a hibernatemode 3

  • MacDenmark Level 1 (0 points)

    What does 25 do please?


    sudo pmset -a hibernatemode 0

    always regular sleep (disable safe-sleep)


    sudo pmset -a hibernatemode 1

    always safe-sleep (disable regular sleep)


    sudo pmset -a hibernatemode 3

    regular sleep first, safe-sleep if the battery is very low on power or is unplugged


    sudo pmset -a hibernatemode 5

    always safe-sleep with secure virtual memory


    sudo pmset -a hibernatemode 7

    regular sleep first then safe-sleep with secure virtual memory


    sudo pmset -a hibernatemode 25




    Found a pretty good description at this page: