💡

With a little unbalancing, the 42V charger stop giving enough current, and battery goes to

`Final Balance`

.
Soc is 98.51% at end of charge with 41.599998V battery.**FSM logs**

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" 2 "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'" 2804 "Log: 'Battery is fully charged'" 2804 "Log: 'Charge leaves charge-and-balance mode'" 2804 "Log: 'Charge enters rebalance mode'" 3104 "Log: 'Battery not fully charged'" 3104 "Log: 'Charge leaves rebalance mode'" 3104 "Log: 'Charge enters charge-and-balance mode'" 3271 "Log: 'Battery is fully charged'" 3271 "Log: 'Charge leaves charge-and-balance mode'" 3271 "Log: 'Charge enters rebalance mode'" 3571 "Log: 'Battery not fully charged'" 3571 "Log: 'Charge leaves rebalance mode'" 3571 "Log: 'Charge enters charge-and-balance mode'" 3679 "Log: 'Battery is fully charged'" 3679 "Log: 'Charge leaves charge-and-balance mode'" 3679 "Log: 'Charge enters rebalance mode'" 3979 "Log: 'Battery not fully charged'" 3979 "Log: 'Charge leaves rebalance mode'" 3979 "Log: 'Charge enters charge-and-balance mode'" 4058 "Log: 'Battery is fully charged'" 4058 "Log: 'Charge leaves charge-and-balance mode'" 4058 "Log: 'Charge enters rebalance mode'" 4359 "Log: 'Battery not fully charged'" 4359 "Log: 'Charge leaves rebalance mode'" 4359 "Log: 'Charge enters charge-and-balance mode'" 4417 "Log: 'Battery is fully charged'" 4417 "Log: 'Charge leaves charge-and-balance mode'" 4417 "Log: 'Charge enters rebalance mode'" 4717 "Log: 'Battery not fully charged'" 4717 "Log: 'Charge leaves rebalance mode'" 4717 "Log: 'Charge enters charge-and-balance mode'" 4763 "Log: 'Battery is fully charged'" 4763 "Log: 'Charge leaves charge-and-balance mode'" 4763 "Log: 'Charge enters rebalance mode'" 5063 "Log: 'Battery not fully charged'" 5063 "Log: 'Charge leaves rebalance mode'" 5063 "Log: 'Charge enters charge-and-balance mode'" 5106 "Log: 'Battery is fully charged'" 5106 "Log: 'Charge leaves charge-and-balance mode'" 5106 "Log: 'Charge enters rebalance mode'" 5407 "Log: 'Battery not fully charged'" 5407 "Log: 'Charge leaves rebalance mode'" 5407 "Log: 'Charge enters charge-and-balance mode'" 5446 "Log: 'Battery is fully charged'" 5446 "Log: 'Charge leaves charge-and-balance mode'" 5446 "Log: 'Charge enters rebalance mode'" 5746 "Log: 'Battery not fully charged'" 5746 "Log: 'Charge leaves rebalance mode'" 5746 "Log: 'Charge enters charge-and-balance mode'" 5775 "Log: 'Battery is fully charged'" 5775 "Log: 'Charge leaves charge-and-balance mode'" 5775 "Log: 'Charge enters rebalance mode'" 6075 "Log: 'Battery not fully charged'" 6075 "Log: 'Charge leaves rebalance mode'" 6075 "Log: 'Charge enters charge-and-balance mode'" 6099 "Log: 'Battery is fully charged'" 6099 "Log: 'Charge leaves charge-and-balance mode'" 6099 "Log: 'Charge enters rebalance mode'" 6400 "Log: 'Battery not fully charged'" 6400 "Log: 'Charge leaves rebalance mode'" 6400 "Log: 'Charge enters charge-and-balance mode'" 6426 "Log: 'Charge enters rebalance mode'" 6726 "Log: 'Battery not fully charged'" 6726 "Log: 'Charge leaves rebalance mode'" 6726 "Log: 'Charge enters charge-and-balance mode'" 6745 "Log: 'Battery is fully charged'" 6745 "Log: 'Charge leaves charge-and-balance mode'" 6745 "Log: 'Charge enters rebalance mode'" 7045 "Log: 'Battery not fully charged'" 7045 "Log: 'Charge leaves rebalance mode'" 7045 "Log: 'Charge enters charge-and-balance mode'" 7067 "Log: 'Battery is fully charged'" 7067 "Log: 'Charge leaves charge-and-balance mode'" 7067 "Log: 'Charge enters rebalance mode'" 7367 "Log: 'Battery not fully charged'" 7367 "Log: 'Charge leaves rebalance mode'" 7367 "Log: 'Charge enters charge-and-balance mode'" 7388 "Log: 'Battery is fully charged'" 7388 "Log: 'Charge leaves charge-and-balance mode'" 7388 "Log: 'Charge enters rebalance mode'" 7689 "Log: 'Battery not fully charged'" 7689 "Log: 'Charge leaves rebalance mode'" 7689 "Log: 'Charge enters charge-and-balance mode'" 7707 "Log: 'Battery is fully charged'" 7707 "Log: 'Charge leaves charge-and-balance mode'" 7707 "Log: 'Charge enters rebalance mode'" 8007 "Log: 'Battery not fully charged'" 8007 "Log: 'Charge leaves rebalance mode'" 8007 "Log: 'Charge enters charge-and-balance mode'" 8023 "Log: 'Battery is fully charged'" 8023 "Log: 'Charge leaves charge-and-balance mode'" 8023 "Log: 'Charge enters rebalance mode'" 8323 "Log: 'Battery not fully charged'" 8323 "Log: 'Charge leaves rebalance mode'" 8323 "Log: 'Charge enters charge-and-balance mode'" 8340 "Log: 'Battery is fully charged'" 8340 "Log: 'Charge leaves charge-and-balance mode'" 8340 "Log: 'Charge enters rebalance mode'" 8640 "Log: 'Battery not fully charged'" 8640 "Log: 'Charge leaves rebalance mode'" 8640 "Log: 'Charge enters charge-and-balance mode'" 8655 "Log: 'Battery is fully charged'" 8655 "Log: 'Charge leaves charge-and-balance mode'" 8655 "Log: 'Charge enters rebalance mode'" 8955 "Log: 'Battery not fully charged'" 8955 "Log: 'Charge leaves rebalance mode'" 8955 "Log: 'Charge enters charge-and-balance mode'" 8970 "Log: 'Battery is fully charged'" 8970 "Log: 'Charge leaves charge-and-balance mode'" 8970 "Log: 'Charge enters rebalance mode'" 9270 "Log: 'Battery not fully charged'" 9270 "Log: 'Charge leaves rebalance mode'" 9270 "Log: 'Charge enters charge-and-balance mode'" 9285 "Log: 'Battery is fully charged'" 9285 "Log: 'Charge leaves charge-and-balance mode'" 9285 "Log: 'Charge enters rebalance mode'" 9585 "Log: 'Battery not fully charged'" 9585 "Log: 'Charge leaves rebalance mode'" 9585 "Log: 'Charge enters charge-and-balance mode'" 9597 "Log: 'Battery is fully charged'" 9597 "Log: 'Charge leaves charge-and-balance mode'" 9597 "Log: 'Charge enters rebalance mode'" 9898 "Log: 'Battery not fully charged'" 9898 "Log: 'Charge leaves rebalance mode'" 9898 "Log: 'Charge enters charge-and-balance mode'" 9912 "Log: 'Charge enters rebalance mode'" 10212 "Log: 'Battery not fully charged'" 10212 "Log: 'Charge leaves rebalance mode'" 10212 "Log: 'Charge enters charge-and-balance mode'" 10224 "Log: 'Battery is fully charged'" 10224 "Log: 'Charge leaves charge-and-balance mode'" 10224 "Log: 'Charge enters rebalance mode'" 10524 "Log: 'Battery not fully charged'" 10524 "Log: 'Charge leaves rebalance mode'" 10525 "Log: 'Charge enters charge-and-balance mode'" 10536 "Log: 'Battery is fully charged'" 10536 "Log: 'Charge leaves charge-and-balance mode'" 10536 "Log: 'Charge enters rebalance mode'" 10836 "Log: 'Battery not fully charged'" 10836 "Log: 'Charge leaves rebalance mode'" 10836 "Log: 'Charge enters charge-and-balance mode'" 10849 "Log: 'Battery is fully charged'" 10849 "Log: 'Charge leaves charge-and-balance mode'" 10849 "Log: 'Charge enters rebalance mode'" 11149 "Log: 'Battery not fully charged'" 11149 "Log: 'Charge leaves rebalance mode'" 11149 "Log: 'Charge enters charge-and-balance mode'" 11161 "Log: 'Battery is fully charged'" 11161 "Log: 'Charge leaves charge-and-balance mode'" 11161 "Log: 'Charge enters rebalance mode'" 11461 "Log: 'Battery not fully charged'" 11461 "Log: 'Charge leaves rebalance mode'" 11461 "Log: 'Charge enters charge-and-balance mode'" 11471 "Log: 'Battery is fully charged'" 11471 "Log: 'Charge leaves charge-and-balance mode'" 11471 "Log: 'Charge enters rebalance mode'" 11771 "Log: 'Battery not fully charged'" 11771 "Log: 'Charge leaves rebalance mode'" 11771 "Log: 'Charge enters charge-and-balance mode'" 11784 "Log: 'Battery is fully charged'" 11784 "Log: 'Charge leaves charge-and-balance mode'" 11784 "Log: 'Charge enters rebalance mode'" 12084 "Log: 'Battery not fully charged'" 12084 "Log: 'Charge leaves rebalance mode'" 12084 "Log: 'Charge enters charge-and-balance mode'" 12097 "Log: 'Battery is fully charged'" 12097 "Log: 'Charge leaves charge-and-balance mode'" 12097 "Log: 'Charge enters rebalance mode'" 12398 "Log: 'Battery not fully charged'" 12398 "Log: 'Charge leaves rebalance mode'" 12398 "Log: 'Charge enters charge-and-balance mode'" 12411 "Log: 'Battery is fully charged'" 12411 "Log: 'Charge leaves charge-and-balance mode'" 12411 "Log: 'Charge enters rebalance mode'" 12711 "Log: 'Battery not fully charged'" 12711 "Log: 'Charge leaves rebalance mode'" 12711 "Log: 'Charge enters charge-and-balance mode'" 12721 "Log: 'Battery is fully charged'" 12721 "Log: 'Charge leaves charge-and-balance mode'" 12721 "Log: 'Charge enters rebalance mode'" 13021 "Log: 'Battery not fully charged'" 13021 "Log: 'Charge leaves rebalance mode'" 13021 "Log: 'Charge enters charge-and-balance mode'" 13029 "Log: 'Battery is fully charged'" 13029 "Log: 'Charge leaves charge-and-balance mode'" 13029 "Log: 'Charge enters rebalance mode'" 13330 "Log: 'Battery not fully charged'" 13330 "Log: 'Charge leaves rebalance mode'" 13330 "Log: 'Charge enters charge-and-balance mode'" 13339 "Log: 'Battery is fully charged'" 13339 "Log: 'Charge leaves charge-and-balance mode'" 13339 "Log: 'Charge enters rebalance mode'" 13639 "Log: 'Battery not fully charged'" 13639 "Log: 'Charge leaves rebalance mode'" 13639 "Log: 'Charge enters charge-and-balance mode'" 13652 "Log: 'Battery is fully charged'" 13652 "Log: 'Charge leaves charge-and-balance mode'" 13652 "Log: 'Charge enters rebalance mode'" 13953 "Log: 'Battery not fully charged'" 13953 "Log: 'Charge leaves rebalance mode'" 13953 "Log: 'Charge enters charge-and-balance mode'" 13964 "Log: 'Battery is fully charged'" 13964 "Log: 'Charge leaves charge-and-balance mode'" 13964 "Log: 'Charge enters rebalance mode'" 14264 "Log: 'Battery not fully charged'" 14264 "Log: 'Charge leaves rebalance mode'" 14264 "Log: 'Charge enters charge-and-balance mode'" 14274 "Log: 'Battery is fully charged'" 14274 "Log: 'Charge leaves charge-and-balance mode'" 14274 "Log: 'Charge enters rebalance mode'" 14575 "Log: 'Battery not fully charged'" 14575 "Log: 'Charge leaves rebalance mode'" 14575 "Log: 'Charge enters charge-and-balance mode'" 14584 "Log: 'Battery is fully charged'" 14584 "Log: 'Charge leaves charge-and-balance mode'" 14584 "Log: 'Charge enters rebalance mode'" 14884 "Log: 'Battery not fully charged'" 14884 "Log: 'Charge leaves rebalance mode'" 14884 "Log: 'Charge enters charge-and-balance mode'" 14892 "Log: 'Battery is fully charged'" 14892 "Log: 'Charge leaves charge-and-balance mode'" 14892 "Log: 'Charge enters rebalance mode'" 15192 "Log: 'Battery not fully charged'" 15192 "Log: 'Charge leaves rebalance mode'" 15193 "Log: 'Charge enters charge-and-balance mode'" 15204 "Log: 'Battery is fully charged'" 15204 "Log: 'Charge leaves charge-and-balance mode'" 15204 "Log: 'Charge enters rebalance mode'" 15504 "Log: 'Battery not fully charged'" 15504 "Log: 'Charge leaves rebalance mode'" 15504 "Log: 'Charge enters charge-and-balance mode'" 15516 "Log: 'Battery is fully charged'" 15516 "Log: 'Charge leaves charge-and-balance mode'" 15516 "Log: 'Charge enters rebalance mode'"`

