Condividi tramite


BatteryManager.BatteryPropertyCurrentNow Field

Definition

Caution

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

Instantaneous battery current in microamperes, as an integer.

[Android.Runtime.Register("BATTERY_PROPERTY_CURRENT_NOW")]
[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 BatteryPropertyCurrentNow = 2;
[<Android.Runtime.Register("BATTERY_PROPERTY_CURRENT_NOW")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BatteryProperty enum directly instead of this field.", true)>]
val mutable BatteryPropertyCurrentNow : Android.OS.BatteryProperty

Field Value

Value = 2
Attributes

Remarks

Instantaneous 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.

Java documentation for android.os.BatteryManager.BATTERY_PROPERTY_CURRENT_NOW.

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