Language

BatteryHealth Enum

Definition

Enumerates values returned by several types.

public enum BatteryHealth
type BatteryHealth = 
Inheritance
BatteryHealth

Fields

Name Value Description
Unknown 1

Constant Value: 1 (0x00000001)

Good 2

Constant Value: 2 (0x00000002)

Overheat 3

Constant Value: 3 (0x00000003)

Dead 4

Constant Value: 4 (0x00000004)

OverVoltage 5

Constant Value: 5 (0x00000005)

UnspecifiedFailure 6

Constant Value: 6 (0x00000006)

Cold 7

Constant Value: 7 (0x00000007)

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