Partager via


BatteryManager.ExtraLevel Field

Definition

Extra for android.content.Intent#ACTION_BATTERY_CHANGED: integer field containing the current battery level, from 0 to #EXTRA_SCALE.

[Android.Runtime.Register("EXTRA_LEVEL")]
public const string ExtraLevel;
[<Android.Runtime.Register("EXTRA_LEVEL")>]
val mutable ExtraLevel : string

Field Value

Attributes

Remarks

Extra for android.content.Intent#ACTION_BATTERY_CHANGED: integer field containing the current battery level, from 0 to #EXTRA_SCALE.

Java documentation for android.os.BatteryManager.EXTRA_LEVEL.

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