rickerman:
When you turn the "ignition" off, the power will be lost to the arduino.
Ah I thought you were more concerned about accidental shutdown.
Could you include a powerDownIsImminent button to do an orderly shutdown including writing the final data?