it is dimensioned for a ESP-12F MCU. The
1. upper push button when pressed turn on the latch
2. after MCU process can safetly request to be turned off through down push button
load is simulated by two lamps.
The leftmost simulate a peak through a 1.7W lamp with a 3V of power supply
The righmost simulate a continuos current at 240mW and 3V.
In order to get p-mos in saturation during peaks the simulation require a Vth < 3V
10uF cap is also suggested for peak management.