Fields Summary |
---|
public static final String | EXTRA_STATUSExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
integer containing the current status constant. |
public static final String | EXTRA_HEALTHExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
integer containing the current health constant. |
public static final String | EXTRA_PRESENTExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
boolean indicating whether a battery is present. |
public static final String | EXTRA_LEVELExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
integer field containing the current battery level, from 0 to
{@link #EXTRA_SCALE}. |
public static final String | EXTRA_SCALEExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
integer containing the maximum battery level. |
public static final String | EXTRA_ICON_SMALLExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
integer containing the resource ID of a small status bar icon
indicating the current battery state. |
public static final String | EXTRA_PLUGGEDExtra for {@link 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. |
public static final String | EXTRA_VOLTAGEExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
integer containing the current battery voltage level. |
public static final String | EXTRA_TEMPERATUREExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
integer containing the current battery temperature. |
public static final String | EXTRA_TECHNOLOGYExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
String describing the technology of the current battery. |
public static final String | EXTRA_INVALID_CHARGERExtra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
Int value set to nonzero if an unsupported charger is attached
to the device.
{@hide} |
public static final int | BATTERY_STATUS_UNKNOWN |
public static final int | BATTERY_STATUS_CHARGING |
public static final int | BATTERY_STATUS_DISCHARGING |
public static final int | BATTERY_STATUS_NOT_CHARGING |
public static final int | BATTERY_STATUS_FULL |
public static final int | BATTERY_HEALTH_UNKNOWN |
public static final int | BATTERY_HEALTH_GOOD |
public static final int | BATTERY_HEALTH_OVERHEAT |
public static final int | BATTERY_HEALTH_DEAD |
public static final int | BATTERY_HEALTH_OVER_VOLTAGE |
public static final int | BATTERY_HEALTH_UNSPECIFIED_FAILURE |
public static final int | BATTERY_HEALTH_COLD |
public static final int | BATTERY_PLUGGED_ACPower source is an AC charger. |
public static final int | BATTERY_PLUGGED_USBPower source is a USB port. |
public static final int | BATTERY_PLUGGED_WIRELESSPower source is wireless. |
public static final int | BATTERY_PLUGGED_ANY |
public static final int | BATTERY_PROPERTY_CHARGE_COUNTERBattery capacity in microampere-hours, as an integer. |
public static final int | BATTERY_PROPERTY_CURRENT_NOWInstantaneous battery current in microamperes, as an integer. Positive
values indicate net current entering the battery from a charge source,
negative values indicate net current discharging from the battery. |
public static final int | BATTERY_PROPERTY_CURRENT_AVERAGEAverage battery current in microamperes, as an integer. Positive
values indicate net current entering the battery from a charge source,
negative values indicate net current discharging from the battery.
The time period over which the average is computed may depend on the
fuel gauge hardware and its configuration. |
public static final int | BATTERY_PROPERTY_CAPACITYRemaining battery capacity as an integer percentage of total capacity
(with no fractional part). |
public static final int | BATTERY_PROPERTY_ENERGY_COUNTERBattery remaining energy in nanowatt-hours, as a long integer. |
private android.os.IBatteryPropertiesRegistrar | mBatteryPropertiesRegistrar |