I have a battery pack (12V) and a brick supply (12V) and I want to use a P-channel FET to switch between the two and create feedback to a uC in the process. How would I go about doing that?
No, because the battery is disconnected from the circuit when the plug is inserted into the jack (which has your external power).Then wouldn't I be shorting out the internal battery when I want to open the circuit with the battery connects.