The solenoid is energized when current is supplied to the coil.