I want to build a Car-PC, based on a Raspberry Pi with Display to play MP3´s. If I turn on the ignition in the car, the raspi should boot. When turning ignition off, the raspi has to shutdown. How can I do that? I am using ubuntu mate on raspi.
I think there must be a kind of battery between power off and shutdown: Key turn (ignition off) -> Raspi gets power from Battery -> raspi gets signal to shutdown -> raspi can shutdown.
Or is there any other way?
What, if just turning off the raspi by cutting it from power? Can it reboot correctly?