| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.datalogic.device.battery.BatteryInfo | |
The BatteryInfo enumeration is the class that includes the battery info.
| 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the corresponding BatteryInfo value, from a valid integer.
| |||||||||||
Converts the BatteryInfo to its integer corresponding value.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Last remembered value of charge in when battery became full/empty in mAh. The value type of this property is int.
The instantaneous value of the remaining available capacity of the battery in mAh. The value type of this property is int.
The value of the maximum charge current recorded by the battery during its life (in mA). The value type of this property is int.
The number of cycles the battery has undergone. The value type of this property is int.
The value of the maximum discharge current recorded by the battery during its life (in mA). The value type of this property is int.
The version of the firmware loaded inside the gauge. The value type of this property is String.
The capacity by desing of the battery in mAh. The value type of this property is int.
The battery pack manufacturer name as set internally in the battery pack by the manufacturer. The value type of this property is String.
The battery model name as set internally in the battery pack by the manufacturer. The value type of this property is String.
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.
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.
The year of the production of the battery. The value type of this property is int.
The battery product number as set internally in the battery pack by the manufacturer. The value type of this property is String.
The battery rated capacity. The value type of this property is int.
The battery serial number as set internally in the battery pack by the manufacturer. The value type of this property is String.
The percentage of the state of health of the battery. The value type of this property is int.
The battery technology as set internally in the battery pack by the manufacturer. The value type of this property is String.
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.
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.
The estimated time left for battery to be considered empty (in seconds). The value type of this property is int.
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.
The battery typical capacity. The value type of this property is int.
The value of the maximum voltage recorded by the battery during its life (in mV). The value type of this property is int.
The value of the minimum voltage recorded by the battery during its life (in mV). The value type of this property is int.
Retrieves the corresponding BatteryInfo value, from a valid integer.
| n | int |
|---|
Converts the BatteryInfo to its integer corresponding value.