Lithium iron phosphate battery charging limit setting