slimdroid

What is draining my Android battery?

To find a battery drain, look at the rate (milliamp-hours per hour) over a long enough window, not just the total, and look for apps that stay awake: wakelocks, sensor polling and background jobs.

Updated

Why the battery screen can mislead

What usually causes a drain

How to measure it

adb shell dumpsys batterystats            # per-app power since last charge
adb shell dumpsys deviceidle whitelist    # apps exempt from Doze
adb shell dumpsys sensorservice           # who is using sensors

The slimdroid tool reads these dumps, converts them to mAh per hour and lists sensor pollers and Doze-exempt apps, with the app's purpose beside each one. Scan after the phone has been unplugged for several hours for a meaningful rate.

What to do about it

  1. Set heavy background apps to Restricted or Optimised in Settings > Apps > Battery.
  2. Revoke location and sensor permissions that an app does not need.
  3. Disable preinstalled apps you never use (guide).
  4. Compare a scan before and after to confirm the change worked.

How much overnight drain is normal?

A healthy phone on standby loses only a few percent overnight. If it loses ten percent or more, something is keeping it awake.

Does Doze exemption matter?

Yes. Apps exempt from Doze can run in the background while the phone is idle, so each one on that list is a possible drain.