You might like to enable Mac hibernation to preserve your MacBook battery. If your MacBook just goes to sleep when you close the lid, it will continue to drain the battery, but if it hibernates it will not drain it at all. This tip will also work on MacBook Pro and MacBook Air.
When a computer hibernates, the states of its various processes are cached onto the hard disk. The processes carry on from where they left-off when the computer wakes because the cache is read back into memory from the hard disk.
Enable Mac hibernation
To enable Mac hibernation you need to use the Terminal app which is already preloaded on your Mac. You can boss your Mac around using written commands with Terminal, which is in the Utilities folder in your Applications folder. Look for this icon:
To enable Mac hibernation copy this text and paste it into Terminal, and press the return key:
sudo pmset -a hibernatemode 25 standby 0 autopoweroff 0
It will ask for your password, which you must type in, but you won’t see what you type. Press return to enter the password when you have finished typing it. If you get the password wrong it will ask you to try again. Once you have put in the password there is no fanfare, it just returns you to the “prompt” showing your username, and waiting for anything else you want to tell your Mac to do.
If you decide hibernate is no help to you and your Mac, you can return it to its previous state using a similar command on a desktop Mac:
sudo pmset -a hibernatemode 0 standby 0 autopoweroff 0
Or this command on a laptop Mac:
sudo pmset -a hibernatemode 3 standby 0 autopoweroff 0
Remember to quit Terminal when you have finished.