Quote Originally Posted by dragonmat89 View Post
I've found that if I swipe to another app and back to the game it's fine, but if I go to two apps the game restarts when I come back. It doesn't do this on it's own but I think it's potentially a RAM issue on my phone that it can only run so many apps actively at once (especially as LotB is very processor hungry...). Don't know if this helps but maybe force close all other apps before you set it up for a long run?
This is standard "battery optimisation" on the Android platform. As "new" apps make requests for resources (RAM in particular) the OS decides whether to unload a the oldest now-unused app. If you have a strong desire for LotB to remain, you can disable the battery optimisation behaviour on a per-app basis, forcing the OS to look for other apps instead. However, don't do this for a lot of apps: if it runs into the situation where all recent apps have the battery optimisation disabled, you're back at square one where the OS ditches the "oldest" app.

The battery optimisation settings are typically in Settings > Battery but your particular Android flavour may have shoved it elsewhere.