java.lang.Object | |
↳ | com.datalogic.device.power.SmartChargeManager |
This class allows to configure and activate the smart charge feature.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SmartChargeManager.State | The SmartChargeState enumeration is the class that lists the possible
states of the SmartCharge algorithm state machine. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This is the constructor of SmartChargeManager.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method allows to initiate a forced manual charge, bringing the battery to a full state (100%)
and temporarily bypassing any active smart charge algorithm operations.
| |||||||||||
This method retrieves the currently configured discharge delay.
| |||||||||||
This method allows to know the state of the smart charge algorithm.
| |||||||||||
This method allows to know the current state of the smart charge state machine.
| |||||||||||
This method allows to set the discharge delay.
| |||||||||||
This method allows to set the state of the smart charge algorithm.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This is the constructor of SmartChargeManager.
DeviceException | in case of error. |
---|
This method allows to initiate a forced manual charge, bringing the battery to a full state (100%) and temporarily bypassing any active smart charge algorithm operations.
This method retrieves the currently configured discharge delay. This setting determines the maximum time the device will remain at full (100%) charge before it starts discharging to a safe state of charge (SoC).
int
indicating the discharge delay in seconds.
This method allows to know the state of the smart charge algorithm.
boolean
true if the smart charge algorithm is enabled, false otherwise.
This method allows to know the current state of the smart charge state machine.
SmartChargeState
value indicating the current state, or null if the state
is invalid.
This method allows to set the discharge delay. This setting determines the maximum time the device will remain at full (100%) charge before it starts discharging to a safe state of charge (SoC).
value | A int value indicating the discharge delay in seconds.
|
---|
This method allows to set the state of the smart charge algorithm.
enabled | The boolean value indicating if the smart charge should be enabled or disabled.
|
---|