You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seemed to be kIOPMAssertionTypePreventSystemSleepin IOKit.pwr_mgtbut it does not seem to work and the comment above the variable declaration in source code says "Deprecated in 10.9. This assertion is not supported in any OS X releases.".
The only solution I found is pmsetbut it is not ideal since this utility requires root privileges to be ran. pmset is currently necessary to :
Disable and enable sleep
Check if any app has made an assertion to prevent idle sleep
Put the computer to sleep
The text was updated successfully, but these errors were encountered:
There seemed to be
kIOPMAssertionTypePreventSystemSleep
inIOKit.pwr_mgt
but it does not seem to work and the comment above the variable declaration in source code says "Deprecated in 10.9. This assertion is not supported in any OS X releases.".The only solution I found is
pmset
but it is not ideal since this utility requires root privileges to be ran.pmset
is currently necessary to :The text was updated successfully, but these errors were encountered: