How to read pmset -g on a Mac

By Matyas Rathonyi. Published November 23, 2026. Guides

pmset -g prints the power settings your Mac is using right now without sudo: sleep and displaysleep are idle timers in minutes where 0 means never, the names in parentheses are processes holding sleep off, and SleepDisabled 1 means system sleep is switched off for the whole Mac. If you are checking pmset because you want a closed MacBook to keep running, Clamshell for Mac keeps a closed Apple Silicon MacBook awake on battery or power from the menu bar, with no admin password, no sudo, and nothing to undo, for $9.99 once after a 7-day free trial.

Written by Matyas Rathonyi, the maker of Clamshell for Mac.

A terminal runs pmset -g. The output shows SleepDisabled 0, then sleep 1 with sleep prevented by coreaudiod and powerd, then displaysleep 0. $ pmset -g SleepDisabled 0 sleep 1 (sleep prevented by coreaudiod, powerd) displaysleep 0
One switch, two timers, a list of holders.SleepDisabled is one setting for the whole Mac, the timers count minutes, and the names in parentheses are processes holding sleep off. (Lines from the MacBook Pro output below.)

What pmset -g shows

pmset is Apple's built-in Terminal tool for reading and modifying macOS power management settings. Running pmset -g is read-only and requires no sudo.

Per Apple's pmset(1) manual, -g with no argument displays the settings currently in use. Any change saved through pmset is written to /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist, the same file System Settings updates. Processes can also override saved settings temporarily with power assertions, which pmset -g lists in parentheses next to sleep or displaysleep.

Example pmset -g output

Here is real pmset -g output from an Apple Silicon MacBook Pro (MacBookPro18,2, macOS 27.2, on AC power). Values such as displaysleep 0 reflect that Mac's saved settings rather than macOS defaults:

System-wide power settings:
 SleepDisabled		0
Currently in use:
 standby              1
 Sleep On Power Button 1
 hibernatefile        /var/vm/sleepimage
 powernap             1
 networkoversleep     0
 disksleep            10
 sleep                1 (sleep prevented by coreaudiod, powerd)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         0
 tcpkeepalive         1
 powermode            0
 womp                 1

Every line of pmset -g explained

This table covers every line printed on a MacBook Pro and a desktop iMac, checked against man pmset:

LineMeaningIn man pmset
SleepDisabledSystem sleep off for whole Mac (1)No
standbyHibernates Mac after timed sleepYes
Sleep On Power ButtonNot documented by AppleNo
hibernatefilePath to hibernation image fileYes
powernapPower Nap on (1) or off (0)Yes
networkoversleepShared network services during sleepYes (changing it unsupported)
disksleepDisk spindown timer, minutes (0 = off)Yes
sleepSystem sleep timer, minutes (0 = never)Yes
hibernatemode0 desktop, 3 portable, 25 hibernateYes
ttyskeepawakeBlocks idle sleep during active ttyYes
displaysleepDisplay sleep timer, minutes (0 = never)Yes
tcpkeepaliveNot documented by AppleNo
powermode0 Automatic, 1 Low, 2 High PowerNo (Energy Mode)
wompWake for network access (0 or 1)Yes
autorestartRestart after power loss (0 or 1)Yes
autorestartatconnectRestart on power connect (0 or 1)Yes
SleepServicesNot documented by AppleNo

Key notes on specific lines:

What "sleep prevented by" means

When a process holds a power assertion, pmset -g prints its name in parentheses after sleep or displaysleep, such as sleep 1 (sleep prevented by coreaudiod, powerd).

To inspect every active assertion and its owning process ID, run:

pmset -g assertions

Apple's IOPMLib.h SDK header documents key assertion types including PreventUserIdleSystemSleep (blocks idle sleep, while the header notes the system may still sleep for lid close, Apple menu, or low battery), PreventUserIdleDisplaySleep (keeps the display on, which also blocks idle system sleep), PreventDiskIdle, and NetworkClientActive (keeps the Mac awake on AC power). For any other assertion name, read the owning process and description string. If your Mac refuses to sleep and you want a check order to clear the holder, see Mac won't sleep or Sleep is greyed out.

Two layers. Saved settings, such as the sleep timer and SleepDisabled, sit at the bottom. Above them, process assertions such as powerd and caffeinate can hold sleep off while they run. Assertions powerd, caffeinate, apps Saved settings sleep, displaysleep, SleepDisabled
Settings, then holders. The manual describes saved settings in a preferences file, and processes that can override them with assertions while they run; pmset -g shows both.

pmset -g options: assertions, batt, therm, custom, and more

All of these commands are read-only and run without sudo:

pmset -g
pmset -g custom
pmset -g assertions
pmset -g batt
pmset -g therm
pmset -g | grep SleepDisabled

Here is what each common -g option prints:

