android耗电量检测

一、打开电池数据的获取以及重置

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

二、导入电量使用详细报告

adb bugreport > bugreport.txt

三、关闭电池全量记录唤醒

adb shell dumpsys batterystats –disable full-wake-history


具体分析电量报告参考:使用Battery Historian分析应用的电量

猜你喜欢

转载自blog.csdn.net/dhl91604/article/details/77182302