macos¶
let's start with some random stuff before we split this apart.
sleep issues¶
find out why macos woke up¶
pmset -g log|egrep " Sleep | Wake | DarkWake "
pmset -g log | egrep '\b(Sleep|Wake|Start)\s{2,}'
pmset -g log | grep "Wake Requests"
that's from a comment here
prevent wakeups¶
sudo pmset -a powernap 0 # disable powernap
sudo pmset -a tcpkeepalive 0 # disable networking (prevents find my mac from working)
sudo pmset -a proximitywake 0 # wake from sleep based on proximity of devices using same iCloud id
see, verify and check your settings: