google / battery-historian

Battery Historian is a tool to analyze battery consumers using Android "bugreport" files.
Other
5.31k stars 957 forks source link

What exact quantifiable metric does android battery historian provide? #79

Open Khalian opened 8 years ago

Khalian commented 8 years ago

Can i measure battery usage using a quantitative measure - (e.g. Milli Ampere per hour). Can I assert with a provable guarantee how long my app will last under a given background environment (a fixed set of background processes) given the output from battery historian? 

What exactly does battery_level stand for as a metric? Does it imply a relative battery hog as compared to other apps? Does it have any quantifiable meaning if my App is the only app that is in the process space?

Gaket commented 6 years ago

I would like to up this question.

I tested 3 apps (Instagram and Snapchat between them) and for browsing of 3 different programs with a maximum scree brightness for 15 minutes Battery historian said that:

"Device estimated power use" equals to 0.78 0.35 0.55 respectively. So it is about 2-3 percents per hour. Where can I buy such device that will last for 50 hours Instagram browsing? :)

But if I look at the total battery change inside the phone, it said that: "Battery Consumption" was 15.12 11.46 15.38 percents respectively. Not only these values are quite higher but even relative values are different... So how can we use this "estimated power use" field? And should we use it at all?