Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# Set standby delay on battery to 12hr
sudo pmset -b standbydelay 43200
# Disable it entirely on battery
sudo pmset -c standby 0
# Disable hibernation
sudo pmset -a hibernatemode 0
# Enable hibernation
# sudo pmset -a hibernatemode 3
# Free disk space occupied by hibernation
# * This file is automatically recreated as needed if hibernation is reenabled and it doesn't already exist.
# sudo rm /var/vm/sleepimage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment