Gracefull powerdown for TK1 - how to ensure it when truly embedded?

Howdy folks,

I want to embed a Jetson in a vehicle and connect it with the vehicle’s power supply such that when the ignition is turned on, the board will receive power.

My concern is about powering off the Jetson gracefully.

How can I protect the file-system from getting corrupted when the power is suddenly removed? How do folks that truly embed a Jetson typically deal with this issue?

Is there perhaps a commercial solution out there, like a smal UPS (uninterrupted power supply) that would power the Jetson through the shut down when it detects the power has gone?

Maybe there is a simpler solution out there?

Any ideas, suggestions or advice would be greatly appreciated.