diff options
| author | 2018-10-22 14:24:32 -0400 | |
|---|---|---|
| committer | 2018-11-13 10:47:14 -0500 | |
| commit | 4bf21dffaa09de83d9242e1cd8a73d930eeea780 (patch) | |
| tree | 9c88d93529ebb1fdcdf504578d9bbee95d9dfb50 /libs/androidfw/AttributeResolution.cpp | |
| parent | b513876655e04eb520d5d9b36558d3a8d3dd49e9 (diff) | |
Add estimated time remaining text to QS
- Add an API to BatteryController to get an estimated time remaining
string.
- BatteryController will now check up to once per minute what the
estimated time will be and builds the string using PowerUtil.
- If the "show percentage" setting is on, the estimated time remaining
string (and battery icon) will show next to the system icons in QS
- Also make the battery percent in QS obey the setting
Test: visual
Bug: 116481529
Change-Id: Iaafa00127c8b8baae40956254a1237c8b7ac079b
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions