summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Kweku Adams <kwekua@google.com> 2020-01-21 17:34:12 -0800
committer Kweku Adams <kwekua@google.com> 2020-08-18 11:34:33 -0700
commitf3b99fa7cfc561d07034f84c1de45f23d5a6c107 (patch)
tree1fe673660ded1d894bf7c3a03b874b86a34f01e6 /libs/input/PointerController.cpp
parentde010ce1d278b7ee91cfe968c4fbd349951886ee (diff)
Add battery discharge prediction APIs.
This CL adds an API to enable an external app to provide the system with an estimate of how much time is remaining until the battery reaches 0%. This information will be used in Settings and SysUI to display the estimated time until the device is fully discharged. Bug: 139413884 Test: atest android.os.cts.PowerManagerTest Test: atest android.permission.cts.PowerManagerServicePermissionTest Test: atest CtsPermission2TestCases Test: atest SettingsProviderTest Change-Id: I7073c521e392e9616111e5e80b92a11285ac6c91
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions