the power - supply unit , while directing externally supplied power to the control unit and the like , accumulates an amount of power that is required by the control unit to save data from the volatile memory to the non - volatile memory . when an external power supply has started , the control unit restores data of the non - volatile memory in the volatile memory ; and when the external power supply has stopped , the control unit saves data from the volatile memory to the non - volatile memory .