I found that the following helped: by never turning it off it just continues where it left off last time it was used. This assumes power is independent of TV.
Useful Settings This ADB command kills the sleep timer:
adb shell settings put secure sleep_timeout 0 and this ADB command kills the screensaver:
adb shell settings put system screen_off_timeout 2147460000
That would depend upon your application, your long term support needs, whether you need a widely available database which is hosted by multiple providers, whether you need a feature that isn’t available elsewhere etc.
Otherwise it’s a bit like asking “what type of rope should I use for my application?” Are you mountaineering or tying your boat to a dock?