Example usage for Java android.os BatteryManager fields, constructors, methods, implement or subclass
The text is from its open source code.
String | EXTRA_STATUS Extra for android.content.Intent#ACTION_BATTERY_CHANGED : integer containing the current status constant. |
String | EXTRA_HEALTH Extra for android.content.Intent#ACTION_BATTERY_CHANGED : integer containing the current health constant. |
String | EXTRA_PRESENT Extra for android.content.Intent#ACTION_BATTERY_CHANGED : boolean indicating whether a battery is present. |
String | EXTRA_LEVEL Extra for android.content.Intent#ACTION_BATTERY_CHANGED : integer field containing the current battery level, from 0 to #EXTRA_SCALE . |
String | EXTRA_SCALE Extra for android.content.Intent#ACTION_BATTERY_CHANGED : integer containing the maximum battery level. |
String | EXTRA_PLUGGED Extra for android.content.Intent#ACTION_BATTERY_CHANGED : 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. |
String | EXTRA_VOLTAGE Extra for android.content.Intent#ACTION_BATTERY_CHANGED : integer containing the current battery voltage level. |
String | EXTRA_TEMPERATURE Extra for android.content.Intent#ACTION_BATTERY_CHANGED : integer containing the current battery temperature. |
String | EXTRA_TECHNOLOGY Extra for android.content.Intent#ACTION_BATTERY_CHANGED : String describing the technology of the current battery. |
int | BATTERY_STATUS_UNKNOWN |
int | BATTERY_STATUS_CHARGING |
int | BATTERY_STATUS_DISCHARGING |
int | BATTERY_STATUS_NOT_CHARGING |
int | BATTERY_STATUS_FULL |
int | BATTERY_HEALTH_UNKNOWN |
int | BATTERY_HEALTH_GOOD |
int | BATTERY_HEALTH_OVERHEAT |
int | BATTERY_HEALTH_DEAD |
int | BATTERY_HEALTH_OVER_VOLTAGE |
int | BATTERY_HEALTH_UNSPECIFIED_FAILURE |
int | BATTERY_HEALTH_COLD |
int | BATTERY_PLUGGED_AC Power source is an AC charger. |
int | BATTERY_PLUGGED_USB Power source is a USB port. |
int | BATTERY_PLUGGED_WIRELESS Power source is wireless. |