Power Settings in MacOS (not available in the GUI)

There's multple key power management settings on MacOS that are either no longer in the System GUI or based on other features being enabled etc..

A couple of key settings that you might care about:

  • Power Nap - Intermittent awake feature that connects to wifi and allows apps to pull latest i.e. Messages etc.
  • Keep Alives - Pings out to Apple to support FindMyMac
  • Keep Awake - allows open remote tty sessions to keep the computer from sleeping

You can view the available "current" options using pmset -g

To see your full On Battery and On Power settings, use pmset -g custom

For instance, to disable keep alives for both battery and ac power modes:

sudo pmset -a tcpkeepalive 0

A few others:

sudo pmset -a ttyskeepawake 0

sudo pmset -a powernap 0

Here's a breakdown of pmset flags to use:

Breakdown of pmset Flags:

-b → Battery Power Settings

-c → AC Power Settings

-u → UPS Power Settings (if applicable)

-a → Applies to all power sources (Battery, AC, and UPS)

Finally, to see what's preventing sleep from activating:

pmset -g assertions

More from Mario's Notes
All posts