Index: tools/telemetry/telemetry/page/page_runner.py |
diff --git a/tools/telemetry/telemetry/page/page_runner.py b/tools/telemetry/telemetry/page/page_runner.py |
index 618894e4ef6e2f31a9c35b1f7d9dca1c79786d2a..01f4b3ca15dae4d1fc634925f608aa3de374ac08 100644 |
--- a/tools/telemetry/telemetry/page/page_runner.py |
+++ b/tools/telemetry/telemetry/page/page_runner.py |
@@ -412,7 +412,7 @@ def _WaitForThermalThrottlingIfNeeded(platform): |
thermal_throttling_retry += 1 |
time.sleep(thermal_throttling_retry * 2) |
- if platform.IsThermallyThrottled(): |
+ if thermal_throttling_retry and platform.IsThermallyThrottled(): |
logging.error('Device is thermally throttled before running ' |
'performance tests, results will vary.') |