/**@class android.os.BatteryManager
@extends java.lang.Object

 The BatteryManager class contains strings and constants used for values
 in the {@link android.content.Intent#ACTION_BATTERY_CHANGED} Intent, and
 provides a method for querying battery and charging properties.
*/
var BatteryManager = {

/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 integer containing the current status constant.
*/
EXTRA_STATUS : "status",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 integer containing the current health constant.
*/
EXTRA_HEALTH : "health",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 boolean indicating whether a battery is present.
*/
EXTRA_PRESENT : "present",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 integer field containing the current battery level, from 0 to
 {@link #EXTRA_SCALE}.
*/
EXTRA_LEVEL : "level",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 integer containing the maximum battery level.
*/
EXTRA_SCALE : "scale",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 integer containing the resource ID of a small status bar icon
 indicating the current battery state.
*/
EXTRA_ICON_SMALL : "icon-small",
/** Extra 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.
*/
EXTRA_PLUGGED : "plugged",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 integer containing the current battery voltage level.
*/
EXTRA_VOLTAGE : "voltage",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 integer containing the current battery temperature.
*/
EXTRA_TEMPERATURE : "temperature",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 String describing the technology of the current battery.
*/
EXTRA_TECHNOLOGY : "technology",
/** Extra for {@link android.content.Intent#ACTION_BATTERY_CHANGED}:
 Int value set to nonzero if an unsupported charger is attached
 to the device.
 {@hide}
*/
EXTRA_INVALID_CHARGER : "invalid_charger",
/***/
BATTERY_STATUS_UNKNOWN : "1",
/***/
BATTERY_STATUS_CHARGING : "2",
/***/
BATTERY_STATUS_DISCHARGING : "3",
/***/
BATTERY_STATUS_NOT_CHARGING : "4",
/***/
BATTERY_STATUS_FULL : "5",
/***/
BATTERY_HEALTH_UNKNOWN : "1",
/***/
BATTERY_HEALTH_GOOD : "2",
/***/
BATTERY_HEALTH_OVERHEAT : "3",
/***/
BATTERY_HEALTH_DEAD : "4",
/***/
BATTERY_HEALTH_OVER_VOLTAGE : "5",
/***/
BATTERY_HEALTH_UNSPECIFIED_FAILURE : "6",
/***/
BATTERY_HEALTH_COLD : "7",
/**Power source is an AC charger. */
BATTERY_PLUGGED_AC : "1",
/**Power source is a USB port. */
BATTERY_PLUGGED_USB : "2",
/**Power source is wireless. */
BATTERY_PLUGGED_WIRELESS : "4",
/**@hide */
BATTERY_PLUGGED_ANY : "7",
/** Sent when the device's battery has started charging (or has reached full charge
 and the device is on power).  This is a good time to do work that you would like to
 avoid doing while on battery (that is to avoid draining the user's battery due to
 things they don't care enough about).

 This is paired with {@link #ACTION_DISCHARGING}.  The current state can always
 be retrieved with {@link #isCharging}().
*/
ACTION_CHARGING : "android.os.action.CHARGING",
/** Sent when the device's battery may be discharging, so apps should avoid doing
 extraneous work that would cause it to discharge faster.

 This is paired with {@link #ACTION_CHARGING}.  The current state can always
 be retrieved with {@link #isCharging}().
*/
ACTION_DISCHARGING : "android.os.action.DISCHARGING",
/**Battery capacity in microampere-hours, as an integer. */
BATTERY_PROPERTY_CHARGE_COUNTER : "1",
/** Instantaneous 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.
*/
BATTERY_PROPERTY_CURRENT_NOW : "2",
/** Average 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.
*/
BATTERY_PROPERTY_CURRENT_AVERAGE : "3",
/** Remaining battery capacity as an integer percentage of total capacity
 (with no fractional part).
*/
BATTERY_PROPERTY_CAPACITY : "4",
/** Battery remaining energy in nanowatt-hours, as a long integer.
*/
BATTERY_PROPERTY_ENERGY_COUNTER : "5",
/**Return true if the battery is currently considered to be charging.  This means that
 the device is plugged in and is supplying sufficient power that the battery level is
 going up (or the battery is fully charged).  Changes in this state are matched by
 broadcasts of {@link #ACTION_CHARGING} and {@link #ACTION_DISCHARGING}.
*/
isCharging : function(  ) {},

/**Return the value of a battery property of integer type.  If the
 platform does not provide the property queried, this value will
 be Integer.MIN_VALUE.
@param {Number} id identifier of the requested property
@return {Number} the property value, or Integer.MIN_VALUE if not supported.
*/
getIntProperty : function(  ) {},

/**Return the value of a battery property of long type If the
 platform does not provide the property queried, this value will
 be Long.MIN_VALUE.
@param {Number} id identifier of the requested property
@return {Number} the property value, or Long.MIN_VALUE if not supported.
*/
getLongProperty : function(  ) {},


};