1. An apparatus comprising: a processor; a power manager to: monitor a power level of at least a portion of the apparatus to determine whether the power level drops below a threshold level, wherein the threshold level corresponds to an amount of power to perform a flush-on-fail (FoF) operation; and generate a signal when the power level is determined to drop below the threshold level; and a memory management unit (MMU) to: perform the FoF operation based on the signal, wherein the MMU performs the FoF operation to identify dirty data in a volatile cache and flush the dirty data from the volatile cache into persistent memory.