summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2018-12-07 15:17:44 +0100
committerRobin Lee <rgl@google.com>2018-12-11 15:19:46 +0100
commit204cb22a594665b879b6be80e608687462097f02 (patch)
tree7cce9010c37fb48438ea8f448050d2af6dd0e6dd /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentc4d424c29a3352d2e38e4e25a9225ed3f359af23 (diff)
DeviceIdle ignores charging state if no battery.
The behaviour we want if mBatteryPresent = false is exactly the same as what we already have when mBatteryCharging = false, so we can just do the same thing instead of introducing more complexity with separate flags for battery charging vs. plugged. This might want to change in future if we detect that, for example, the device is plugged into a charger that does not provide enough power to charge (eg. a high-powered laptop plugged into an old mobile charger.) Bug: 111443261 Test: atest com.android.server.DeviceIdleControllerTest Test: atest BatterySaverPolicyTest Change-Id: I66004f156352484e183736897d3a2f484415f63a
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions