summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenny Ho <hsiufangho@google.com>2022-06-13 21:59:36 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-06-13 21:59:36 +0000
commit2334278bd8d94c955f0ffb7fc1e1575e60dc77eb (patch)
treeffa6a6ea8be5b9460d246f159dd386bd70c29706
parent09cbc1518e3719b098dd0131c1ed548b8303dc01 (diff)
parent2aa18ff4febca2b92660236982e6800520346b0f (diff)
downloadpixel-2334278bd8d94c955f0ffb7fc1e1575e60dc77eb.tar.gz
pixelstats: align BATT_HIST_NUM_MAX_V2 to latest layout size am: 2aa18ff4fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/pixel/+/18799355 Change-Id: I6cc0c9d7e5c3bc4fd2279fd68c8d5b9ee57d8295 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--pixelstats/include/pixelstats/BatteryEEPROMReporter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pixelstats/include/pixelstats/BatteryEEPROMReporter.h b/pixelstats/include/pixelstats/BatteryEEPROMReporter.h
index f7075f9a..13a203b7 100644
--- a/pixelstats/include/pixelstats/BatteryEEPROMReporter.h
+++ b/pixelstats/include/pixelstats/BatteryEEPROMReporter.h
@@ -34,9 +34,9 @@ using aidl::android::frameworks::stats::IStats;
// hence the history number is 928/28~33
#define BATT_HIST_NUM_MAX 33
-// New history layout total size is 924 or 912 byte
-// each history data size is 12 bytes: 912/12=76
-#define BATT_HIST_NUM_MAX_V2 76
+// New history layout total size is 924 or 900 byte
+// each history data size is 12 bytes: 900/12=75
+#define BATT_HIST_NUM_MAX_V2 75
/**
* A class to upload battery EEPROM metrics