-2.5 C
New York
Wednesday, February 5, 2025

terminal – How do I take away `System-wide energy settings:` from pmset -g output?


I ran the next sequence of instructions as root:

Test output of pmset -g:

pmset -g
System-wide energy settings:
Presently in use:
 standby              1
 Sleep On Energy Button 1
 hibernatefile        /var/vm/sleepimage
 powernap             1
 networkoversleep     0
 disksleep            10
 sleep                0 (sleep prevented by Python, powerd)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         0
 tcpkeepalive         1
 powermode            2
 womp                 1

Disable sleep utilizing pmset disablesleep 1 after which run pmset -g once more:

pmset disablesleep 1
pmset -g
System-wide energy settings:
 SleepDisabled          1
Presently in use:
 standby              1
 Sleep On Energy Button 1
 hibernatefile        /var/vm/sleepimage
 powernap             1
 networkoversleep     0
 disksleep            10
 sleep                1 (sleep prevented by powerd)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         3
 tcpkeepalive         1
 powermode            2
 womp                 0

Observe the additional line SleepDisabled 1 that seems within the output above.

I then tried to take away the road by operating pmset disablesleep 0:

pmset disablesleep 0
System-wide energy settings:
 SleepDisabled          0
Presently in use:
 standby              1
 Sleep On Energy Button 1
 hibernatefile        /var/vm/sleepimage
 powernap             1
 networkoversleep     0
 disksleep            10
 sleep                1 (sleep prevented by powerd)
 hibernatemode        3
 ttyskeepawake        1
 displaysleep         3
 tcpkeepalive         1
 powermode            2
 womp                 0

Now I’ve a line that claims SleepDisabled 0.

What command can I run to get again to a state the place the road doesn’t seem in any respect within the output of pmset -g?

Additionally, is SleepDisabled 0 equal within the state the place the road doesn’t seem in any respect?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles