Understanding Battery Drain — Android

Pablo Baxter
Jul 8, 2018 · 6 min read

Many of us have been in this situation: Phone is charged to 100% in the morning, and by lunchtime, it is close to 30%. Now we’re upset and we look for the app responsible. Sometimes, we see that it was an app that was used excessively (Facebook, Netflix, some news app), but other times it turns out to be an app that was not actively used. If it’s the latter, most likely we won’t care to figure out why the app is draining battery, it will just be deleted and we’ll probably leave a bad review on the app store.

Measuring power on the road!

Power usage on a Nexus 5 when nothing is running
Power usage when holding a wakelock
Batching is your friend!


Come join us

Life360 Engineering

Musings of Life360's talented engineers

Pablo Baxter

Written by

I've broken planes and hearts, now I break software.

Life360 Engineering

Musings of Life360's talented engineers