How to calculate the degree of lithium iron phosphate battery