- assuming 4 Ohms I calc'd is correct from website R=V/I here is my quick analysis of where you losses are:
- Pls verify coil ohms , buy FET and move tiny board near solenoid. Make that current loop as SMALL AS POSSIBLE
Battery 25% => Get a bigger pack or LiFe cells
switch and wires 28% => Use Nigel's schematic . Note R2 is 25 x coil R ... Good ratio to use for a big NPN Power Transistor.
But you may want a logic level MOSFET.
Your results 53% loss from poor design .
Your goal ought to be < 1% losses in battery, switch and wires. but settle for 5% for cost or heat compromise if absolutely necessary.
Heat = high failure rate
Since power loss is proportional to R. the above means all R's must be < 1% of 4 Ohm load or 40 mOhm max total. so allow 10 mOhm for wire based on AWG and mOhms /m and keep short, move electronics to solenoid. then
30 mOhms max for transistor FET @ Vgs = 4.5V
View attachment 133724
In future define your 0V point as VBat- not Vbat+ = BLK wire in Common (-) of DMM.
Lithium Cells work best , long life or Li-Ion ,slightly higher voltage. (10%V 20% P)
View attachment 133719
The tab is also Drain (+) for Nch FET.
$0.57 FET Through hole , works well at 4.5V 9 mohm
https://www.digikey.ca/en/products/detail/onsemi/NTD4979N-35G/13439150 in stock
Any 100mA ~ 1 A diode will do for flyback pulse ~ 1.5A 1ms
Bottom Line is Battery needs to be 5x bigger or better minimum preferably 25x better. and you need a transistor switch in a small current loop with battery , coil and transistor.