Means for acting in the event of power-supply failure or interruption