Could be the OS too. i am on ios 18.5 and it overheats a lot and doesnt hold battery charge even when the game is forced closed and has been. Happens from time to time then Apple releases a patch that fixes it.
I'm using Poco x5 pro for a year at least never had any heat problems with my device but after the last update it started to overheat. What could be the problem, please?