pmset

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

References

1.
Oakley, H. Power Management in detail: Using pmset. at https://eclecticlight.co/2017/01/20/power-management-in-detail-using-pmset/ (2017).
2.

Links to this note