Index: telemetry/telemetry/core/platform.py |
diff --git a/telemetry/telemetry/core/platform.py b/telemetry/telemetry/core/platform.py |
index 7435c4ee249cdfb708fbd374335dfe18993b9f23..adbb20335ea61456f7266c7d54b69f85c2fb5284 100644 |
--- a/telemetry/telemetry/core/platform.py |
+++ b/telemetry/telemetry/core/platform.py |
@@ -421,5 +421,10 @@ class Platform(object): |
def HasBattOrConnected(self): |
return self._platform_backend.HasBattOrConnected() |
- def WaitForTemperature(self, temp): |
- return self._platform_backend.WaitForTemperature(temp) |
+ def WaitForBatteryTemperature(self, temp): |
+ """Waits for the battery on the device under test to cool down to temp. |
+ |
+ Args: |
+ temp: temperature target in degrees C. |
+ """ |
+ return self._platform_backend.WaitForBatteryTemperature(temp) |