Skip to content

Instantly share code, notes, and snippets.

@timothyasp
Last active March 23, 2020 19:49
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothyasp/6143254 to your computer and use it in GitHub Desktop.
Save timothyasp/6143254 to your computer and use it in GitHub Desktop.
Mac OSX speedy resume from sleep and power management. From http://blog.metamatt.com/blog/2013/02/21/speedy-resume/
#!/bin/bash
# Set standby delay on battery to 12hr
sudo pmset -b standbydelay 43200
# Disable it entirely on battery
sudo pmset -c standby 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment