I wanted to use gpio-poweroff from the device tree to power-off the system. But before power-off the application on the image need to be intimated that power-off button is pressed. and then the shutdown is initiated. and then the total power-off should take place. how to proceed on this ?