Strange power problem

KandS:
...to change over to a lead acid battery in the even of mains failure

In that case a 5volt buck converter is a better option than linear regulation.
A switching buck converter basically halves battery drain.
Here is an example from Pololu. Cheaper (lower quality/specs) clones on ebay.
Leo..