Chromium Code Reviews| Index: build/android/pylib/device/battery_utils.py |
| diff --git a/build/android/pylib/device/battery_utils.py b/build/android/pylib/device/battery_utils.py |
| index aa9b657b03dbad8b1322fa65ee7e2a722cdfba7c..263a8dffc36b63e4f016f4e9fbc2441fb2ffcbb3 100644 |
| --- a/build/android/pylib/device/battery_utils.py |
| +++ b/build/android/pylib/device/battery_utils.py |
| @@ -455,6 +455,8 @@ class BatteryUtils(object): |
| logging.info('Current battery temperature: %s', temp) |
| return int(temp) <= target_temp |
| + self._device.RunShellCommand( |
|
jbudorick
2015/07/01 23:23:32
EnableBatteryUpdates?
Also, if battery updates ar
rnephew (Reviews Here)
2015/07/01 23:28:42
I think we can view this like the charging command
|
| + ['dumpsys', 'battery', 'reset'], check_return=True) |
| logging.info('Waiting for the device to cool down to %s (0.1 C)', |
| target_temp) |
| timeout_retry.WaitFor(cool_device, wait_period=wait_period) |