Optimizing Power Management in Solenoid Valves