java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.datalogic.device.power.SmartChargeManager.State |
The SmartChargeState
enumeration is the class that lists the possible
states of the SmartCharge algorithm state machine.
Useful for managing notifications to the user.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SmartChargeManager.State | DISCHARGE_RAMP | The state where the system is actively during the discharging process. | |||||||||
SmartChargeManager.State | DISCHARGE_RAMP_WLC | The state where the system is actively during the discharging process while in a wireless charging cradle. | |||||||||
SmartChargeManager.State | DISCHARGE_WAIT | The state where the system is waiting to start discharging. | |||||||||
SmartChargeManager.State | IDLE | The state where the system is idle and not performing any charging or discharging and used as reset condition. | |||||||||
SmartChargeManager.State | MANUAL_CHARGE | The state where the system is in manual charging mode. | |||||||||
SmartChargeManager.State | NOT_WORK | The state where the system is outside working hours. | |||||||||
SmartChargeManager.State | NOT_WORK_WAIT | The state where the system is not working and is waiting for a condition to change. | |||||||||
SmartChargeManager.State | NOT_WORK_WLC | The state where the system is not working and is in a wireless charging cradle. | |||||||||
SmartChargeManager.State | WORK | The state where the system is actively charging up to final SoC or maintaining it. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
The state where the system is actively during the discharging process. The device will reach safe SoC and then maintain it.
The state where the system is actively during the discharging process while in a wireless charging cradle. The device will reach safe SoC and then maintain it.
The state where the system is waiting to start discharging. The device will monitor the time spent above the threshold SoC and transition to discharging to safe SoC if the maximum allowed time is exceeded.
The state where the system is idle and not performing any charging or discharging and used as reset condition. The device will transition to either working or non-working states based on the time and configured working hours.
The state where the system is in manual charging mode. In this state, which can be forced by user interaction, the device will force charging up to final SoC regardless of other conditions.
The state where the system is outside working hours. The device will either discharge to a safe SoC if above the threshold, charge to the safe SoC if below, or transition to NOT_WORK_WAIT if the safe SoC is reached.
The state where the system is not working and is waiting for a condition to change. The device will pause charging and wait until the next working interval or a change in SoC that requires action.
The state where the system is not working and is in a wireless charging cradle. The device will manage charging and discharging to prevent overheating, maintaining the SoC within a safe range.
The state where the system is actively charging up to final SoC or maintaining it. If the working hours end, the state transitions accordingly.