I have a circuit where a charger loads a 24 V battery. When the charger is not plugged, there is a risk that of short circuit and the battery will then explode. To avoid this I thought about using transistor.
The MOSFET was my primarily choice but the problem with the MOSFET is that the gate source voltage will be too high (>20 V, which is the upper limit).
A bipolar transistor is another option, but I am also concerned about the voltage dropout. If the dropout is too high, then the battery will never get fully charged when the charger is put on.
Is there another simpler option that I haven't thought of?