Missing tool Historian.par battery L

Since Google has released an updated SDK for Android L on its website. I am trying to test a new battery history feature. A Google API review says the tool is available under sdk / tools. Unfortunately, even after I completely updated the SDK, I cannot find the tool anywhere. Does anyone know how I can access this tool?

+5
android android-5.0-lollipop
Jul 01 '14 at 0:25
source share
2 answers

He did not miss it at:

https://github.com/google/battery-historian

Note: currently this requires a dependency, monsoon.py, which is not in AOSP (yet), but can be found here:

https://chromium.googlesource.com/experimental/chromium/src/+/master/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor.py

+4
Jul 02 '14 at 6:58
source share

If you like to view battery history data with KitKat and below devices, expand battery-historian , and then run the following:

$ adb shell dumpsys batterystats --reset >> run some test. either manual or with espresso, or monkeyrunner ... << $ adb bugreport > bugreport.txt $ ./historian.py bugreport.txt > out.html >> open out.html with your favorite browser << 

If you created a power file using the monsoon or any other tool, you can add this file (lines) by passing it with the -p option

Edit The best and fastest way to get an error message is with:

 # create battery stats table adb shell dumpsys batterystats > bugreport # append the creation time, which is way more accurate echo "== dumpstate: `adb shell date +'%Y-%m-%d %H:%M:%S'`" >> bugreport 
+9
Jul 16 '14 at 15:53
source share



All Articles