commit | 1353e70278d48a75f59d5f34ea7b440ecb39403c | [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 | 59a9cef6a06c24e5d60b7505c4b9932cd170640e [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