June 25, 2026

Change Mac power management from sleep to hibernation

In case you don't use a Mac laptop regularly, changing the power management from regular sleep to hibernation helps preserving battery life. To do this, run the command below:
> sudo pmset -a hibernatemode 25

To verify the change, you can run the following command and look for the value of "hibernatemode":
> pmset -g

The downside of hibernation is that it takes longer for the Mac laptop to wake, since system is restored from a disk image.

Reference: https://www.dssw.co.uk/reference/pmset/