Lithium iron phosphate battery charging