commit | 3356161d6c78deefd80235cde39a938d3621efc0 | [log] [tgz] |
---|---|---|
author | Jack Wu <wjack@google.com> | Thu Nov 24 12:10:55 2022 +0800 |
committer | Jack Wu <wjack@google.com> | Sat Jan 21 07:33:51 2023 +0000 |
tree | ef60485bf3086c6354ce2078f1773b324d5f3758 | |
parent | 022e49b68450a25d3800c62ddb85536186fa7915 [diff] |
health: expose battery health data and update version to V2 1. add the new propertes - batteryHealthData - batteryStateOfHealth - chargingState - chargingPolicy 2. add new types to health status 3. add new methods - setChargingPolicy - getChargingPolicy - getBatteryHealthData Bug: 251425963 Test: m android.hardware.health-update-api Change-Id: Ie2339c50e1f9bfc28427e4108a95b1a16c739205 Signed-off-by: Jack Wu <wjack@google.com>