java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.datalogic.device.configuration.BatteryChargingProfilePersistencePolicy |
Enum BatteryChargingProfilePersistencePolicy
defines the policies for applying the battery
charging profile used by the property POWER_BATTERY_CHARGING_PROFILE_PERSISTENCE_POLICY
.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BatteryChargingProfilePersistencePolicy | SET_BY_BATTERY | Persistence is set by battery: the battery will be charged according to the profile stored in the battery memory. | |||||||||
BatteryChargingProfilePersistencePolicy | SET_BY_DEVICE | Persistence is set by device: the battery will be charged according to the profile stored by the device. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the corresponding BatteryChargingProfilePersistencePolicy value, from a valid integer.
| |||||||||||
Retrieves the corresponding int value.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Persistence is set by battery: the battery will be charged according to the profile stored in the battery memory. So, when the user changes the battery, the new battery will not be re-configured by the device. That profile could be different to the one used by other batteries.
Persistence is set by device: the battery will be charged according to the profile stored by the device. So, when the user changes the battery, the new battery will be configured to be charged with that profile, the same of the previous battery.
Retrieves the corresponding BatteryChargingProfilePersistencePolicy value, from a valid integer.
id | int |
---|