@robalstona what do you mean by "check when the power button is pressed to power on device" ?
I mean that this axp192 chip is always powered and waits for power button press to powering upthe esp32 chip and lcd with backligth. And check when this button is pressed for 6 seconds to shut down the power.