Thank you RandomGrinch, form the pic it seems a capacitor, which, as you say, would only retain the settings for a very limited time.
Your question "How can a battery powered, wireless device lose power due to a mains outage?" is legitimate (and I should have thought of it earlier !).
I have the...