So I have a Nest learning Thermostat for Years But but a few years ago,
my battery stopped holding a charge and the thermostat would keep dying.
I would charge it up on a USB port and put it back on and it would last.
6 to 8 hours and die again Nest ...