-
Hello,
Yes, you can measure whether the gpio6 is really a logic 1 according to the configured driver.
Delayed shutdown function: please try to implement through software.