Forked from lombax85/gist:e25d331c063da83c5060693cada1a54f
Created
April 16, 2022 15:54
-
-
Save iF2007/5dbbbfc2d635e47be97ceffd8bb9b9c0 to your computer and use it in GitHub Desktop.
Powernap on M1 and Big Sur
This file contains 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 wake requests | |
pmset -g log | grep "Wake Requests" | |
# check wake logs | |
pmset -g log | grep darkwake | |
# statistics | |
pmset -g stats | |
# check if powernap is enabled | |
sudo pmset -g | |
# log battery usage | |
➜ ~ pmset -g log | |
PM ASL data store: /var/log/powermanagement | |
# disable powernap | |
1.Run command in terminal: sudo pmset -a tcpkeepalive 0 | |
2.Run command in terminal: sudo pmset -a powernap 0 | |
# references | |
https://discussions.apple.com/thread/252061187?page=1 | |
I've found out an easier way to sovle this issue: | |
1.Run command in terminal: sudo pmset -a tcpkeepalive 0 | |
2.Run command in terminal: sudo pmset -a powernap 0 | |
3.Make sure these options is not checked: "System Preferences->Battery->Optimized battery charging" and "System Preferences->Battery->Power Adapter->Wake for network access" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment