Lithium iron phosphate battery upside down charging