In message , AlanC writes
It's a battery.
Intruder alarms should only sound for a certain period of time, IIRC it's 30 seconds for car alarms and 20 minutes for a building. It can be considered a nuisance under environmental protection laws if it sounds for longer and it's a nasty fine if they decide to prosecute.