Partager via


BatteryManager.BatteryPropertyCurrentAverage Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.

Average battery current in microamperes, as an integer.

[Android.Runtime.Register("BATTERY_PROPERTY_CURRENT_AVERAGE")]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.", true)]
public const Android.OS.BatteryProperty BatteryPropertyCurrentAverage = 3;
[<Android.Runtime.Register("BATTERY_PROPERTY_CURRENT_AVERAGE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.", true)>]
val mutable BatteryPropertyCurrentAverage : Android.OS.BatteryProperty

Field Value

Value = 3
Attributes

Remarks

Average battery current in microamperes, as an integer. Positive values indicate net current entering the battery from a charge source, negative values indicate net current discharging from the battery. The time period over which the average is computed may depend on the fuel gauge hardware and its configuration.

Java documentation for android.os.BatteryManager.BATTERY_PROPERTY_CURRENT_AVERAGE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to