In Windows, there are two modes for O.S. beside the traditional turn on and turn off: Suspended and Hibernate. The main difference between them is for the first one, the memory ram is still on and consuming battery in order to maintain it on, and in the second mode, the content of the memory ram is saved in the hard disk, which allow the computer starts faster than a normal turn on and without consuming any battery while it is not used.
The hibernate option is also present in the Mac OS X but only accessible by the O.S.. This mode can be activated in such way when the user close the laptop, it hibernate instead of suspend, saving the battery.
To activate it, follow the steps below:
1. Open the terminal in Applications -> Utilities -> Terminal
2. Type the follow command:
sudo pmset -a hibernatemode 1
This requiere you to enter the password of super user. If you don't have it, you might check it here:
If you want to come back to the default behavior, open the terminal and type the follow:
sudo pmset -a hibernatemode 0