I purchased my macbook back in 2011, and this problem just started. When I unplug and close my computer to put it in my backpack for school, it does not sleep. I take it out and its very hot and has lost a large amount of battery. My energy saver controls say it should sleep after 10 minutes of inactivity, but either way it should sleep when I close the lid. I don't have any sharing options checked or any running apps that should be keeping it awake so I have no idea what could be causing this

  • 2
    Please add the OS X version in your original question.
    – dan
    Aug 23, 2013 at 21:41
  • it's a bug of El capitan i think
    – jcmaxuser
    Dec 28, 2015 at 12:40
  • If anyone has the same problem, please tell on which version of MacOS.
    – dan
    Jan 14, 2018 at 10:58

3 Answers 3

  1. Have a look at this answer which indicates the commands to help you analyse if any process is blocking the sleep of your MacBook.

  2. If nothing is blocking it, then look at :

    egrep -i 'sleep|wake' /var/log/kernel.log

    and look if you see a sleep line at the time you close the lid. If you don't, look at any information message in:


    around the instant this event should have happened.

  3. Create a test account, close your session, and open one with this test account. Is your MacBook entering sleep when you close the lid?

  • I couldn't identify anything keeping it from sleeping, but now I notice that even if I hit the power button and click sleep on the window that pops up, it won't go to sleep. I'm thinking that I am going to have to reinstall OSX
    – Brice
    Aug 24, 2013 at 0:35
  • What does happen with a test account?
    – dan
    Aug 26, 2013 at 7:37
  • → grgarside: thank you for cleaning my presentation ;).
    – dan
    Jan 7, 2014 at 7:57

Fortunately, you can reinstall OSX without using a disk and its fairly quick. This fixed my issue

  • 2
    And after this reinstall of OSX, what will avoid you to get this problem again?
    – dan
    Aug 26, 2013 at 7:36

I have a MacBook Pro 13" A1278 (Mid-2010). I had the same problem. When I closed the lid, the screen remained on wouldn't shut off but I could manually put it to sleep from the Apple menu. Now keep in mind this all happened with no battery in the laptop. I just put in a new battery tonight and voila! Sleep mode works again!! I troubleshooted for hours. No more worrying about the power cable falling out.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .