Created
November 14, 2019 08:05
-
-
Save olssonm/073188b1f3998ad7b37728126edb8d31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check current values | |
pmset -g | |
# Set a pmset values (must be sudo) | |
pmset -a $key $value | |
# Scan the pmset log for sleep and wake reasons | |
pmset -g log|grep -e " Sleep " -e " Wake " | |
# Try to find reasons for keeping the Mac awake | |
pmset -g assertions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment