Skip to content

Instantly share code, notes, and snippets.

@lombax85
Created April 15, 2021 09:14
Show Gist options
  • Save lombax85/e25d331c063da83c5060693cada1a54f to your computer and use it in GitHub Desktop.
Save lombax85/e25d331c063da83c5060693cada1a54f to your computer and use it in GitHub Desktop.
Powernap on M1 and Big Sur
# 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"
@ByteSecurity
Copy link

On mac studio, the sleep we want is not the same as the sleep implemented on the mac;
He will continue to spin the fan while sleeping and the cpu continues to run

https://v2ex.com/t/863904

@jonzhan
Copy link

jonzhan commented Jul 4, 2023

Thanks, and thanks for the follow up link!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment