I am trying to understand:
1) how the following circuit works and more specifically how it turns on.
2) How to to modify it to get a hold on/hold off behavior instead of push on/hold off to prevent accidental turn on.
It is a circuit found and partially documented here. I have tested it in the auto off position and it works as expected.
I do understand how the circuit switches off but not how it initially turns on. How is the P-MOSFET gate pulled low when the button is pushed?
EDIT: I have designed a circuit on faltstad here for simulation. I tried Mohamad's idea but it didnt work. So the question remains: how to have a hold-on behavior, without loosing the auto-off (circuit initially off when powering it)?