By itself, the hibernate mode on a Macbook enabled by default, as it is only very old models, but your with the big share of probability in this list are not included. When you reach zero percent Macbook goes into hibernation mode - the system state is stored on disk. When you connect to the network you will not lose data and the system boots in the same condition as it was when you shut down for lack of charge.
You can of course play around with the terminal
or as you already said yourself - SmartSleep.