Thrum

How do you find the app that is preventing your Mac from sleeping?

Last reviewed: 19 November 2026.

Open Activity Monitor, click the Energy tab and look at the Preventing Sleep column: Yes means that app is holding the Mac awake. In Terminal, pmset -g assertions lists every process keeping the Mac or its display awake, with the reason it gave.

How do you find it?

  1. Check the Energy tab. Open Activity Monitor, click Energy and click the Preventing Sleep heading so Yes rows come first.
  2. List the assertions. In Terminal, run pmset -g assertions.
  3. Read the owning processes. Under Listed by owning process, each line starts with a PID and name, then the assertion type and a name in quotes that explains why.
  4. Look for Created for PID. Some lines are made by a system service on behalf of an app, followed by Created for PID: 653. Look up that PID with ps -p 653 -o comm to find the app.
  5. Stop the cause. Pause the video or audio, finish or cancel the download, or quit the app. Run the command again to confirm the line is gone.

What do the assertion types mean?

AssertionWhat it does
PreventUserIdleSystemSleepStops the Mac sleeping when idle. The display can still turn off.
PreventUserIdleDisplaySleepKeeps the display on. Video players and presentation apps use it.
NoIdleSleepAssertionAn older name for preventing idle system sleep that many apps still use.
PreventSystemSleepPrevents system sleep altogether, not only idle sleep. Few apps use it.
UserIsActiveCreated by WindowServer when you type or use the trackpad. It times out by itself.

The quoted name is set by the app. Examples from a real Mac: "audio-playing" from a web browser, and a coreaudiod assertion for the built-in speakers created for the browser's PID. Both disappear when playback stops.

What commonly keeps a Mac awake?

What if the Mac wakes up by itself?

Preventing sleep and waking from sleep are different. To see why a sleeping Mac woke, run pmset -g log | grep -E ' Wake | DarkWake ' | tail. Each line gives the time and a reason, such as a lid open, a network notification or a scheduled maintenance wake.

How can Thrum help?

Thrum's Energy tab shows energy impact for each app, plus battery level and time remaining.

Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.

Questions

Does Preventing Sleep: Yes drain the battery?

Indirectly. The app keeps the Mac out of sleep, so everything else running keeps using power too.

Why does powerd hold an assertion?

The line named Prevent sleep while display is on is powerd keeping the system awake while the screen is on. It is normal and ends when the display sleeps.

Sources