pmset is a command line utility for managing power settings in macOS. This is a good introduction1.

Listing current power management settings

pmset -g

Hibernate Modes

the hibernatemode setting can be configured with 3 typical integer values2:

value description
0 no backup of memory to disk, state will be lost on powerloss (desktop setting)
3 safe sleep (default for laptops) - copy memory to disk, keep memory powered
25 hibernate - store memory to disk, do not keep memory powered


Oakley, H. Power Management in detail: Using pmset. at (2017).

Links to this note