My shield k1 tablet was killing the app when it ran in background, not just pausing it. I can confirm that disabling doze in Nougat rectified my issue. I guess 2GB ram isn't enough for modern android to run faultlessly without some tweaking. I don't get the issue on my mate 9 with 4GB ram. Thanks for helping me find the answer to my issue ?