CommandWhat it showsExample output
pmset -g / pmset -g liveActive settings plus SleepDisabledBoth print the same on an iMac
pmset -g customSaved settings per power sourceAn AC Power: section, no SleepDisabled
pmset -g capPower features supported by this MacSupported keys for AC power
pmset -g batt (or ps)Power source, charge, time remainingNow drawing from 'Battery Power' or Now drawing from 'AC Power'
pmset -g thermThermal warnings affecting CPU speed"No thermal warning level has been recorded"
pmset -g assertionsActive power assertions by processCounts, then each process with PID
pmset -g sysloadUser, battery, and thermal load levelscombined level = OK, thermal level = Great
pmset -g acAttached power adapter wattage and detailsAdapter details, on an iMac too
pmset -g statsSleep, dark wake, user wake countsCounts since boot
pmset -g systemstateCurrent power state and capabilitiesCPU Graphics Audio Network
pmset -g schedScheduled wake, sleep, startup, shutdownEmpty when nothing is scheduled

Three notes on the options: man pmset notes -g therm is not available on all platforms (when no warnings are recorded, it prints "No thermal warning level has been recorded", "No performance warning level has been recorded" and "No CPU power status has been recorded"). Although man pmset describes -g ac as MacBook-only, it prints adapter wattage on desktops too. man pmset also lists pmset -g log for sleep/wake history (covered in MacBook battery drains overnight while asleep), pmset -g everything, and streaming options such as pslog, assertionslog, and thermlog.

Where pmset stops: keeping a closed MacBook awake

Reading settings with pmset -g is free and needs no sudo, but man pmset states: "pmset must be run as root in order to modify any settings." Any change you write applies to battery (-b), charger (-c), UPS (-u), or all sources (-a), and stays saved in the preferences file until you change it back.

If you are using sudo pmset -a disablesleep 1 to keep a closed MacBook running, that free command asks a lot of you:

Why pay $9.99 once for Clamshell when pmset is built in? pmset asks for sudo, requires manual cleanup after every session, and leaves heat and battery protection to you.

Test it on your Mac before paying anything: Download free trial (free for 7 days, no card required; $9.99 once for 1 Mac or $19.99 for up to 3 Macs, with a 14-day money-back guarantee). To build standard pmset or caffeinate commands, see the pmset and caffeinate command builder.

When pmset is the better pick

Frequently asked questions

Does pmset -g need sudo?

No. Reading current settings, assertions, battery status, or thermal state with pmset -g needs no sudo. Only changing settings with pmset requires root.

What does SleepDisabled 1 mean in pmset -g?

SleepDisabled 1 means system sleep is turned off for the whole Mac, set by sudo pmset -a disablesleep 1. Run sudo pmset -a disablesleep 0 to restore normal sleep (see how to undo sudo pmset disablesleep 1), or switch to Clamshell if you want closed-lid awake control with no sudo and nothing to undo.

What does sleep 0 mean in pmset -g?

In man pmset, sleep is the system idle sleep timer in minutes, and 0 disables automatic idle sleep. It does not keep a MacBook awake when you close the lid on its own.

Why does pmset -g say sleep prevented by powerd?

powerd holds a PreventUserIdleSystemSleep assertion named "Powerd - Prevent sleep while display is on", which appears in pmset -g whenever the display is awake. It is normal macOS behavior and not a stuck app.

What does pmset -g assertions show?

Apple's manual calls it a summary of power assertions. It prints system-wide counts per assertion type, then lists every process holding an assertion with its PID, held time, type, and description string so you can see what is keeping your Mac awake.

Why pay $9.99 for Clamshell when sudo pmset disablesleep 1 is free?

sudo pmset -a disablesleep 1 needs an admin password, stays active until you manually undo it, and adds no low-battery or heat cut-off for a closed lid. Clamshell costs $9.99 once with no subscription so you get closed-lid awake control on battery or power with no admin password, an always-on heat cut-off, a 20% battery floor, and normal lid sleep back when you disarm or quit, backed by a 7-day free trial.

Related guides

Try Clamshell free for 7 days

Keep your Apple Silicon MacBook running with the lid closed, on battery or power, with no admin password, an always-on heat cut-off, and a 20% battery floor. Normal lid sleep returns when you disarm or quit.

Download free trial $9.99 once, no subscription

$9.99 for 1 Mac, $19.99 for up to 3 Macs. 7-day free trial with no card required and a 14-day money-back guarantee. Apple Silicon, macOS 14 or later, notarized by Apple. Also available via Homebrew or Setapp.

Sources checked November 23, 2026: macOS 27.2.1 pmset(1) manual (footer dated November 9, 2012), Apple's IOPMLib.h header from the macOS 27.0 SDK, Apple's macOS 27 Battery and Energy settings pages, read-only pmset -g checks on macOS 27.2.1, and MacBook Pro (MacBookPro18,2, macOS 27.0.1 and 27.2) captures from October 27 and 28, 2026. Clamshell details come from version 2.0.5. Clamshell is an independent app, not affiliated with or endorsed by Apple. Product names belong to their respective owners.