Photovoltaic lithium iron phosphate battery charging