Skip navigation

MacBook Air shuts down when I close it

958 Views 10 Replies Latest reply: Mar 13, 2013 11:36 AM by Aroara RSS
Aroara Calculating status...
Currently Being Moderated
Mar 12, 2013 10:21 AM

Whenever I close my MacBook, it shuts down instead of going into sleep mode. At first, I thought it was a problem with my MacBook not waking up from sleep at all, but if I use the Sleep function from the drop down menu, it will wake up normally.


I've looked around the community to see if anyone had a similar issue, but most people say they need to reboot it to start it up again, which isn't my case at all. It just does a typical shut down. How do I make it go to sleep instead of shutting down when I close it?

MacBook Air (13-inch Late 2010), OS X Mountain Lion (10.8.2)
  • Linc Davis Level 10 Level 10 (107,610 points)
    Currently Being Moderated
    Mar 12, 2013 5:20 PM (in response to Aroara)

    Triple-click anywhere in the line below to select it:


    bzgrep 'Previous Shutdown' /var/log/system.log*


    Copy the selected text to the Clipboard (command-C).


    Launch the Terminal application in any of the following ways:


    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.


    Paste into the Terminal window (command-V).


    Post any lines of output that appear below what you entered — the text, please, not a screenshot.

  • Linc Davis Level 10 Level 10 (107,610 points)
    Currently Being Moderated
    Mar 13, 2013 9:52 AM (in response to Aroara)

    Make a "Genius" appointment at an Apple Store to have the machine tested.

    Back up all data on the internal drive(s) before you hand over your computer to anyone. If privacy is a concern, erase the data partition(s) with the option to write zeros* (do this only if you have at least two complete, independent backups, and you know how to restore to an empty drive from any of them.) Don’t erase the recovery partition, if present.

    Keeping your confidential data secure during hardware repair

    *An SSD doesn't need to be zeroed.

  • Linc Davis Level 10 Level 10 (107,610 points)
    Currently Being Moderated
    Mar 13, 2013 10:42 AM (in response to Aroara)

    When did you get it back?

  • Linc Davis Level 10 Level 10 (107,610 points)
    Currently Being Moderated
    Mar 13, 2013 11:08 AM (in response to Aroara)

    Since then you've logged four abnormal shutdowns with unknown causes, and no normal ones. Before the repairs, you had logged one abnormal shutdown with an unknown cause and two apparently due to low power.


    The reason codes are not publicly documented, but a zero or negative number means that the shutdown wasn't initiated by user action. From what I've been able to gather, these events are rarely, if ever, caused by software errors. They may be caused by corrupt SMC data, but you've ruled that out. If you wish, you can reinstall OS X, but I wouldn't expect any change from doing that. You can also reset the NVRAM, but again, I wouldn't expect any change.


    About NVRAM and PRAM


    That leaves hardware. The possibilites are that one of the parts that wasn't replaced is causing the problem, or that one of the replacement parts is faulty (which is not unheard of), or that the installation wasn't done right. I guess it's remotely possible that transients in your electricity supply could be responsible, but that would make sense only if the shutdowns happen exclusively when the AC adapter is connected.


    That's about all I can tell you.


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.