Hi Kam, first of all if it went off after 3 minutes the battery is flat.
Obtain a replacement max size 2.2 ah.
before you replace it power down the panel for a minute connect the new battery then close the lid and power up the mains (from the fused spur or isolation point)
Rob
December 2007