How to measure the capacity of battery cells in new energy