Skip to content

Instantly share code, notes, and snippets.

@jfeilbach
Created November 11, 2017 23:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfeilbach/43527619d13149d8c0f76f93ec2c1c31 to your computer and use it in GitHub Desktop.
Save jfeilbach/43527619d13149d8c0f76f93ec2c1c31 to your computer and use it in GitHub Desktop.
pmaset -g live
Before:
System-wide power settings:
SleepDisabled 0
Currently in use:
standby 1
Sleep On Power Button 1
womp 1
autorestart 1
hibernatefile /var/vm/sleepimage
powernap 1
gpuswitch 2
networkoversleep 0
disksleep 0
sleep 0 (sleep prevented by nsurlsessiond, nsurlsessiond, nsurlsessiond, nsurlsessiond, nsurlsessiond, nsurlsessiond, nsurlsessiond, backupd)
autopoweroffdelay 50000
hibernatemode 0
autopoweroff 1
ttyskeepawake 1
displaysleep 0
standbydelay 86400
After:
System-wide power settings:
SleepDisabled 0
Currently in use:
standby 1
Sleep On Power Button 1
womp 1
autorestart 0
hibernatefile /var/vm/sleepimage
powernap 1
gpuswitch 2
networkoversleep 0
disksleep 10
sleep 1 (sleep prevented by backupd)
autopoweroffdelay 28800
hibernatemode 0
autopoweroff 1
ttyskeepawake 1
displaysleep 10
standbydelay 10800
Default:
System-wide power settings:
SleepDisabled 0
Currently in use:
standby 1
Sleep On Power Button 1
womp 1
autorestart 0
hibernatefile /var/vm/sleepimage
powernap 1
gpuswitch 2
networkoversleep 0
disksleep 0
sleep 0 (sleep prevented by coreaudiod, iTunes, backupd, sharingd)
autopoweroffdelay 28800
hibernatemode 0
autopoweroff 1
ttyskeepawake 1
displaysleep 0
standbydelay 10800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment