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

Unified Diff: telemetry/telemetry/internal/platform/linux_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 | « no previous file | telemetry/telemetry/internal/platform/mac_platform_backend.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/platform/linux_platform_backend.py
diff --git a/telemetry/telemetry/internal/platform/linux_platform_backend.py b/telemetry/telemetry/internal/platform/linux_platform_backend.py
index ba1d82ccfcb4b69c104d99fa63d2c72118600607..b266c9479af057f014b1a8d31d230debc54cd255 100644
--- a/telemetry/telemetry/internal/platform/linux_platform_backend.py
+++ b/telemetry/telemetry/internal/platform/linux_platform_backend.py
@@ -100,7 +100,9 @@ class LinuxPlatformBackend(
'Please teach Telemetry how to install ' + application)
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 | « no previous file | telemetry/telemetry/internal/platform/mac_platform_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698