Capacity of lithium iron phosphate batteries