title: Password required to power off Android device
body: <p>I wanted to see if it was possible to have an app that can monitor the shutdown intent and require a password/pin to proceed with the power off. Ideally I would like to have it before the power off menu appears after holding the power button, so before the menu is shown with options like "Power off" and "Airplane Mode" the user would be required to enter a password/pin. I know this might not be possible without rooting the device. Just wanted to see if something like this was possible without having root access.</p>