1. Many take an N cell
The N cell, printed LR1, is 12 mm across and 30 mm long and gives 1.5 volts. It is the short, stubby one, and it is common in small bike lights.
2. Others take AA or AAA cells
A light with a battery door takes cells you can change yourself, and the size is moulded into the holder. A light with a USB port has a rechargeable pack inside instead, and it tells you when the pack needs charging.
3. Cold and vibration are hard on them
A light left on a bike over winter sees both cold and vibration, and a cell that is already weak gives up quickly. Carry a spare if the ride is long.
4. A dim light is often a tired cell
LED lights get dimmer as the cell fades, and they can flicker before they stop. Change the cell when the light flickers rather than when it dies, so you are not left in the dark.