java.lang.Object | |
↳ | com.datalogic.device.battery.ChargingProfile |
The ChargingProfile
represents a charging profile used by the DLBatteryManager
to manage the charging preferences.
This class can be used to setup a different charging preference, to retrieve the current charging
preference or retrieve the available charging preferences.
Charging preference is a device independent concept, but the settings of each charging profile
are device dependent and their details are hidden to the programmer.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CHARGING_PROFILE_CAPACITY | This profile allows to fully charge the device to maximum battery capacity. | |||||||||
int | CHARGING_PROFILE_CAPACITY_LIFETIME | This profile optimizes battery lifetime and fully charges the device to maximum battery capacity. | |||||||||
int | CHARGING_PROFILE_CHARGING_SPEED | This profile allows the device to be charged faster delivering more current and reducing the maximum capacity level. | |||||||||
int | CHARGING_PROFILE_CHARGING_SPEED_CAPACITY | This profile allows the device to be fully charge faster delivering more current. | |||||||||
int | CHARGING_PROFILE_CHARGING_SPEED_LIFETIME | This profile optimizes battery lifetime and allows the device to be charge faster delivering more current. | |||||||||
int | CHARGING_PROFILE_LIFETIME | This profile charges the device reducing the maximum capacity level. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the description of this charging profile.
| |||||||||||
Returns the charging profile ID.
| |||||||||||
Returns the charging profile name.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
This profile allows to fully charge the device to maximum battery capacity.
Increasing charge current and fully charge the device could stress the battery and affect negatively its health in the longterm.
This profile optimizes battery lifetime and fully charges the device to maximum battery capacity.
Fully charging the device could affect negatively battery health in the longterm.
This profile allows the device to be charged faster delivering more current and reducing the maximum capacity level.
Increasing charge current could stress the battery reducing battery lifespan in the longterm.
Charging device partially instead has the advantage of preserve battery health in the longterm.
This profile allows the device to be fully charge faster delivering more current.
Fully charging the device could affect negatively battery health in the longterm.
This profile optimizes battery lifetime and allows the device to be charge faster delivering more current.
Fully charging the device could affect negatively battery health in the longterm.
This profile damages battery less than the other speed profiles.
This profile charges the device reducing the maximum capacity level.
Charging device partially has the advantage of preserve battery health in the longterm.
Returns the description of this charging profile.
String
The description of this charging profile.
Returns the charging profile ID.
int
The charging profile ID.
Returns the charging profile name.
String
The charging profile name.