Capacity estimation for Li-ion batteries | Synapse