telemetry.internal.platform.power_monitor.android_fuelgauge_power_monitor
index
telemetry/internal/platform/power_monitor/android_fuelgauge_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
       
logging
telemetry.internal.platform.power_monitor

 
Classes
       
telemetry.internal.platform.power_monitor.PowerMonitor(__builtin__.object)
FuelGaugePowerMonitor

 
class FuelGaugePowerMonitor(telemetry.internal.platform.power_monitor.PowerMonitor)
    PowerMonitor that relies on the fuel gauge chips to monitor the power
consumption of a android device.
 
 
Method resolution order:
FuelGaugePowerMonitor
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(voltage, fuel_gauge_delta)

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)