Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1339)

Unified Diff: telemetry/telemetry/internal/platform/win_platform_backend.py

Issue 3016533002: Disable power monitoring on all desktop platforms (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « telemetry/telemetry/internal/platform/mac_platform_backend.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/win_platform_backend.py
diff --git a/telemetry/telemetry/internal/platform/win_platform_backend.py b/telemetry/telemetry/internal/platform/win_platform_backend.py
index 47eab451ffe8618321b0638dc015bb9188682503..e61a8e33df8c6822920ae68761e8f62683d835ae 100644
--- a/telemetry/telemetry/internal/platform/win_platform_backend.py
+++ b/telemetry/telemetry/internal/platform/win_platform_backend.py
@@ -359,7 +359,9 @@ class WinPlatformBackend(desktop_platform_backend.DesktopPlatformBackend):
return handle
def CanMonitorPower(self):
- return self._power_monitor.CanMonitorPower()
+ # TODO(charliea): This is a stopgap until all desktop power monitoring code
+ # can be removed. (crbug.com/763263)
+ return False
def CanMeasurePerApplicationPower(self):
return self._power_monitor.CanMeasurePerApplicationPower()
« no previous file with comments | « telemetry/telemetry/internal/platform/mac_platform_backend.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698