FSM details
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'" 10 "Left state DISCHARGE" 11 "Entered state CHARGE" 11 "Log: 'Charge enters charge-and-balance mode'" 11 "Log: 'transitioning from DISCHARGE to CHARGE'" 3853 "Log: 'Charger has not enough current: -0.290000'" 3854 "Log: 'Charger has stopped giving current: -0.310000'" 3854 "Log: 'Charge leaves charge-and-balance mode'" 3854 "Log: 'Charge enters final-balance mode'" 3857 "Log: 'Battery is balanced'" 3857 "Log: 'Last Charge FSM state: final-balance'" 3857 "Left state CHARGE" 3857 "Entered state DISCHARGE" 3857 "Log: 'transitioning from CHARGE to DISCHARGE'"
💡
Charge went well.
We can see the CC-CV going on.