summaryrefslogtreecommitdiff
path: root/pixelstats/ChargeStatsReporter.cpp
AgeCommit message (Collapse)Author
2022-08-22Fix charge capacity being not reportedStephane Lee
The value was added at the end of the array. If there are no wireless stats, we will not be reporting the value. Test: Ensure that charge capacity is reported via statsd Bug: 243077852 Change-Id: I9e304f2dc230c840dd8b679b779045b64c455cc2
2022-07-22Add user space logic to read charge_stats vtier from google_chargerPrasanna Prapancham
Test: Tested with tablet with dock 1. Put on dock 2. Remove from dock and monitor logcat | grep pixelstats Bug: 218802317 Signed-off-by: Prasanna Prapancham <prapancham@google.com> Change-Id: I34994e9471c91b89f9f76fdc509e173a0fb8b9b8
2022-04-27Add thermal stats to ChargeStatsReporter from google_chargerStephane Lee
Bug: 227199213 Test: Verify that, on disconnect, thermal stats are reported if there is a thermal limiting event. Change-Id: I5f7ff31f8e1fe320fb523e8d60dbc60f4e224f78
2022-03-16Remove reverseDomainName from pixel atomsJeffrey Huang
Bug: 224697964 Test: TH Change-Id: I566e23bc818a6d7184202d445eba438f41b5cf5b
2022-02-10pixelstats: Rename capacity for precise definitionJenny Ho
This value is used for charging current calculation, and 'charge_capacity' is more appropriate than 'battery_capacity' Bug: 209987670 Signed-off-by: Jenny Ho <hsiufangho@google.com> Change-Id: I996754a0791be0156243158f3149d2826516bfac
2022-02-08pixelstats: add capacity for AACR featureJenny Ho
Age Adjusted Charge Rate (AACR) logs an additional battery capacity in order to determine the charge curve needed to minimize battery cycle life degradation, while minimizing impact to the user. Bug: 209987670 Signed-off-by: Jenny Ho <hsiufangho@google.com> Change-Id: I867fd25d6a1c7343a3f21c72187bdb88d0541253
2021-09-27Refactor charge stats/voltage tier stats out its own classStephane Lee
Bug: 200739783 Test: logcat | grep pixelstats. Ensure that logging appears as expected per the charge stats/voltage tiers Change-Id: If99c86b938b13599236a968938b255b020fd8b77