MacOS – Macbook Air shutting off on lid close

macospower-managementpower-napsleep-wakesystem-prefs

Every time I close the lid of my Macbook Air, it turns off and I have to manually start it later when I open the lid again.

It also doesn't persist some of my settings such as volume level, desktop layouts (order of screens and which applications are full screened), and command line PATH changes such nvm's currently used node version.

Kind of a "you don't know what you don't know" situation. I'm not sure what to terms to use to search for this kind of behavior.

Edit: Adding some extra information as requested. I am on the following:

  • 13-inch Macbook Air from Early 2014
  • Mac OS X El Capitan (10.11.6)

In System Preferences > Energy Saver > Battery, I have "Put hard disks to sleep when possible" checked and "Enable Power Nap while on battery power" unchecked.

I've looked through other potentially relevant areas of System Preferences and haven't found anything that works. I've done some Googling, but haven't found anything that is related and I'm unsure of what other terms I could use to search.

Edit 2: The issue seems to have been resolved. There's nothing in particular that I tried that worked, but it's resolved now. Thanks for reading and responding!

Best Answer

Interestingly enough, I recently swapped my 17" Macbook for a 13" Retina. Every time my 17" would run out of battery (while in sleep mode), my computer would go into hibernation. Recently, it has been shutting down completely.

After doing some digging, I found out that because I use an app to prevent my SD card from being ejected (I'm using it as additional storage), it's causing issues with the deep sleep option of macOS.

If the issue comes back, take a look at these links that may offer insights into this.

More on macOS hibernation: Do MacBooks have a true "Hibernate" option?

A handy (and free) hibernation widget/app: Can Macs be put in hibernation voluntarily?