public abstract static class BatteryStats.ControllerActivityCounter extends Object
Constructor and Description |
---|
ControllerActivityCounter() |
Modifier and Type | Method and Description |
---|---|
abstract BatteryStats.LongCounter |
getIdleTimeCounter() |
abstract BatteryStats.LongCounter |
getPowerCounter() |
abstract BatteryStats.LongCounter |
getRxTimeCounter() |
abstract BatteryStats.LongCounter[] |
getTxTimeCounters()
An array of
BatteryStats.LongCounter , representing various transmit levels, where each level
may draw a different amount of power. |
public abstract BatteryStats.LongCounter getIdleTimeCounter()
BatteryStats.LongCounter
representing time spent (milliseconds) in the
idle state.public abstract BatteryStats.LongCounter getRxTimeCounter()
BatteryStats.LongCounter
representing time spent (milliseconds) in the
receive state.public abstract BatteryStats.LongCounter[] getTxTimeCounters()
BatteryStats.LongCounter
, representing various transmit levels, where each level
may draw a different amount of power. The levels themselves are controller-specific.BatteryStats.LongCounter
s representing time spent (milliseconds) in
various transmit level states.public abstract BatteryStats.LongCounter getPowerCounter()
BatteryStats.LongCounter
representing the power consumed by the controller
in all states, measured in milli-ampere-milliseconds (mAms). The counter may always
yield a value of 0 if the device doesn't support power calculations.