The members of Android.OS.BatteryManager are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | BatteryHealthCold | BatteryHealth (7). |
const | BatteryHealthDead | BatteryHealth (4). |
const | BatteryHealthGood | BatteryHealth (2). |
const | BatteryHealthOverheat | BatteryHealth (3). |
const | BatteryHealthOverVoltage | BatteryHealth (5). |
const | BatteryHealthUnknown | BatteryHealth (1). |
const | BatteryHealthUnspecifiedFailure | BatteryHealth (6). |
const | BatteryPluggedAc | BatteryPlugged (1). Power source is an AC charger. |
const | BatteryPluggedUsb | BatteryPlugged (2). Power source is a USB port. |
const | BatteryPluggedWireless | BatteryPlugged (4). Power source is wireless. |
const | BatteryPropertyCapacity | BatteryProperty (4). Remaining battery capacity as an integer percentage of total capacity (with no fractional part). |
const | BatteryPropertyChargeCounter | BatteryProperty (1). Battery capacity in microampere-hours, as an integer. |
const | BatteryPropertyCurrentAverage | BatteryProperty (3). Average battery current in microamperes, as an integer. |
const | BatteryPropertyCurrentNow | BatteryProperty (2). Instantaneous battery current in microamperes, as an integer. |
const | BatteryPropertyEnergyCounter | BatteryProperty (5). Battery remaining energy in nanowatt-hours, as a long integer. |
const | BatteryStatusCharging | BatteryStatus (2). |
const | BatteryStatusDischarging | BatteryStatus (3). |
const | BatteryStatusFull | BatteryStatus (5). |
const | BatteryStatusNotCharging | BatteryStatus (4). |
const | BatteryStatusUnknown | BatteryStatus (1). |
const | ExtraHealth | string. Extra for Android.Content.Intent.ActionBatteryChanged: integer containing the current health constant. |
const | ExtraIconSmall | string. Extra for Android.Content.Intent.ActionBatteryChanged: integer containing the resource ID of a small status bar icon indicating the current battery state. |
const | ExtraLevel | string. Extra for Android.Content.Intent.ActionBatteryChanged: integer field containing the current battery level, from 0 to BatteryManager.ExtraScale. |
const | ExtraPlugged | string. Extra for Android.Content.Intent.ActionBatteryChanged: integer indicating whether the device is plugged in to a power source; 0 means it is on battery, other constants are different types of power sources. |
const | ExtraPresent | string. Extra for Android.Content.Intent.ActionBatteryChanged: boolean indicating whether a battery is present. |
const | ExtraScale | string. Extra for Android.Content.Intent.ActionBatteryChanged: integer containing the maximum battery level. |
const | ExtraStatus | string. Extra for Android.Content.Intent.ActionBatteryChanged: integer containing the current status constant. |
const | ExtraTechnology | string. Extra for Android.Content.Intent.ActionBatteryChanged: String describing the technology of the current battery. |
const | ExtraTemperature | string. Extra for Android.Content.Intent.ActionBatteryChanged: integer containing the current battery temperature. |
const | ExtraVoltage | string. Extra for Android.Content.Intent.ActionBatteryChanged: integer containing the current battery voltage level. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
GetIntProperty(int)Return the value of a battery property of integer type. | ||
GetLongProperty(int)Return the value of a battery property of long type If the platform does not provide the property queried, this value will be Long. |