测试之家
  • 社区
  • 问答
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • 注册
  • 登录
新手
DestinyX26 (Seamus)
第 42616 位会员 / 2019-04-15
TS @ Nanjing
0 篇帖子 • 1 条回帖
0 关注者
0 正在关注
0 收藏
GitHub Public Repos
More on GitHub
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • Monkey+battery-historian 电量测试 (五) at 2019年04月15日

    回复楼上部分问题:1.关于 bugreport 获取的电量数据的准确性,bugreport 是以一个 xml 文件(framework 下一个叫 power_profile.xml 的文件)为基准值来计算在测试期间的电量消耗,如果这个 xml 文件未被修改过,xml 的功耗基准都是 Google 的默认值,对 DOU 测试分析有一定的参考意义;2.关于获取 bugreport,在 Google 开发者网站上(https://developer.android.com/studio/profile/battery-historianbugreport 的方法,如下:),有如何获取
    For devices running Android 7.0 and higher:
    adb bugreport > [path/] bugreport.zip

    For devices running Android 6.0 and lower:
    adb bugreport > [path/] bugreport.txt

    如果在使用命令时无法导出 7.0 以上的 bugreport,很有可能是因为你的 adb 版本过低导致的,这个命令是不需要 root 权限的,默认权限即可
    adb 命令介绍(https://developer.android.com/studio/command-line/adb),
    adb 版本下载(https://developer.android.com/studio/releases/platform-tools)

关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
简体中文 / 正體中文 / English

©testerhome.com 测试之家   渝ICP备2022001292号
  渝公网安备 50022202000435号    版权所有 © 重庆年云聚力信息技术有限公司