A circuit device for providing energy to at least one electrical component, such as a light emitting diode (LED). The circuit device comprises a positive contact, an inductor, a diode and a negative contact in series. A first component contact for electrical connection to a cathode end of an electrical component, a second component contact for electrical connection to an anode end of an electrical component, a switch and a control device are also included. The first component contact is electrically connected to a junction between the positive contact and one end of the inductor; and the second component contact is electrically connected to a cathode end of the diode. There are also provided a circuit device further including an LED, an assembly including a circuit device and a bulb base, a flashlight including an assembly, and a method of directly replacing a flashlight bulb.