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

Issue 1010213008: [Telemetry] Use new battery disabling method for telemetry. (Closed)

Created:
5 years, 9 months ago by rnephew (Reviews Here)
Modified:
5 years, 9 months 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

[Telemetry] Use new battery disabling method for telemetry. A new way to enable collection of power data that is not dependant on the divice was implemented in https://codereview.chromium.org/993733002/ This CL is to change telemetry to use this when getting dumpsys data. This method of disabling charging does not work with monsoon since it does not actualy disable charging, but just starts the dumpsys collection. BUG= Committed: https://crrev.com/f83d74abc7eb83445e074cec0925f57fb6f53dd2 Cr-Commit-Position: refs/heads/master@{#321945}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py View 1 chunk +2 lines, -2 lines 1 comment Download

Messages

Total messages: 20 (4 generated)
rnephew (Wrong account)
5 years, 9 months ago (2015-03-18 19:30:59 UTC) #2
rnephew (Wrong account)
5 years, 9 months ago (2015-03-18 19:33:33 UTC) #4
rnephew (Wrong account)
On 2015/03/18 19:33:33, rnephew wrote: The trybot run is here: https://codereview.chromium.org/1019613002 It failed because one ...
5 years, 9 months ago (2015-03-18 21:26:56 UTC) #5
sullivan
On 2015/03/18 21:26:56, rnephew wrote: > On 2015/03/18 19:33:33, rnephew wrote: > > The trybot ...
5 years, 9 months ago (2015-03-19 13:52:51 UTC) #6
rnephew (Wrong account)
On 2015/03/19 13:52:51, sullivan wrote: > On 2015/03/18 21:26:56, rnephew wrote: > > On 2015/03/18 ...
5 years, 9 months ago (2015-03-19 14:24:00 UTC) #7
sullivan
+Ned as well, to see if he has opinions on handling the difference in OS ...
5 years, 9 months ago (2015-03-19 14:30:04 UTC) #9
rnephew (Wrong account)
I re-ran the trybot after https://codereview.chromium.org/1012383006/ landed. https://codereview.chromium.org/1030683002 Works on KK with that fix.
5 years, 9 months ago (2015-03-23 16:58:33 UTC) #10
sullivan
lgtm
5 years, 9 months ago (2015-03-24 01:08:37 UTC) #11
nednguyen
On 2015/03/24 01:08:37, sullivan wrote: > lgtm Do those 2 methods still work on both ...
5 years, 9 months ago (2015-03-24 01:17:05 UTC) #12
sullivan
On 2015/03/24 01:17:05, nednguyen wrote: > On 2015/03/24 01:08:37, sullivan wrote: > > lgtm > ...
5 years, 9 months ago (2015-03-24 01:20:57 UTC) #13
nednguyen
https://codereview.chromium.org/1010213008/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://codereview.chromium.org/1010213008/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py#newcode38 tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py:38: self._device.DisableBatteryUpdates() If this doesn't really work on K, I ...
5 years, 9 months ago (2015-03-24 01:49:31 UTC) #14
rnephew (Wrong account)
On 2015/03/24 01:49:31, nednguyen wrote: > https://codereview.chromium.org/1010213008/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): > > ...
5 years, 9 months ago (2015-03-24 02:04:53 UTC) #15
nednguyen
On 2015/03/24 02:04:53, rnephew wrote: > On 2015/03/24 01:49:31, nednguyen wrote: > > > https://codereview.chromium.org/1010213008/diff/1/tools/telemetry/telemetry/core/platform/power_monitor/android_dumpsys_power_monitor.py ...
5 years, 9 months ago (2015-03-24 02:31:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1010213008/1
5 years, 9 months ago (2015-03-24 05:58:31 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 9 months ago (2015-03-24 07:02:06 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 07:02:50 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f83d74abc7eb83445e074cec0925f57fb6f53dd2
Cr-Commit-Position: refs/heads/master@{#321945}

Powered by Google App Engine
This is Rietveld 408576698