You may use the LED calculator here to help you calculate the LED resistor value.©-©-©-© R
©-©-©-© R
©-©-©-© R
©-©-©-© R
©-©-©-© RR
Thats the way i have my leds
© - leds
R - resistor
If that's a PP3/6F22 I'm surprised the OP gets 10 minutes! The individual cells in those are *TINY*.I agree, it's that simple; too many lights and not enough battery.
20 LEDs at 300mW each is 6W. A typical 9V battery might provide 400mAh to your lights until the voltage has sagged so far it will no longer work. If it really maintained, say, 8V (it won't), that would be 3.2W•hrs or about one half hour at 6W. Ten minutes is a little short, but not at all surprising.
The batteries may have some useful life left in them for other uses, though.
by Duane Benson
by Aaron Carman
by Jake Hertz