Capacity fade analysis of a lithium ion cell