PMSET(1)

NAME
pmset - modify power management settings

SYNOPSIS
pmset [-a -b -c] [dim minutes] [spindown minutes] [sleep minutes] [womp 1/0] [boot]

DESCRIPTION
pmset changes power management settings such as idle sleep timing and wake on LAN. The -a, -b, -c flags determine whether the settings apply to battery (-b), charger (-c), or all (-a). womp means Wake on Magic Packet. Use a minutes argument of 0 to set the idle time to never. Must be run as root.

The boot argument tells Power Management that system bootup is complete. Loginwindow handles this on a normal Mac OS X system.

EXAMPLES
pmset -b dim 5 -c dim 10

pmset -a dim 10 spin 10 sleep 30 womp 1

FILES
All changes made through pmset are saved in a persistent preferences file (per-system, not per-user) at /var/db/SystemConfiguration/com.apple.PowerManagement.xml