Why is My MacBook Draining Battery While Sleeping?

Oct 20, 2021 - 8 Comments

MacBook  battery draining when sleeping

Some MacBook Pro, MacBook Air, and MacBook users may have noticed their computers are draining battery even when the Mac is sleeping and not in use. This seems like a peculiar issue, but it turns out there there may be an explanation.

A simple way to diagnose this issue is by going to  Apple menu > System Preferences > Battery, then choosing “Usage History”. When you see the battery level drop but the ‘Screen On Usage’ is nonexistent, you know the battery is draining when the Mac is not in use. The screenshot above demonstrates this in a severe case, where a MacBook Air drained the entire battery when not in use.

Fixing MacBook Pro / Air Battery Draining When Sleeping

Usually this happens because the Mac is not actually sleeping, the screen is just off, or the Mac is being woken up. Or, a feature called Power Nap is turned on the Mac laptop. Let’s look into this with a variety of troubleshooting tricks.

Find Apps/Processes Preventing Sleep

Some apps and command line tools specifically prevent sleep, so determining which and why is important. You can use the command line and pmset to figure this out, or Activity Monitor, which easier for most users.

  1. Open Activity Monitor from Spotlight by hitting Command+Spacebar then typing ‘Activity Monitor’ and hitting return
  2. Pull down the “View” menu and go to “Columns” and check the “Preventing Sleep” column on
  3. Show preventing sleep

  4. Now you can sort by “Preventing Sleep” to see what, if any, processes or apps are preventing the Mac from sleeping
  5. Find apps processes preventing sleep on Mac

If you a specific application is preventing sleep, simply quitting the app usually resolves the problem.

For example, sometimes the OpenEmu emulator will prevent sleep on a Mac, so if that app is open and running you may not be able to actually put the Mac to sleep, as you see in the screenshot above.

Command line processes like caffeinate are designed to prevent sleep so if you see something like that running, that’s certainly the cause.

Disabling Power Nap

Some MacBook Pro and MacBook Air laptops support a feature called Power Nap, which allows the Mac to check email and get notifications while it should be asleep. Turning this off may resolve some battery draining while sleeping issues, particularly if you get a lot of emails and notifications.

  1. From  Apple menu go to “System Preferences” and choose “Battery”
  2. In the Battery tab, uncheck the box for “Enable Power Nap when on battery”
  3. Disable Power Nap on battery

Disabling Enhanced Notifications

Some Macs also use a feature called Enhanced Notifications to deliver notifications when the display is sleeping, you can turn those off which may ameliorate battery draining when the Mac should be sleeping as well.

Disabling Bluetooth Temporarily

Some Mac users have noticed that turning off Bluetooth prevents the sleep draining issue. This is inconvenient if you use an external keyboard or mouse, so you’d have to work around that by turning Bluetooth back on again after you wake up the Mac. Not ideal, but a potential workaround.

Quitting Messages

The Messages app keeps itself refreshed and updated with new sent and received messages, and some Mac users have noticed this appears to be related to their Mac battery draining when the computer is sleeping. Quitting Messages before sleeping the Mac has functioned as a workaround for some users.

Advanced: Finding out exactly why the Mac waking from sleep

If you’re more technically inclined and comfortable with the command line, you can follow this guide to see exactly why a Mac is waking from sleep. Often you’ll see things like AirPort (wi-fi) activity, lid opening, or keyboard/mouse activity shown, but because it’s using system logs to determine this it is not particularly in a user friendly format.

There are a few helpful commands to refer to that may lead you to discover the reason, process, or app that is causing the Mac to wake from sleep. You can refer to these as needed, and it may be helpful to run each command separately to investigate the Macbook battery draining issue.

Run these commands from the Terminal application.

Using log to discover wake requests on MacBook laptop:

log show | grep -i "Wake Request"
This may reveal something like the following, where ‘powerd’ is waking the Mac with an “RTC” request which is often an automated behavior, whether it’s waking on schedule or on network request:
2021-11-03 22:02:38.472928-0700 0x5cb1b Default 0x0 76 0 powerd: [powerd:wakeRequests] Selected RTC wake request:

Using pmset to find wake requests on Mac laptops:

