FSM logs
Charger start CV phase at 40V as expected.
It keeps charging until charger can’t give more current.
Unplug and plug back the charger won’t make it transit to charge again.
c++1 "Entered state INIT" 1 "Log: 'Initializing environment...'" 1 "Log: 'Environment initialized !'" 1 "Log: 'Initializing battery IC...'" 1 "Log: 'Battery IC initialized !'" 1 "Log: 'Configuring battery IC...'" 2 "Log: 'Battery IC configured !'" 2 "Log: 'Initializing SoH...'" 2 "Log: 'SoH initialized !'" 2 "Log: 'Initializing SoC...'" 2 "Log: 'SoC initialized !'" 2 "Log: 'State fields initialized!'" 2 "Log: 'Battery initialization complete!'" 2 "Left state INIT" 2 "Entered state DISCHARGE" 3 "Log: 'transitioning from INIT to DISCHARGE'" 5 "Left state DISCHARGE" 5 "Entered state CHARGE" 5 "Log: 'Charge enters charge-and-balance mode'" 5 "Log: 'transitioning from DISCHARGE to CHARGE'" 4625 "Log: 'Charger has not enough current: -0.290000'" 4626 "Log: 'Charger has stopped giving current: -0.330000'" 4626 "Log: 'Charge leaves charge-and-balance mode'" 4626 "Log: 'Charge enters final-balance mode'" 4629 "Left state CHARGE" 4629 "Entered state DISCHARGE" 4629 "Log: 'transitioning from CHARGE to DISCHARGE'"