They’re USB, so they could run off a battery. I have some shelves where I charge all sorts of stuff next to this so they’re plugged into AC->USB.
They cost more than others but the sections were almost the same measurement as the shelves, so I was able to get 2 strips above each shelf. I just had to notch the edges of the shelves w/ a file to pass the wire.