| commit | d5ed26a45ab400c44a1eff6fc31be55a82ed8ba9 | [log] [tgz] |
|---|---|---|
| author | David Anderson <dvander@google.com> | Fri Dec 08 15:12:24 2023 -0800 |
| committer | David Anderson <dvander@google.com> | Mon Dec 11 11:59:23 2023 -0800 |
| tree | ad4254444f9049f2e4d3b70dbbe7a9f625e53d09 | |
| parent | 2cb36706f40a7afac9159126a97421b37e2ef8dc [diff] |
healthd: Add support for the new Health HAL v3 properties.
Add BATTERY_PROP_PART_STATUS support via getProperty.
Add serial number support via a new helper function, since it doesn't
fit neatly into the BatteryProperty structure.
There are no sysfs nodes for this yet, so currently it is stubbed.
Bug: 309792384
Test: fastboot getvar battery-part-status
fastboot getvar battery-serial-number
Change-Id: I3777e092d4ef26c02a7dd5420c9eaf1ec5aeae92