This compact alarm,veritas by any chance?.
Mains fail and a duff battery at a guess,but it could also be a wiring issue or faulty remote keypad.
So in short I haven't got a clue going on your description.
Is the power led lit on the end station (big silly White box that's usually hidden under the stairs, or in a cupboard,somewhere like that).
e manno, July 2013