The alarm unit has it's own backup battery, it is this that fails when it leaks electrolyte over the PCB causing the electronics to do all sorts of weird things - my alarm went off as I was driving!
I sourced a used newer one from eBay, it came off a 2011 Audi A1.