To minimize solenoid power, a full voltage initial pulse can be applied until the solenoid pulls in, then a lower voltage applied to maintain the position. This can be done by switching in a series resistor, but that wastes power. A more efficient way is to use PWM to generate the lower...