Add power-off alarm support