Battery Historian实战分析

309 阅读1分钟

安装

github.com/google/batt…

安装Docker

docker -- run -p :9999 gcr.io/android-battery-historian/stable:3.0 --port 9999

导出电量信息

adb shell dumpsys batterystats --reset

adb shell dumpsys batterystats --enable full-wake-history

adb bugreport bugreport.zip

上传分析

http://localhost:9999

上传bugreport文件即可

备用:bathist.ef.lc/