summaryrefslogtreecommitdiffstats
path: root/recovery_utils/battery_utils.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* GetBatteryInfo() also reads AIDL health HAL.Yifan Hong2021-12-071-28/+45
| | | | | | | Test: call GetBatteryInfo manually with and without AIDL health HAL Bug: 170338625 Bug: 177269435 Change-Id: I123739e5bc372d5198fd711f592ceac04d46ab28
* Refactor battery info querying functions into librecovery_utils.Tao Bao2019-10-031-0/+89
Bug: 134560109 Test: Run recovery_unit_test. Change-Id: Ibbcdcfd507fa23657ee7ff677208b0003ec382ba