Probably you need to check logcat when your game crashes, it could be a memory leak, segmentation fault or some kind of error. Games crashing is expected due to the fact that most games do not build an apk for x86 architecture and only ARM architecture which is found on most phones. Please be more clear, by sleeping you mean you are sleeping or you put your PC to sleep mode. You can also try installing different kernel/mesa and try other gaming protocols ( ARM native bridge) from gearlock > run gearlock extensions. If you want to only farm for hours then you can use an emulator such as BlueStacks, MEmu. I used to farm in clash of clans with MEmu, consider allocating least ram and cores since you are not playing and only farming.