summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Wu <wjack@google.com>2023-05-10 20:21:35 +0800
committerJack Wu <wjack@google.com>2023-05-10 12:26:34 +0000
commit9550d8f55d4ca8fac694353a8abe2bcc4bca986a (patch)
treed868e6d45a99d6bdcc348e61b284b4e859e82d60
parent6c72d39448673d7678073c1ca26ad2b56d0a6869 (diff)
downloadpixel-9550d8f55d4ca8fac694353a8abe2bcc4bca986a.tar.gz
pixelstats: support NOT_AVAILABLE for battery health status
Bug: 276400004 Test: manual Change-Id: I44d94f59c0e4cb6d8de256bd74b8a95e0a39a88d Signed-off-by: Jack Wu <wjack@google.com>
-rw-r--r--pixelstats/pixelatoms.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/pixelstats/pixelatoms.proto b/pixelstats/pixelatoms.proto
index daa05134..0fe618bf 100644
--- a/pixelstats/pixelatoms.proto
+++ b/pixelstats/pixelatoms.proto
@@ -1187,6 +1187,7 @@ message BatteryHealthStatus {
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
+ NOT_AVAILABLE = 4; // This is a temporary state when cycle count is insufficient
}
// HealthStatus calculated using health_index, health_perf_index.