Fixtures may also have a switch to control the light, either attached to the lamp body or attached to the power cable. Permanent light fixtures, such as dining room chandeliers, may use a wall switch to turn them on and off; as such, these fixtures may have no switch on the fixture itself.
Fixtures require an electrical connection to a power source, typically AC mains power, but may also have battery power for camping or emergency lights. Permanent lighting fixtures may be directly wired. Moveable lamps have a plug and cord so that they can be plugged into a wall socket.