How to Fix macOS Battery Draining Fast
In this tutorial, you'll learn about How to Fix macOS Battery Draining Fast. We cover key concepts, practical examples, and best practices.
The Problem
Your MacBook battery drains faster than expected:
Battery is running low. Please plug in the power adapter.
The battery percentage drops 10-15% per hour during light use, or the Mac dies after 2-3 hours instead of the expected 8-10 hours.
Quick Fix
Step 1: Check battery health
Click the battery icon > Battery Settings or:
system_profiler SPPowerDataType | grep -A 5 "Battery Information"
Check:
- Cycle Count: Typically 500-1000 cycles before significant degradation
- Condition: Should be "Normal"
- Maximum Capacity: Below 80% indicates a worn battery
Step 2: Identify energy-intensive apps
Open Activity Monitor > Energy tab. Sort by Energy Impact.
Common culprits:
- Chrome (especially with many tabs)
- Slack, Electron-based apps
- Xcode builds running in background
- Adobe Creative Suite
Step 3: Check for background activity
sudo powermetrics --samplers tasks -i 5000 -n 1
This shows which processes are using the most power over a 5-second sample.
Step 4: Reduce screen brightness
Screen brightness is the largest battery drain.
- Use auto-brightness: System Preferences > Displays > Automatically adjust brightness
- Reduce brightness to 50-60% when on battery
Step 5: Disable unnecessary features
- Bluetooth: Turn off when not using peripherals
- Wi-Fi: Turn off when not needed (uses power to scan for networks)
- Keyboard backlight: Disable or set to auto-off after 5 seconds
Step 6: Check for heavy kernel task usage
If Activity Monitor shows high kernel_task CPU, the Mac is thermal-throttling. Clean dust from vents, use on a hard surface, and check for background indexing:
sudo mdutil -a -i off
Step 7: Calibrate the battery (once every 3 months)
- Charge to 100%, keep charging for 2 more hours
- Use the Mac on battery until it shuts down (< 1%)
- Leave it off for 5 hours
- Charge to 100% uninterrupted
Step 8: Reset SMC (Intel Macs)
SMC controls power management:
- With power cord: Shut down, plug in, hold Shift+Control+Option+Power for 10 seconds
- Without power cord: Shut down, hold Fn+Shift+Control+Option+Power for 10 seconds
Step 9: Check for macOS updates
softwareupdate --list
macOS updates often include power management improvements.
Step 10: Use Safari instead of Chrome
Safari uses significantly less power than Chrome for the same browsing activity. Safari is optimized for Apple Silicon.
Prevention
- Keep macOS and apps updated.
- Avoid extreme temperatures (below 32F or above 95F).
- Do not leave the Mac plugged in at 100% for extended periods.
- Replace the battery when maximum capacity drops below 80%.
Common Mistakes with battery drain
- Forgetting that lazy evaluation defers computation until the value is forced, causing space leaks with unevaluated thunks
- Using
returnto exit a function early instead of wrapping a pure value in the monad - Mixing let bindings with <- bindings in do notation, producing type errors
These mistakes appear frequently in real-world MACOS code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.
Practice Exercise
Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.
This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.
FAQ
DodaTech Tool Reference
Doda Browser's Power Profiler tracks energy consumption per tab and process, showing which websites or extensions are draining your battery in real time.
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro