Question :
I’m developing an application for Android, where I’ll use embedded sensors (eg GPS and Accelerometer) of mobile devices, but before I need to test the consumption of these sensors, because the energy savings of the devices furniture is my goal. I wonder if there is an application that checks the power consumption of embedded sensors?
Answer :
Perhaps the best case scenario for you is PowerTutor , it measures battery consumption in detail, including some graphics for analysis.
From Android 5.0 , you can also use an adb command to download all battery usage:
adb shell dumpsys batterystats > dump.txt
This command will generate a dump.txt
file with the entire battery usage report.