Maximum usage of lithium iron phosphate battery