commit | dba1935420938cb547f7fd4468cfa824d9831fca | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Oct 07 10:41:30 2019 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Oct 14 14:07:13 2019 -0700 |
tree | c5c131e3a96786c64c1dc667241d41e847a3a016 | |
parent | 7226fb4b8f993b65bf7f4575d5adc7afc5302b8c [diff] |
[REFACTOR] healthd: BatteryMonitor::update split into 3 funcs split bool update() into three functions: void update() void logValues() bool isChargerOnline ... so that it doesn't depend on healthd_board_battery_update and healthd_mode_ops, which are deprecated. Test: health 2.0 VTS test Bug: 142260281 Change-Id: I65908a04bae00654213efb4b5569ced0a7e76076