Both on this site and "in real life", battery-powered lights appear to be at least as popular as generator-powered lights.
I have always been slightly confused by this. To me, a generator-powered light seems the better solution if you need light regularly, because there's no need to worry about charging, and because they can be permanently attached. Yet many people seem to not only prefer battery-powered lights, they appear to not even consider a generator.
Why is that so? What are the advantages to battery-powered lights?