BatteryStatus Enum

Definition

Enumerates values returned by several types.

public enum BatteryStatus
type BatteryStatus = 
Inheritance
BatteryStatus

Fields

Name Value Description
Unknown 1

Constant Value: 1 (0x00000001)

Charging 2

Constant Value: 2 (0x00000002)

Discharging 3

Constant Value: 3 (0x00000003)

NotCharging 4

Constant Value: 4 (0x00000004)

Full 5

Constant Value: 5 (0x00000005)

Remarks

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.

Java documentation for android.os.BatteryManager.

Applies to