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

Unified Diff: tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor.py

Issue 186143002: Don't set the max current on the monsoon device by default (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 10 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 | tools/telemetry/telemetry/core/platform/profiler/monsoon_profiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor.py
diff --git a/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor.py b/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor.py
index 25176ecdb4514fdb76c0f6451be418b711e956fb..a1e3629d95d1c3ff85e421fce8e3c5c51a99da8f 100644
--- a/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor.py
+++ b/tools/telemetry/telemetry/core/platform/power_monitor/monsoon_power_monitor.py
@@ -51,7 +51,6 @@ class MonsoonPowerMonitor(power_monitor.PowerMonitor):
self._monsoon = None
try:
self._monsoon = monsoon.Monsoon(wait=False)
- self._monsoon.SetMaxCurrent(2.0)
# Nominal Li-ion voltage is 3.7V, but it puts out 4.2V at max capacity.
# Use 4.0V to simulate a "~80%" charged battery. Google "li-ion voltage
# curve". This is true only for a single cell. (Most smartphones, some
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/platform/profiler/monsoon_profiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698