I'm using this instead: https://gist.github.com/mijorus/b9fabea963fabd435139654c6ebe...
Turn off WiFi when going to sleep, turn it back on on wake.
I don't need my laptop to be doing things when it's in my bag. It's not a phone, unlike what Apple seems to think...