Code in press reset or tick, or ok button depending on what make or model that only you know at this moment, this should clear and reset the AC power (p) failure.
Oh by the way, you may need a new control panel back up battery.
Feck me the weekend is fast approaching!!, August 2012