public final class

BatteryStatus

extends Object
java.lang.Object
   ↳ com.datalogic.device.battery.BatteryStatus

Class Overview

The BatteryStatus provides information related to the battery lifetime and realtime values.

Summary

Public Constructors
BatteryStatus()
Public Methods
int getBatteryStateOfHealth()
Returns the percentage of the state of health of the battery.
int getCapacityFull()
Returns last remembered value of charge in when battery became full/empty.
int getCapacityRemaining()
Returns the instantaneous value of the remaining available capacity of the battery.
int getChargeCurrentMax()
Returns the value of the maximum current recorded by the battery.
int getDischargeCurrentMax()
Returns the value of the maximum discharge current recorded by the battery.
int getTemperatureMax()
Returns the value of the maximum temperature recorded by the battery.
int getTemperatureMin()
Returns the value of the minimum temperature recorded by the battery.
int getTimeToEmpty()
Returns the time left for battery to be considered empty.
int getTotalDischarge()
Returns the value of the total amount of discharge current caused the charging cycles of the battery.
int getVoltageMax()
Returns the value of the maximum voltage recorded by the battery.
int getVoltageMin()
Returns the value of the minimum voltage recorded by the battery.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BatteryStatus ()

Added in revision 13

Public Methods

public int getBatteryStateOfHealth ()

Added in revision 13

Returns the percentage of the state of health of the battery.

Returns
  • int The percentage of the state of health of the battery.

public int getCapacityFull ()

Added in revision 13

Returns last remembered value of charge in when battery became full/empty.

Returns
  • int The last remembered value of charge in when battery became full/empty in mAh.

public int getCapacityRemaining ()

Added in revision 13

Returns the instantaneous value of the remaining available capacity of the battery.

Returns
  • int The remaining available capacity of the battery in mAh.

public int getChargeCurrentMax ()

Added in revision 13

Returns the value of the maximum current recorded by the battery.

Returns
  • int The value of the maximum current recorded by the battery in mA.

public int getDischargeCurrentMax ()

Added in revision 13

Returns the value of the maximum discharge current recorded by the battery.

Returns
  • int The value of the maximum discharge current recorded by the battery in mA.

public int getTemperatureMax ()

Added in revision 13

Returns the value of the maximum temperature recorded by the battery.

Returns
  • int The value of the maximum temperature recorded by the battery in 0.1 °C.

public int getTemperatureMin ()

Added in revision 13

Returns the value of the minimum temperature recorded by the battery.

Returns
  • int The value of the minimum temperature recorded by the battery in 0.1 °C.

public int getTimeToEmpty ()

Added in revision 13

Returns the time left for battery to be considered empty.

Returns
  • int The time left for battery to be considered empty in seconds.

public int getTotalDischarge ()

Added in revision 13

Returns the value of the total amount of discharge current caused the charging cycles of the battery.

Returns
  • int The total amount of discharge current in 0.1 Ah.

public int getVoltageMax ()

Added in revision 13

Returns the value of the maximum voltage recorded by the battery.

Returns
  • int The value of the maximum voltage recorded by the battery in mV.

public int getVoltageMin ()

Added in revision 13

Returns the value of the minimum voltage recorded by the battery.

Returns
  • int The value of the minimum voltage recorded by the battery in mV.