commit | a8c34e148cbd926eff8ba8c3b51d4419e2e0fa24 | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Fri Jul 20 16:35:39 2018 -0700 |
committer | Ben Lin <linben@google.com> | Fri Jul 20 17:20:11 2018 -0700 |
tree | 2f5be93605393f9c60e9cfb4eeb6a753b86bc85b | |
parent | 3261b948e5b8898420852349bba03c6bfc8c8fda [diff] |
Check for Wifi's power stats capabilities before asking for it. Bug: 79893981 Test: On devices where Wifi's power stats are not available, `adb shell 'time dumpsys batterystats --checkin |wc -l'` returns much faster now. Change-Id: Id5a9dbe6496c3033afafcff6cae86d91c13f8c90