
获取电池数据工具:
Battery Historian https://github.com/google/battery-historian
电量优化措施:
- 不要绞尽脑汁设计复杂算法,不要在后台跑服务,不要网断了还不停重试
- 不要在后台滥用Service。
- 网络请求不要太频繁
Battery Historian https://github.com/google/battery-historian
转载于:https://www.cnblogs.com/wisemen/p/5820368.html