How Are The Light Up Letters Powered?

For the standard 5ft high, 4ft wide letters, we will need only one single mains socket to power them. The smaller tabletop versions, on the other hand, are battery-powered.