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 78bab02059b70d251bfeb13ae139d1a0d268d399..227e902c34a492850ebfdc1dc3143d9cfbd5c1b5 100644 |
--- a/build/android/pylib/device/battery_utils.py |
+++ b/build/android/pylib/device/battery_utils.py |
@@ -200,7 +200,6 @@ class BatteryUtils(object): |
Raises: |
device_errors.CommandFailedError: If method of disabling charging cannot |
be determined. |
- device_errors.DeviceVersionError: If device is not L or higher. |
""" |
if 'charging_config' not in self._cache: |
for c in _CONTROL_CHARGING_COMMANDS: |
@@ -271,6 +270,9 @@ class BatteryUtils(object): |
Args: |
timeout: timeout in seconds |
retries: number of retries |
+ |
+ Raises: |
+ device_errors.DeviceVersionError: If device is not L or higher. |
""" |
def battery_updates_enabled(): |
return self.GetCharging() is True |