Add PixelStats Battery Snapshot Types
Added the following snapshot types:
- min/max current
- min/max battery level (SoC)
- avg temperature
Also modified median resistance to average resistance.
Bug: 78483339
Change-Id: I27e83dcc78bcebb3b553ab02535ac32a149c4750
Signed-off-by: Maggie White <maggiewhite@google.com>
diff --git a/current.txt b/current.txt
index f30a508..e55fc67 100644
--- a/current.txt
+++ b/current.txt
@@ -8,4 +8,4 @@
822b5ce551c0cebb9f5a454e164638ec18f0613e248c6cd042aed5deb37fdcbf hardware.google.media.c2@1.0::IConfigurable
de8c507e59f9563c880ecea1a04d036e281b83109371543afd5421688bfda301 hardware.google.media.c2@1.0::IInputSurface
843fb9aab0dd6b331ce4fcede131531b23242518749cf87dd5a0ad1feab9070d hardware.google.media.c2@1.0::IInputSurfaceConnection
-fe0f8bf91c3ce690567ec417a707c0e707806cf54423ae7b7f52275f293c3c4c hardware.google.pixelstats@1.0::IPixelStats
+e5711b645af196287d940a9e801ebc4b21bca374d77c8621e9feadbcf9a703f9 hardware.google.pixelstats@1.0::IPixelStats
diff --git a/pixelstats/1.0/IPixelStats.hal b/pixelstats/1.0/IPixelStats.hal
index 890a552..b4d3704 100644
--- a/pixelstats/1.0/IPixelStats.hal
+++ b/pixelstats/1.0/IPixelStats.hal
@@ -132,7 +132,11 @@
MAX_RESISTANCE, // Snapshot at max batt resistance over 24hrs.
MIN_VOLTAGE, // Snapshot at min batt voltage over 24hrs.
MAX_VOLTAGE, // Snapshot at max batt voltage over 24hrs.
- MEDIAN_RESISTANCE, // Snapshot at median battery resistance over 24hrs.
+ MIN_CURRENT, // Snapshot at min batt current over 24hrs.
+ MAX_CURRENT, // Snapshot at max batt current over 24hrs.
+ MIN_BATT_LEVEL, // Snapshot at min battery level (SoC) over 24hrs.
+ MAX_BATT_LEVEL, // Snapshot at max battery level (SoC) over 24hrs.
+ AVG_RESISTANCE, // Snapshot at average battery resistance over 24hrs.
};
/** Parameters for reportBatteryHealthSnapshot. */
struct BatteryHealthSnapshotArgs {