# Charger state machine The charge management has the following states: ### Standby Initial state of the charge controller. If the solar voltage is high enough and the battery is not full, charging in CC mode is started. ### CC / bulk charging The battery is charged with maximum possible current (MPPT algorithm is active) until the CV voltage limit is reached. ### CV / absorption charging Lead-acid batteries are charged for some time using a slightly higher charge voltage. After a current cutoff limit or a time limit is reached, the charger goes into trickle or equalization mode for lead-acid batteries or back into Standby for Li-ion batteries. ### Trickle charging This mode is kept forever for a lead-acid battery and keeps the battery at full state of charge. If too much power is drawn from the battery, the charger switches back into CC / bulk charging mode. ### Equalization charging This mode is only used for lead-acid batteries after several deep-discharge cycles or a very long period of time with no equalization. Voltage is increased to 15V or above, so care must be taken for the other system components attached to the battery. (currently, no equalization charging is enabled in the software) ![Flow-chart of the MPPT charge controller state machine](MPPT_flow_chart.png)