Compartilhar via


BatteryManager.BatteryPropertyCapacity Field

Definition

Caution

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

Remaining battery capacity as an integer percentage of total capacity (with no fractional part).

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

Field Value

Value = 4
Attributes

Remarks

Remaining battery capacity as an integer percentage of total capacity (with no fractional part).

Java documentation for android.os.BatteryManager.BATTERY_PROPERTY_CAPACITY.

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