Activation of lithium iron phosphate battery due to power failure