In some cases, it may be possible to replace a battery-powered thermostat with a hardwired one, but compatibility and installation requirements can vary. Consult a professional technician to determine the feasibility and make the switch if needed.