I am trying to switch between USB power and a single cell lipo using two mosfets. Would the circuit below be ideal or is there a more efficient/reliable way to do this?
When the USB is connected the mosfet for the battery should turn off and when the battery is connected and the USB is not the mosfet for the battery should turn on.