Gpio-shutdown/safe shutdown


Is gpio-shutdown or any safe shutdown capability available?

I’m going to use the Radxa Zero in the car and I would like to trigger a safe shutdown based on a GPIO pin (after the ignition turns off).



If you use Linux, you can attach a button to GPIO and write a script to listen to it and execute the shutdown command.

And what about Android?