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

Issue 1456803002: move set charging to powermonitorcontroller (Closed)

Created:
5 years, 1 month ago by alexandermont
Modified:
5 years, 1 month ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

move set charging to powermonitorcontroller BUG=558106 Committed: https://crrev.com/699b68b3f14abf7957bbba3e130b88317f6f2646 Cr-Commit-Position: refs/heads/master@{#360994}

Patch Set 1 #

Total comments: 6

Patch Set 2 : changes from code review #

Total comments: 14

Patch Set 3 : git commit -m "fix line lengths" #

Total comments: 5

Patch Set 4 : remove set_charge #

Total comments: 2

Patch Set 5 : move function definitions #

Patch Set 6 : move setcharging to powermonitorcontroller #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -197 lines) Patch
M tools/telemetry/telemetry/internal/platform/android_platform_backend.py View 1 2 3 4 5 2 chunks +7 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor_unittest.py View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/internal/platform/power_monitor/android_fuelgauge_power_monitor.py View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/internal/platform/power_monitor/android_fuelgauge_power_monitor_unittest.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py View 1 2 3 4 5 1 chunk +0 lines, -9 lines 0 comments Download
A + tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_controller.py View 1 2 3 4 4 chunks +15 lines, -4 lines 0 comments Download
A + tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_controller_unittest.py View 1 2 5 chunks +10 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/internal/platform/power_monitor/power_monitor_controller.py View 1 1 chunk +0 lines, -79 lines 0 comments Download
M tools/telemetry/telemetry/internal/platform/power_monitor/power_monitor_controller_unittest.py View 1 1 chunk +0 lines, -86 lines 0 comments Download

Messages

Total messages: 28 (8 generated)
alexandermont
Move enabling/disabling of charging to PowerMonitorController.
5 years, 1 month ago (2015-11-17 23:59:56 UTC) #2
rnephew (Wrong account)
https://codereview.chromium.org/1456803002/diff/1/tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/1456803002/diff/1/tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py#newcode45 tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py:45: def StopMonitoringPower(self, set_charge=True): This could be set in the ...
5 years, 1 month ago (2015-11-18 00:40:02 UTC) #3
alexandermont
Note that the presubmit checks found errors where some of the lines are too long. ...
5 years, 1 month ago (2015-11-18 19:15:04 UTC) #4
rnephew (Wrong account)
https://codereview.chromium.org/1456803002/diff/20001/tools/telemetry/telemetry/internal/platform/android_platform_backend.py File tools/telemetry/telemetry/internal/platform/android_platform_backend.py (right): https://codereview.chromium.org/1456803002/diff/20001/tools/telemetry/telemetry/internal/platform/android_platform_backend.py#newcode27 tools/telemetry/telemetry/internal/platform/android_platform_backend.py:27: from telemetry.internal.platform.power_monitor import android_power_monitor_controller Same linelength fix as the ...
5 years, 1 month ago (2015-11-18 19:33:26 UTC) #5
alexandermont
Line lengths have been fixed. https://codereview.chromium.org/1456803002/diff/20001/tools/telemetry/telemetry/internal/platform/android_platform_backend.py File tools/telemetry/telemetry/internal/platform/android_platform_backend.py (right): https://codereview.chromium.org/1456803002/diff/20001/tools/telemetry/telemetry/internal/platform/android_platform_backend.py#newcode27 tools/telemetry/telemetry/internal/platform/android_platform_backend.py:27: from telemetry.internal.platform.power_monitor import android_power_monitor_controller ...
5 years, 1 month ago (2015-11-18 21:31:11 UTC) #6
nednguyen
Please file a bug & put the bug number in "BUG=..." to keep track of ...
5 years, 1 month ago (2015-11-19 00:07:27 UTC) #7
rnephew (Wrong account)
https://codereview.chromium.org/1456803002/diff/40001/tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/1456803002/diff/40001/tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py#newcode44 tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py:44: self._ChargingOff(self._battery) On 2015/11/19 00:07:27, nednguyen wrote: > Hmh, I ...
5 years, 1 month ago (2015-11-19 00:28:54 UTC) #8
rnephew (Wrong account)
https://codereview.chromium.org/1456803002/diff/40001/tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/1456803002/diff/40001/tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py#newcode16 tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py:16: def __init__(self, battery, platform_backend, set_charge=True): Me and Ned talked, ...
5 years, 1 month ago (2015-11-19 15:57:14 UTC) #10
alexandermont
Removed the set_charge parameter. https://codereview.chromium.org/1456803002/diff/40001/tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://codereview.chromium.org/1456803002/diff/40001/tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py#newcode16 tools/telemetry/telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py:16: def __init__(self, battery, platform_backend, set_charge=True): ...
5 years, 1 month ago (2015-11-19 17:53:29 UTC) #11
nednguyen
https://codereview.chromium.org/1456803002/diff/60001/tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py File tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py (right): https://codereview.chromium.org/1456803002/diff/60001/tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py#newcode39 tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py:39: battery.SetCharging(False) These methods also should be moved to android_power_monitor_controller.py?
5 years, 1 month ago (2015-11-19 18:12:42 UTC) #12
alexandermont
https://codereview.chromium.org/1456803002/diff/60001/tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py File tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py (right): https://codereview.chromium.org/1456803002/diff/60001/tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py#newcode39 tools/telemetry/telemetry/internal/platform/power_monitor/android_power_monitor_base.py:39: battery.SetCharging(False) On 2015/11/19 at 18:12:42, nednguyen wrote: > These ...
5 years, 1 month ago (2015-11-19 20:01:35 UTC) #13
nednguyen
lgtm
5 years, 1 month ago (2015-11-19 20:05:33 UTC) #14
rnephew (Wrong account)
On 2015/11/19 20:05:33, nednguyen wrote: > lgtm lgtm
5 years, 1 month ago (2015-11-20 22:09:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456803002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456803002/80001
5 years, 1 month ago (2015-11-20 22:29:04 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/126262) mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-11-20 22:33:14 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456803002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456803002/100001
5 years, 1 month ago (2015-11-21 01:07:17 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/134112)
5 years, 1 month ago (2015-11-21 02:38:29 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456803002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456803002/100001
5 years, 1 month ago (2015-11-21 02:52:43 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-21 03:21:45 UTC) #27
commit-bot: I haz the power
5 years, 1 month ago (2015-11-21 03:22:40 UTC) #28
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/699b68b3f14abf7957bbba3e130b88317f6f2646
Cr-Commit-Position: refs/heads/master@{#360994}

Powered by Google App Engine
This is Rietveld 408576698