Sounds like Android closing the process. I see you are running a custom ROM, although I'm not familiar with miui it may be worth checking your kernal minfree values to see if it's agressive and try tweaking to a smaller amount so it's not so agressive.
Please use the search feature before posting a problem/bug/idea. What's a Spotify Rock Star, and how do I become one? Using Spotify Since March 10th 2009 Twitter: @mechanimal82
no idea if the rom is custom, just bought the phone and didnt change or flash the rom, its already miui, redmi2 phone model, already tried that xbooster but didnt seem to solve the problem, right now i downloaded "pimp my rom" app from playstore, and tweaked some setting, right now spotify runs good and doesnt stops playin while playing games. goin to observe for a few days, thanks alot dude. for helping really apreciate you guys here.. ill keep you posted..
🙂 Haven't used PMR in a long time, forgot about that. The RedMi comes with MIUI as it's ROM so that explains it, let me know how you get on with the tweaks applied... I assume the tweaks you've made are to the OOM & Minfree values; you can read a bit more about this here if you're interested: