I have a lot of Pi's running in different places. They are always turned on but are power cycled 1-2 times a day. Power is just cut - no clean shutdown. Sometimes the filesystem on the SD card get corrupted and I guess it is because of the sudden loss of power.
I was thinking that there must be a sort of micro UPS that can keep the Pi running for about 15 seconds? Then the OS can do an emergency shutdown before power runs out.
Does anyone know of such a device?