一、启动时间监控

通过adb命令获取

  • adb shell am start -W /<packageName> /<activityName>

案例: adb shell am start -W tv.danmaku.bili/tv.danmaku.bili.ui.splash.SplashActivity

二、电量监控

获取手机电池信息

  • adb shell dumpsys battery 
  • adb shell dumpsys battery set status 1
  • adb shell dumpsys battery set level 100 

获取电量消耗信息 

  • adb shell dumpsys batterystats 
  • adb shell dumpsys batterystats com.Package.name

相关文章:

  • 2021-06-07
  • 2021-12-25
  • 2021-10-30
  • 2022-01-16
  • 2022-12-23
  • 2021-09-16
  • 2021-12-18
  • 2021-09-15
猜你喜欢
  • 2022-02-07
  • 2021-09-12
  • 2021-05-28
  • 2021-10-15
  • 2022-12-23
  • 2022-01-01
相关资源
相似解决方案