UPS for Nvidia Shield?

Is anyone aware of an app that allows an orderly shutdown of the Nvidia Shield connected to a UPS when power fails? I'd like to avoid dinging the Channels DVR Server I am setting up.

No idea. However, maybe there is a way to use the HDMI CEC to power down the Shield when power is lost? If I am not mistaken, you can set the Shield to automatically power down using HDMI CEC.

The shield does not power down, it only goes to sleep.