Python: module telemetry.internal.platform.power_monitor.android_dumpsys_power_monitor

telemetry.internal.platform.power_monitor.android_dumpsys_power_monitor | index telemetry/internal/platform/power_monitor/android_dumpsys_power_monitor.py

`# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Modules
`` |  |
csv | logging | telemetry.internal.platform.power_monitor |

Classes
`` |  | telemetry.internal.platform.power_monitor.PowerMonitor(__builtin__.object) DumpsysPowerMonitor
class DumpsysPowerMonitor(telemetry.internal.platform.power_monitor.PowerMonitor)
`` | `PowerMonitor that relies on the dumpsys batterystats to monitor the power consumption of a single android application. This measure uses a heuristic and is the same information end-users see with the battery application. Available on Android L and higher releases.`
| Method resolution order: DumpsysPowerMonitor telemetry.internal.platform.power_monitor.PowerMonitor __builtin__.object Methods defined here: CanMonitorPower(self) StartMonitoringPower(self, browser) StopMonitoringPower(self) __init__(self, battery, platform_backend) `Constructor. Args: battery: A BatteryUtil instance. platform_backend: A LinuxBasedPlatformBackend instance.` Static methods defined here: ProcessPowerData(power_data, voltage, package) Methods inherited from telemetry.internal.platform.power_monitor.PowerMonitor: CanMeasurePerApplicationPower(self) `Returns True if the power monitor can measure power for the target application in isolation. False if power measurement is for full system energy consumption.` Data descriptors inherited from telemetry.internal.platform.power_monitor.PowerMonitor: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`