Skip to content

Disable the Smart Nap features to fix battery drain issue in MacOS(Sonoma)

Notifications You must be signed in to change notification settings

thoughtgo/disable_mac_smart_nap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Purpose

  • Disable the Smart Nap features to fix battery drain issue in MacOS, and it's tested in Sonoma.

  • pmset -g log | grep "Wake from"

2023-12-05 17:30:29 +0800 Wake Wake from Standby [CDNVA] : due to EC.PowerButton/UserActivity Assertion Using AC (Charge:100%)
2023-12-06 08:31:41 +0800 Wake Wake from Standby [CDNVA] : due to EC.ACDetach/UserActivity Assertion Using AC (Charge:92%)

Source

Core Ideas

  • Disable the feature of CoreSmartPowerNap
  • Disable tcpkeepalive

Usage

  • sh disable_mac_smart_nap.sh
  • Remember to reboot after apply scripts.

Troubleshooting tools.

  • pmset -g log | tail -n 500
  • pmset -g log | grep "Wake from"

About

Disable the Smart Nap features to fix battery drain issue in MacOS(Sonoma)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages