commit | c9c3b909f4aa40c5540a8136a77fdc54eaf6a5c4 | [log] [tgz] |
---|---|---|
author | Todd Lee <leetodd@google.com> | Mon Dec 09 17:32:56 2019 +0000 |
committer | Todd Lee <leetodd@google.com> | Mon Dec 09 17:32:56 2019 +0000 |
tree | 2ecc9c404694a5201db8ad127729131a02328827 | |
parent | d4a2a043a667d7332f1ae5ac09d85cf1778c6092 [diff] |
[battery] fix battery info watcher/initialization Remove call to 'GetBatteryInfo' as watcher registration now receives immediate callback with current info. Check for battery status in updateBattery (only update when status is 'ok') Bug: go/fxb/41616 Change-Id: I82a044947c7e5412c2ac0008de6ea79f283b8ef2