Commit b42c0a9f authored by fmeawad's avatar fmeawad Committed by Commit bot

Fix docstring in battery_utils

BUG=474701

Review URL: https://codereview.chromium.org/1078523002

Cr-Commit-Position: refs/heads/master@{#324367}
parent 107bd925
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment