Yes, sensor taps use electricity or batteries to function. However, you would be astonished to know that they keep water at a constant temperature, minimising the need to expend the energy required to change the water temperature.