How to check the battery consumption of a device’s sensors?

Asked

Viewed 250 times

3

I am developing an application for Android, in which I will use the sensors embedded (for example, GPS and Accelerometer) of the mobile devices, only before I need to test the consumption of these sensors, because the energy savings of mobile devices is my goal. I would like to know if there is any application that checks the energy consumption of on-board sensors?

1 answer

5

Perhaps the best fit for your case is Powertutor, It measures detailed battery consumption, including some graphs for analysis.

From the Android 5.0, it is also possible to use an adb command to discharge all battery usage:

adb shell dumpsys batterystats > dump.txt

This command will generate a file dump.txt with the entire battery usage report.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.