General capacity of lithium iron phosphate battery