Skip to main content

BatteryEnum

enum class BatteryEnum

Description: Battery status enumeration

enum class BatteryEnum  (var value: Int) {
/**
*0-none
*/
NONE(0),

/**
*1- Charging
*/
CHARGING(1),

/**
*2-Full
*/
CHARGE_FULL(2),

/**
*3- Charging over temperature OTC
*/
CHARGE_OVER_OTC(3),

/**
*4-Charging timeout
*/
CHARGE_OUT_TIME(4),

/**
*5-forced stop
*/
CHARGE_FOCUS_STOP(5),

/**
*6-Charging off
*/
CHARGE_CLOSE(6),

/**
* UNKNOWN
*/
UNKNOWN(-1);
}