Yes but that wasn't my problem. When I press the button ESP32 is getting 3.3V but the code inside it is not running.As the button is pressed to disable latch Q2 the power remains ON because U10 remains on as long as the button is pressed.
Is that what's happening?
