does a thermostat have a battery