commit | da893ff40f836950b8148d2148c600513ad16221 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Fri Dec 08 13:07:27 2023 -0800 |
committer | David Anderson <dvander@google.com> | Wed Jan 10 14:03:55 2024 -0800 |
tree | b69fb7b6574342844c44a8132720413063966f0a | |
parent | 07b38fe446769e9c8fd9bdcec641fb0289657d06 [diff] |
BatteryManager: Add new battery properties from the Health V3 HAL. This adds two new system APIs, BATTERY_PROPERTY_SERIAL_NUMBER and BATTERY_PROPERTY_PART_STATUS. Both require BATTERY_STATS permissions. This also removes an obsolete comment in BatteryProperty.java. This class is no longer connected to BatteryMonitor, which is an implementation detail to the default Health HAL. Bug: 309792384 Test: m Change-Id: I11dfb6a5f4f6e1b754c7191055836693615a6553