Measure lithium battery failure