Skip to content

Instantly share code, notes, and snippets.

@ghaschel
Created April 18, 2019 04:06
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ghaschel/b7509176d29d0e3a448e0f464e5652dd to your computer and use it in GitHub Desktop.
Save ghaschel/b7509176d29d0e3a448e0f464e5652dd to your computer and use it in GitHub Desktop.
#battery
sudo pmset -b standbydelaylow 300
sudo pmset -b standby 1
sudo pmset -b halfdim 1
sudo pmset -b sms 0
sudo pmset -b disksleep 10
sudo pmset -b standbydelayhigh 600
sudo pmset -b sleep 10
sudo pmset -b autopoweroffdelay 40000
sudo pmset -b hibernatemode 25
sudo pmset -b autopoweroff 1
sudo pmset -b ttyskeepawake 0
sudo pmset -b womp 0
sudo pmset -b tcpkeepalive 0
sudo pmset -b displaysleep 2
sudo pmset -b highstandbythreshold 80
sudo pmset -b acwake 0
sudo pmset -b lidwake 1
#AC
sudo pmset -c standbydelaylow 900
sudo pmset -c standby 1
sudo pmset -c halfdim 1
sudo pmset -c sms 0
sudo pmset -c networkoversleep 0
sudo pmset -c disksleep 10
sudo pmset -c standbydelayhigh 1200
sudo pmset -c sleep 10
sudo pmset -c autopoweroffdelay 20000
sudo pmset -c hibernatemode 3
sudo pmset -c autopoweroff 1
sudo pmset -c womp 0
sudo pmset -c tcpkeepalive 0
sudo pmset -c ttyskeepawake 0
sudo pmset -c displaysleep 10
sudo pmset -c highstandbythreshold 50
sudo pmset -c acwake 0
sudo pmset -c lidwake 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment