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

Issue 617453004: [Telemetry] Support dumpsys power monitoring on the Nexus 5. (Closed)

Created:
6 years, 2 months ago by tonyg
Modified:
6 years, 2 months ago
Reviewers:
pasko, dtu, qsr
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, telemetry+watch_chromium.org, aschulm_stanford.edu
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Support dumpsys power monitoring on the Nexus 5. This adds the necessary commands to programmatically disable charging on the Nexus 5 as well as fixing a bug in the dumpsys power monitor. BUG=314481 Committed: https://crrev.com/6d11d3ee12a5ef05d5570661737a900105186fc6 Cr-Commit-Position: refs/heads/master@{#297428}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix style nit #

Patch Set 3 : Revert stray change #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -3 lines) Patch
M build/android/pylib/android_commands.py View 1 chunk +14 lines, -0 lines 1 comment Download
M tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py View 1 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
tonyg
6 years, 2 months ago (2014-09-29 20:46:56 UTC) #2
qsr
LGTM with question and nit. https://chromiumcodereview.appspot.com/617453004/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://chromiumcodereview.appspot.com/617453004/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode49 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:49: result.split('\n'))) Hum... The test ...
6 years, 2 months ago (2014-09-30 07:36:26 UTC) #3
tonyg
https://chromiumcodereview.appspot.com/617453004/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py File tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py (right): https://chromiumcodereview.appspot.com/617453004/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode49 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:49: result.split('\n'))) On 2014/09/30 07:36:26, qsr wrote: > Hum... The ...
6 years, 2 months ago (2014-09-30 14:36:03 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/617453004/40001
6 years, 2 months ago (2014-09-30 14:39:27 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001) as fe4b0582e6d4085ed90ed09dbc0a243cb3e77dd3
6 years, 2 months ago (2014-09-30 15:39:24 UTC) #7
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/6d11d3ee12a5ef05d5570661737a900105186fc6 Cr-Commit-Position: refs/heads/master@{#297428}
6 years, 2 months ago (2014-09-30 15:40:01 UTC) #8
pasko
https://codereview.chromium.org/617453004/diff/40001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/617453004/diff/40001/build/android/pylib/android_commands.py#newcode83 build/android/pylib/android_commands.py:83: # Setting the HIZ bit of the bq24192 causes ...
6 years, 2 months ago (2014-10-14 09:16:22 UTC) #10
tonyg
On 2014/10/14 09:16:22, pasko wrote: > https://codereview.chromium.org/617453004/diff/40001/build/android/pylib/android_commands.py > File build/android/pylib/android_commands.py (right): > > https://codereview.chromium.org/617453004/diff/40001/build/android/pylib/android_commands.py#newcode83 > ...
6 years, 2 months ago (2014-10-15 00:35:04 UTC) #11
aschulm
On 2014/10/15 00:35:04, tonyg wrote: > On 2014/10/14 09:16:22, pasko wrote: > > > https://codereview.chromium.org/617453004/diff/40001/build/android/pylib/android_commands.py ...
6 years, 2 months ago (2014-10-15 00:42:11 UTC) #12
tonyg
On 2014/10/15 00:42:11, aschulm wrote: > On 2014/10/15 00:35:04, tonyg wrote: > > On 2014/10/14 ...
6 years, 2 months ago (2014-10-15 00:48:50 UTC) #13
aschulm
6 years, 2 months ago (2014-10-15 01:15:13 UTC) #14
Message was sent while issue was closed.
> > Can you send around the datasheet? I'd like to investigate the features of
> other
> > power management circuits. I imagine since you are also looking at a TI
device
> > it should also have a HIZ state for the USB charging circuit.
> 
> http://www.ti.com/lit/ds/symlink/bq24192.pdf

Oh I assumed Egor was speaking of a PM circuit that is newer (or at least
different) than the one this patch is for.

Powered by Google App Engine
This is Rietveld 408576698