Some thermostat batteries can be up to 6 years, whereas others last for only 6 months. Even when the thermostat is hardwired, it might need a battery backup that should be replaced regularly. The battery backup is meant to ensure the system functions as required during power failure.