Skip to main content

API for obtaining the EVO battery information

class  EvoBatteryInfo

method getSafeStatus

long getSafeStatus();

Description: Obtains the battery health status.

Input parameter: none.

Output parameter: the battery health status.

Relevant parameter none.

method getResidualTime

long getResidualTime();

Description: Obtains the remaining battery time.

Input parameter: none.

Output parameter: the remaining battery time.

Relevant parameter none.

method getFullCapacity

float getFullCapacity();

Description: Obtains the battery capacity.

Input parameter: none.

Output parameter: the battery capacity,

Relevant parameter none.

method getDeviceStatus

float getDeviceStatus();

Description: Obtains the device status.

Input parameter: none.

Output parameter: the device status.

Relevant parameter none.

method getCellNumber

int getCellNumber();

Description: Obtains the phone number.

Input parameter: none.

Output parameter: the phone number.

Relevant parameter none.

method isShutdownNotifyOpened

boolean isShutdownNotifyOpened();

Description: Checks whether the Shutdown Notify feature is enabled or disabled.

Input parameter: none.

Output parameter: the result showing whether the feature is enabled or not.

Relevant parameter none.

method isCommunicationFailed

boolean isCommunicationFailed();

Description: Checks whether the communication with the barometer failed.

Input parameter: none.

Output parameter: the result showing whether the barometer can be communicated correctly.

Relevant parameter none.

method isCellVoltageExceptional

boolean isCellVoltageExceptional();

Description: Checks whether the battery voltage is normal.

Input parameter: none.

Output parameter: the result showing whether the battery voltage is normal.

Relevant parameter none.

method isOverTemperatureForDischarge

boolean isOverTemperatureForDischarge();

Description: Checks whether the temperature for discharging is over heated.

Input parameter: none.

Output parameter: the result showing whether the temperature for discharging is over heated.

Relevant parameter none.

method isUnderTemperatureForDischarge

boolean isUnderTemperatureForDischarge();

Description: Checks whether the temperature for discharging is too low.

Input parameter: none.

Output parameter: the result showing whether the temperature for discharging is too low.

Relevant parameter none.

method isUnderTemperatureForDischarge2

boolean isUnderTemperatureForDischarge2();

Description: Checks whether the temperature for discharging is too low.

Input parameter: none.

Output parameter: the result showing whether the temperature for discharging is too low.

Relevant parameter none.

method isOverTemperatureForCharge

boolean isOverTemperatureForCharge();

Description: Checks whether the charge temperature is too high.

Input parameter: none.

Output parameter: the result showing whether the charge temperature is too high.

Relevant parameter none.

method isUnderTemperatureForCharge

boolean isUnderTemperatureForCharge();

Description: Checks whether the charge temperature is too low.

Input parameter: none.

Output parameter: the result showing whether the charge temperature is too low.

Relevant parameter none.

method isOverTemperatureForCharge2

boolean isOverTemperatureForCharge2();

Description: Checks whether the charge temperature is too high.

Input parameter: none.

Output parameter: the result showing whether the charge temperature is too high.

Relevant parameter none.

method isUnderVoltageForCellCompensated

boolean isUnderVoltageForCellCompensated();

Description: Checks whether the voltage compensation is required for the battery.

Input parameter: none.

Output parameter: the result showing whether the voltage compensation is required for the battery.

Relevant parameter none.

method isShortCircuitForDischarge

boolean isShortCircuitForDischarge();

Description: Checks whether the battery is short circuited during discharging.

Input parameter: none.

Output parameter: the result showing whether the battery is short circuited during discharging.

Relevant parameter none.

method isShortCircuitForDischargeLatch

boolean isShortCircuitForDischargeLatch();

Description: Checks whether the short circuit latch is enabled.

Input parameter: none.

Output parameter: the result showing whether the short circuit latch is enabled.

Relevant parameter none.

method isShortCircuitForCharge

boolean isShortCircuitForCharge();

Description: Checks whether the battery is short circuited during charging.

Input parameter: none.

Output parameter: the result showing whether the battery is short circuited during charging.

Relevant parameter none.

method isOverCurrentForCharge

boolean isOverCurrentForCharge();

Description: Checks whether the battery is overcharged.

Input parameter: none.

Output parameter: the result showing whether the battery is overcharged.

Relevant parameter none.

method isCellOverVoltage

boolean isCellOverVoltage();

Description: Checks whether the battery voltage is too high.

Input parameter: none.

Output parameter: the result showing whether the battery voltage is too high.

Relevant parameter none.

method isCellUnderVoltage

boolean isCellUnderVoltage();

Description: Checks whether the battery voltage is too low.

Input parameter: none.

Output parameter: the result showing whether the battery voltage is too low.

Relevant parameter none.

method isOverloadForDischarge

boolean isOverloadForDischarge();

Description: Checks whether the battery is overloaded when it is discharging.

Input parameter: none.

Output parameter: the result showing whether the battery is overloaded when it is discharging.

Relevant parameter none.

method isBatteryOutOfService

boolean isBatteryOutOfService();

Description: Checks whether the battery is out of service.

Input parameter: none.

Output parameter: the result showing whether the battery is out of service.

Relevant parameter none.