Enum BatteryWarning
class BatteryWarning
method getValue
public int getValue());
Description: Obtains the battery warning status.
Input parameter: none.
Output parameter: the battery warning status.
/**
* Battery is in normal state.
*/
NORMAL(0, "Battery in normal condition"),
/**
* Battery is low.
*/
LOW(1, "Low battery warning"),
/**
* Battery is critically low.
*/
CRITICAL(2, "Extremely low battery warning"),
/**
* Battery power is unknown.
*/
UNKNOWN(3, "Unknown battery warning");
Relevant parameter none.