The main component is a motion sensor that goes inside the tank and triggers the flush cycle when it detects your hand. The four AA batteries that power it will last for a year.