Just after a simple reboot, we got this. The test was stopped before the end of the charge.

**FSM logs**

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'" 6 "Left state DISCHARGE" 6 "Entered state CHARGE" 6 "Log: 'Charge enters charge-and-balance mode'" 6 "Log: 'transitioning from DISCHARGE to CHARGE'" 315 "Log: 'Battery not fully charged'" 315 "Log: 'Charge leaves rebalance mode'" 315 "Log: 'Charge enters charge-and-balance mode'" 324 "Log: 'Battery is fully charged'" 324 "Log: 'Charge leaves charge-and-balance mode'" 324 "Log: 'Charge enters rebalance mode'" 624 "Log: 'Battery not fully charged'" 624 "Log: 'Charge leaves rebalance mode'" 624 "Log: 'Charge enters charge-and-balance mode'" 632 "Log: 'Battery is fully charged'" 632 "Log: 'Charge leaves charge-and-balance mode'" 632 "Log: 'Charge enters rebalance mode'" 932 "Log: 'Battery not fully charged'" 932 "Log: 'Charge leaves rebalance mode'" 932 "Log: 'Charge enters charge-and-balance mode'" 942 "Log: 'Battery is fully charged'" 942 "Log: 'Charge leaves charge-and-balance mode'" 942 "Log: 'Charge enters rebalance mode'" 1242 "Log: 'Battery not fully charged'" 1242 "Log: 'Charge leaves rebalance mode'" 1242 "Log: 'Charge enters charge-and-balance mode'" 1251 "Log: 'Battery is fully charged'" 1251 "Log: 'Charge leaves charge-and-balance mode'" 1251 "Log: 'Charge enters rebalance mode'" 1551 "Log: 'Battery not fully charged'" 1551 "Log: 'Charge leaves rebalance mode'" 1552 "Log: 'Charge enters charge-and-balance mode'" 1563 "Log: 'Battery is fully charged'" 1563 "Log: 'Charge leaves charge-and-balance mode'" 1563 "Log: 'Charge enters rebalance mode'" 1863 "Log: 'Battery not fully charged'" 1863 "Log: 'Charge leaves rebalance mode'" 1863 "Log: 'Charge enters charge-and-balance mode'" 1870 "Log: 'Battery is fully charged'" 1870 "Log: 'Charge leaves charge-and-balance mode'" 1870 "Log: 'Charge enters rebalance mode'" 2170 "Log: 'Battery not fully charged'" 2170 "Log: 'Charge leaves rebalance mode'" 2170 "Log: 'Charge enters charge-and-balance mode'" 2181 "Log: 'Battery is fully charged'" 2181 "Log: 'Charge leaves charge-and-balance mode'" 2181 "Log: 'Charge enters rebalance mode'" 2481 "Log: 'Battery not fully charged'" 2481 "Log: 'Charge leaves rebalance mode'" 2481 "Log: 'Charge enters charge-and-balance mode'" 2492 "Log: 'Battery is fully charged'" 2492 "Log: 'Charge leaves charge-and-balance mode'" 2492 "Log: 'Charge enters rebalance mode'" 2792 "Log: 'Battery not fully charged'" 2792 "Log: 'Charge leaves rebalance mode'" 2792 "Log: 'Charge enters charge-and-balance mode'" 2799 "Log: 'Battery is fully charged'" 2799 "Log: 'Charge leaves charge-and-balance mode'" 2799 "Log: 'Charge enters rebalance mode'" 3099 "Log: 'Battery not fully charged'" 3099 "Log: 'Charge leaves rebalance mode'" 3099 "Log: 'Charge enters charge-and-balance mode'" 3111 "Log: 'Battery is fully charged'" 3111 "Log: 'Charge leaves charge-and-balance mode'" 3111 "Log: 'Charge enters rebalance mode'" 3411 "Log: 'Battery not fully charged'" 3411 "Log: 'Charge leaves rebalance mode'" 3411 "Log: 'Charge enters charge-and-balance mode'" 3421 "Log: 'Battery is fully charged'" 3421 "Log: 'Charge leaves charge-and-balance mode'" 3421 "Log: 'Charge enters rebalance mode'"`

Two days later, after waking & charging the battery, we get:

**FSM logs**

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'" 464 "Log: 'Charger has not enough current: -0.290000'" 5165 "Log: 'Battery is balanced'" 5165 "Log: 'Last Charge FSM state: final-balance'" 5165 "Left state CHARGE" 5165 "Entered state DISCHARGE" 5165 "Log: 'transitioning from CHARGE to DISCHARGE'"`

It goes in

`Final Balance`

then leave charge when fully balanced.Cell9 | Time (s) | Tension (V) | Capacity (mAh) | Intensity (mA) |

P1 | 2000 | 4.189 | 3281 | |

P2 | 5000 | 4.182 | 3265 | |

Delta | 3000 | 0.007 | 16 | 19.2 |

💡

Charge flow is good.
Only thing: balancing current of

`19.2A`

seems pretty low than expected `50mA`

.