The battery in the thermostat is replaceable. The thermostat has a battery that runs the programming and keeps it connected to the internet, but it doesn't last very long without the internet. To keep itself going, the Nest needs to be in contact with the wiring of your heating and cooling system.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.