My 15-inch MacBook Pro (Touch Bar, mid-2017) has always been plagued by issues with sleep.
After not using it for a few months, I started using it again yesterday and found out that during the night it drained about 50% of the battery on its own and went into "Low-power sleep" at about 6 AM (the type of sleep that you can only wake from by reconnecting the power adapter).
Here’s my setup:
- I use an external display with my MacBook, however the two were physically disconnected (USB-C to Thunderbolt adapter is unplugged) during the night;
- There were a Bluetooth keyboard by Lofree and a second-generation Magic Mouse connected;
- Among other apps, Spotify, Telegram, iOS Simulator, XCode, Google Chrome and Firefox were running. I mention these because I once noticed Spotify seemed to prevent sleep. I’m not sure it was the culprit in this case;
- In Energy Saver, the following settings are engaged:
- Under “Battery”:
- Put hard disks to sleep when possible;
- Slightly dim the display while on battery power;
- Enable Power Nap while on battery power;
- In “Power Adapter”:
- “Prevent computer from sleeping automatically when the display is off” is disabled
- Wake for Wi-Fi network access
- Enable Power Nap while plugged into a power adapter
- Under “Battery”:
I am aware Wi-Fi network access and Power Nap may be the culprits here, although if I remember correctly, past experimentation with these settings proved inconclusive.
Moreover, I’m reluctant to disable Power Nap because it allows the Find My Mac feature to work correctly, and I’d like to keep that functionality intact.
I’ve uploaded the output of
pmsleep -g log in hopes that it helps troubleshoot. Reading through it I couldn’t locate a clear culprit. You can find it here: https://gist.github.com/gabrielecirulli/34462c195d703a577f23a80c3fc9dd28