Battery Historian:
Battery Historian is a tool to inspect battery related information and events on an Android device running Android 5.0 Lollipop (API level 21) and later, while the device was not plugged in.
Battery Historian Tool:
Ideally you should be hosting this tool in local server, since that takes time we can use this tool freely available online
https://bathist.ef.lc/
Steps to do before taking battery logs:
To reset the existing battery logs for a phone
Now use the application which you want to take the battery analytics. After you reach the desired time you can connect the phone to your PC to take the Bug Report file.
Command to use:
For devices Android 7.0 & higher
Open https://bathist.ef.lc/
Upload the bugreport.txt
Filter the app using the package name to get the app specific battery usage
adb shell dumpsys batterystats --reset
Now use the application which you want to take the battery analytics. After you reach the desired time you can connect the phone to your PC to take the Bug Report file.
Command to use:
For devices Android 7.0 & higher
$ adb bugreport bugreport.zip
For devices Android 6.0 & lower$ adb bugreport > bugreport.txt
Start Analyzing nowOpen https://bathist.ef.lc/
Upload the bugreport.txt
Filter the app using the package name to get the app specific battery usage
Comments
Post a Comment