public final enum

BatteryInfo

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.battery.BatteryInfo

Class Overview

The BatteryInfo enumeration is the class that includes the battery info.

Summary

Enum Values
BatteryInfo  CAPACITY_FULL  Last remembered value of charge in when battery became full/empty in mAh. 
BatteryInfo  CAPACITY_REMAINING  The instantaneous value of the remaining available capacity of the battery in mAh. 
BatteryInfo  CHARGE_CURRENT_MAX  The value of the maximum charge current recorded by the battery during its life (in mA). 
BatteryInfo  CHARGE_CYCLES  The number of cycles the battery has undergone. 
BatteryInfo  DISCHARGE_CURRENT_MAX  The value of the maximum discharge current recorded by the battery during its life (in mA). 
BatteryInfo  FIRMWARE_VERSION  The version of the firmware loaded inside the gauge. 
BatteryInfo  FULL_CAPACITY_DESIGN  The capacity by desing of the battery in mAh. 
BatteryInfo  MANUFACTURER  The battery pack manufacturer name as set internally in the battery pack by the manufacturer. 
BatteryInfo  MODEL_NAME  The battery model name as set internally in the battery pack by the manufacturer. 
BatteryInfo  PRODUCTION_MONTH  The month of the production of the battery. 
BatteryInfo  PRODUCTION_WEEK  The week of the production of the battery. 
BatteryInfo  PRODUCTION_YEAR  The year of the production of the battery. 
BatteryInfo  PRODUCT_NUMBER  The battery product number as set internally in the battery pack by the manufacturer. 
BatteryInfo  RATED_CAPACITY  The battery rated capacity. 
BatteryInfo  SERIAL_NUMBER  The battery serial number as set internally in the battery pack by the manufacturer. 
BatteryInfo  STATE_OF_HEALTH  The percentage of the state of health of the battery. 
BatteryInfo  TECHNOLOGY  The battery technology as set internally in the battery pack by the manufacturer. 
BatteryInfo  TEMPERATURE_MAX  The value of the maximum temperature recorded by the battery during its life (in 0.1 °C). 
BatteryInfo  TEMPERATURE_MIN  The value of the minimum temperature recorded by the battery during its life (in 0.1 °C). 
BatteryInfo  TIME_TO_EMPTY  The estimated time left for battery to be considered empty (in seconds). 
BatteryInfo  TOTAL_DISCHARGE  The value of the total amount of discharge current (in 0.1 Ah) caused the charging cycles of the battery. 
BatteryInfo  TYPICAL_CAPACITY  The battery typical capacity. 
BatteryInfo  VOLTAGE_MAX  The value of the maximum voltage recorded by the battery during its life (in mV). 
BatteryInfo  VOLTAGE_MIN  The value of the minimum voltage recorded by the battery during its life (in mV). 
Public Methods
static BatteryInfo fromInt(int n)
Retrieves the corresponding BatteryInfo value, from a valid integer.
int toInt()
Converts the BatteryInfo to its integer corresponding value.
String toString()
static BatteryInfo valueOf(String name)
final static BatteryInfo[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final BatteryInfo CAPACITY_FULL

Added in revision 13

Last remembered value of charge in when battery became full/empty in mAh. The value type of this property is int.

public static final BatteryInfo CAPACITY_REMAINING

Added in revision 13

The instantaneous value of the remaining available capacity of the battery in mAh. The value type of this property is int.

public static final BatteryInfo CHARGE_CURRENT_MAX

Added in revision 13

The value of the maximum charge current recorded by the battery during its life (in mA). The value type of this property is int.

public static final BatteryInfo CHARGE_CYCLES

Added in revision 41

The number of cycles the battery has undergone. The value type of this property is int.

public static final BatteryInfo DISCHARGE_CURRENT_MAX

Added in revision 13

The value of the maximum discharge current recorded by the battery during its life (in mA). The value type of this property is int.

public static final BatteryInfo FIRMWARE_VERSION

Added in revision 40

The version of the firmware loaded inside the gauge. The value type of this property is String.

public static final BatteryInfo FULL_CAPACITY_DESIGN

Added in revision 13

The capacity by desing of the battery in mAh. The value type of this property is int.

public static final BatteryInfo MANUFACTURER

Added in revision 13

The battery pack manufacturer name as set internally in the battery pack by the manufacturer. The value type of this property is String.

public static final BatteryInfo MODEL_NAME

Added in revision 13

The battery model name as set internally in the battery pack by the manufacturer. The value type of this property is String.

public static final BatteryInfo PRODUCTION_MONTH

Added in revision 13

The month of the production of the battery. The value type of this property is int. This property is not supported by all battery types. The batteries do not support PRODUCTION_MONTH property, they support PRODUCTION_WEEK property.

public static final BatteryInfo PRODUCTION_WEEK

Added in revision 13

The week of the production of the battery. The value type of this property is int. This property is not supported by all battery types. The batteries do not support PRODUCTION_WEEK property, they support PRODUCTION_MONTH property.

public static final BatteryInfo PRODUCTION_YEAR

Added in revision 13

The year of the production of the battery. The value type of this property is int.

public static final BatteryInfo PRODUCT_NUMBER

Added in revision 20

The battery product number as set internally in the battery pack by the manufacturer. The value type of this property is String.

public static final BatteryInfo RATED_CAPACITY

Added in revision 41

The battery rated capacity. The value type of this property is int.

public static final BatteryInfo SERIAL_NUMBER

Added in revision 13

The battery serial number as set internally in the battery pack by the manufacturer. The value type of this property is String.

public static final BatteryInfo STATE_OF_HEALTH

Added in revision 13

The percentage of the state of health of the battery. The value type of this property is int.

public static final BatteryInfo TECHNOLOGY

Added in revision 13

The battery technology as set internally in the battery pack by the manufacturer. The value type of this property is String.

public static final BatteryInfo TEMPERATURE_MAX

Added in revision 13

The value of the maximum temperature recorded by the battery during its life (in 0.1 °C). The value type of this property is int.

public static final BatteryInfo TEMPERATURE_MIN

Added in revision 13

The value of the minimum temperature recorded by the battery during its life (in 0.1 °C). The value type of this property is int.

public static final BatteryInfo TIME_TO_EMPTY

Added in revision 13

The estimated time left for battery to be considered empty (in seconds). The value type of this property is int.

public static final BatteryInfo TOTAL_DISCHARGE

Added in revision 13

The value of the total amount of discharge current (in 0.1 Ah) caused the charging cycles of the battery. The value type of this property is int.

public static final BatteryInfo TYPICAL_CAPACITY

Added in revision 41

The battery typical capacity. The value type of this property is int.

public static final BatteryInfo VOLTAGE_MAX

Added in revision 13

The value of the maximum voltage recorded by the battery during its life (in mV). The value type of this property is int.

public static final BatteryInfo VOLTAGE_MIN

Added in revision 13

The value of the minimum voltage recorded by the battery during its life (in mV). The value type of this property is int.

Public Methods

public static BatteryInfo fromInt (int n)

Added in revision 13

Retrieves the corresponding BatteryInfo value, from a valid integer.

Parameters
n int
Returns
  • BatteryInfo the corresponding one.

public int toInt ()

Added in revision 13

Converts the BatteryInfo to its integer corresponding value.

Returns
  • int

public String toString ()

public static BatteryInfo valueOf (String name)

Added in revision 13

public static final BatteryInfo[] values ()

Added in revision 13