Charlie98 made a good point. As long as you have 12 volts the sensor will be happy, but your dash, maybe not. Weak batteries play havoc on electronics.
I forget which, but some of the sensors run 5V power, so don’t freak out if you see 5V on the supply side.