FSM details
javascript1 "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: 'Waiting for BQ cells readings...'" 2 "Log: 'Initializing SoC...'" 2 "Log: 'SoC initialized !'" 3 "Log: 'State fields initialized!'" 3 "Log: 'Battery initialization complete!'" 3 "Left state INIT" 3 "Entered state IDLE" 3 "Log: 'transitioning from INIT to IDLE'" 17 "Left state IDLE" 17 "Entered state CHARGE" 17 "Log: 'Charge enters charge-and-balance mode'" 17 "Log: 'transitioning from IDLE to CHARGE'" 4681 "Log: 'Charger is stopping giving current. Current: -0.400000 A'" 4681 "Log: 'Charge leaves charge-and-balance mode'" 4681 "Log: 'Charge enters final-balance mode'" 4684 "Log: 'Battery is balanced'" 4684 "Log: 'Last Charge FSM state: final-balance'" 4684 "Left state CHARGE" 4684 "Entered state IDLE" 4684 "Log: 'transitioning from CHARGE to IDLE'"