The Pixeo Xba is powered by 2 AAA batteries (included) and has a 100 hour run time.The Xba has a three position switch; On/Auto/Off. The Auto setting will switch the taillight on or off as needed. The Xba has both a motion sensor and a light sensor. If the bike is moving and it's dark out, the light will automatically come on. When you stop, the Xba will remain on for 4.5 minutes and then switch off automatically.