commit | 1acf06a62af530490793104aa89aaa53d7713da2 | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Thu Dec 07 19:19:35 2017 -0800 |
committer | Todd Poynor <toddpoynor@google.com> | Thu Dec 14 18:45:22 2017 +0000 |
tree | 04353ad508c1d0f033a84416f55af514b8108e8e | |
parent | 10adc355824dea8a6428aefb2bd4f5bedca439ef [diff] |
BatteryStats: Don't collect battery stats if no battery If the device has no battery, or has a removeable battery that is currently removed, do not collect battery statistics. Bug: 34507420 Test: manual: dumpsys batterystats Change-Id: Id8edb494f353a40c648f798690f611f89f464d34