How to measure the energy storage thickness of lithium batteries