android耗電量測試

https://www.jianshu.com/p/d68ae67c9227

 

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

adb shell dumpsys batterystatus --reset

adb shell dumpsys batterystatus>battery.txt

python historian.py -a bugreport.txt > battery.html

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

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章