Jump to content
Toggle menu
  • 51 articles
  • 24 files
  • 4 users
  • 750 edits
Tech-Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

How to identify processes that prevent a mac from sleeping

From Tech-Wiki


Practical configuration and operational reference for How to identify processes that prevent a mac from sleeping.

Procedure

Run the following Terminal command

pmset -g assertions

The 1st section of output shows the status of kernel assertions. If either PreventSystemSleep or PreventUserIdleSystemSleep have a status of 1 then the mac will not sleep.

In the 2nd section of output the processes that own the assertions are shown(process id then bundle id).

To identify the process:

ps up <pid>

See also