diff options
author | Jenny Ho <hsiufangho@google.com> | 2022-11-10 10:26:03 +0800 |
---|---|---|
committer | Jenny Ho <hsiufangho@google.com> | 2022-11-10 10:27:29 +0800 |
commit | 07e4e2640ea467738c81e449e684c8e63d919f50 (patch) | |
tree | 02ed8690ce3ca7b0742f8534e1d2226ba271cc29 | |
parent | e539aa7d023168521a8e0d42801b06ba07cffdbc (diff) |
pixelstats: correct definition of battery health status
Bug: 235378836
Change-Id: Ic68e4e9d0549d4866c29b0180445cae26b817a2c
Signed-off-by: Jenny Ho <hsiufangho@google.com>
-rw-r--r-- | pixelstats/pixelatoms.proto | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pixelstats/pixelatoms.proto b/pixelstats/pixelatoms.proto index e4d98bf..5563259 100644 --- a/pixelstats/pixelatoms.proto +++ b/pixelstats/pixelatoms.proto @@ -1158,11 +1158,11 @@ message BatteryHealthStatus { optional int32 health_algorithm = 2; enum HealthStatus { - UNKNOWN = 0; // The health status is unknown due to a SW limitation or issue - NOMINAL = 1; // The battery is operating as expected - MARGINAL = 2; // The battery may need replacement soon - NEEDS_REPLACEMENT = 3; // The battery needs replacement - FAILED = 4; // The battery has failed and no longer operates as expected + UNKNOWN = -1; // The health status is unknown due to a SW limitation or issue + NOMINAL = 0; // The battery is operating as expected + MARGINAL = 1; // The battery may need replacement soon + NEEDS_REPLACEMENT = 2; // The battery needs replacement + FAILED = 3; // The battery has failed and no longer operates as expected } // HealthStatus calculated using health_index, health_perf_index. |