pmset -g log |grep "Wake Request"
May return something like, where the ‘process’ is the reason for the wake request:
2021-11-30 13:33:36 -0800 Wake Requests [*process=SuperUpdaterPro request=Maintenance deltaSecs=7200 wakeAt=2021-11-30 15:33:36 info="upkeep wake"] [process=powerd request=TCPKATurnOff deltaSecs=99481 wakeAt=2021-12-01 17:11:38]

Using log again to discover wake reasons for MacBook laptops

log show |grep -i "Wake reason"
May return something like, where ‘AppleTopCaseHIDEventDriver’ indicates the lid of the Mac laptop was opened:
2021-10-26 00:48:13.953155-0700 0x12174 Default 0x0 0 0 kernel: (AppleTopCaseHIDEventDriver) [HID] [ATC] [Error] AppleDeviceManagementHIDEventService::setWakeReason Error setting wake reason (reportID = 0xc5, Return Value = 0xe0005000)

System wake reason discovery

Rebooting, resetting SMC, disconnecting peripherals and USB devices, and miscellania

Sometimes users can stop mysterious inability to sleep or power draining issues by simply rebooting the Mac.

Also, disconnecting peripherals like USB devices or other gadgets may resolve the issue.

Another common troubleshooting trick for mystery power issues is to reset the SMC on the Mac (this only applies to Intel Macs, as Apple Silicon does not have SMC), which can often resolve issues if a Mac won’t sleep.

It can also be generally useful to how long your MacBook battery actually lasts for, which you can check in Activity Monitor as well.

Have you experienced any issues with your MacBook Pro, MacBook Air, or MacBook draining battery while the computer is sleeping, or otherwise not in use? Did you find a solution? Did the tips mentioned here help? Share with us your own experiences in the comments.

.

Related articles:

Posted by: Paul Horowitz in Mac OS, Tips & Tricks, Troubleshooting

8 Comments

» Comments RSS Feed

  1. Gaurav says:

    After months of frustration, I have finally found out what is causing my MBP 14″ to drain the battery when in sleep

    The solution is to turn off Screen Time in System Settings which is useless for 90% of users. Not only does it solve sleep drain, but the MBP battery in use improves dramatically like the day I bought it. The issue was noticeable in both Ventura and Monterey.

  2. Chris says:

    I have a new battery in my 2017 Air. I close my laptop, thinking it’s going to sleep, but twice in the past week, it shuts itself down when battery gets to 2%.

    Checked the Preventing Sleep and it’s hidd process, whose parent is backupd, which is at root. I have my Time Machine on an external USB Flash drive that is 1TB in size. I am going to try ejecting Time Machine and see what happens overnight with the laptop closed. I suspect the TM backup process is what’s going on.

    I checked the other tips (Mojave doesn’t have a Battery preferences).

  3. Dave says:

    I solved my 80% overnight drain by running a shell script in a cron every night doing the following:

    sudo pmset -a ttyskeepawake 0; sudo pmset -a powernap 0; sudo pmset -a tcpkeepalive 0; sudo pmset -a womp 0 ; sudo pmset -b standby 0
    sudo pmset -a standbydelayhigh 3600 # set to hibernate after 1 hour
    /usr/sbin/networksetup -setairportpower Wi-Fi off
    pmset sleepnow

  4. jesse says:

    I tried everything and the only resolution for me was a fresh install of the OS. Now it’s back to working as intended.

  5. Dino says:

    I started to experience this issue a few days back and can’t figure out what is causing it, I’m on the MacbookPro M1 and for example the last night, from midnight to 9am battery has drained from 99% to 48%, really huge, my prime suspect is NordVPN but can’t tell until the next day, I’ll quit the vpn app and check the drain.

  6. Maddie says:

    I have had a battery problem due to “Background Activity” from the Music app. Have now associated this with using AirPods. It got up to 86%.

  7. ahahaha says:

    So when you SHUT DOWN your MAC BOOK, you DO NOT really shut down it all : you sh*t up it…

  8. Nancy says:

    My MacBook Air battery drains about 20% every night and I have never been able to figure out why. I will give these tips a try.

Leave a Reply

 

Shop on Amazon.com and help support OSXDaily!

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site