Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38c9d32b authored by Maggie White's avatar Maggie White
Browse files

statsd: Increase number of available charge cycle buckets



Pixel fuel gauges will upload up to 10 charge cycle buckets.

Test: build succeeds
Bug: 114316519
Change-Id: I29825c310e93041b0794ebdf0a8ed9bbcda722bc
Signed-off-by: default avatarMaggie White <maggiewhite@google.com>
parent 3c91545b
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1310,8 +1310,9 @@ message PhysicalDropDetected {
 * Log bucketed battery charge cycles.
 *
 * Each bucket represents cycles of the battery past
 * a given charge point.  For example, bucket 1 is the
 * lowest 1/8th of the battery, and bucket 8 is 100%.
 * a given charge point.  For example, if 10 cycle buckets are
 * initialized, bucket 1 is the lowest 1/10th of the battery,
 * and bucket 10 is 100%.
 *
 * Logged from:
 * /sys/class/power_supply/bms/cycle_count, via Vendor.
@@ -1325,6 +1326,8 @@ message ChargeCyclesReported {
    optional int32 cycle_bucket_6 = 6;
    optional int32 cycle_bucket_7 = 7;
    optional int32 cycle_bucket_8 = 8;
    optional int32 cycle_bucket_9 = 9;
    optional int32 cycle_bucket_10 = 10;
}

/**