How long do the batteries last in the sensor?

It depends on things like the frequency of transmission, temperature, etc.

However, on average the battery will last for 2-4 years and can be easily replaced.

You can also check the battery on the UpKeep Sensors application.