Hi all,
I want to use a AO3401A p-channel mosfet to disconnect a load while charging an 18650 Li-ion battery via a TP4056 (with protection) module. The load needs 3.8–4 V and up to 2.5 A at peak. When a 5 V adapter is plugged in, the load should turn off and turn on once unplugged. Added a 1K resistor between IN+ and G, and an ESD TVS diode SMAJ5.0A on the gate pin to protect against ESD, not sure how correct it is though.
Are the components and wiring below correct for my purpose?

I want to use a AO3401A p-channel mosfet to disconnect a load while charging an 18650 Li-ion battery via a TP4056 (with protection) module. The load needs 3.8–4 V and up to 2.5 A at peak. When a 5 V adapter is plugged in, the load should turn off and turn on once unplugged. Added a 1K resistor between IN+ and G, and an ESD TVS diode SMAJ5.0A on the gate pin to protect against ESD, not sure how correct it is though.
Are the components and wiring below correct for my purpose?







