My phone was warm once, and the next day it landed on 50% of battery and since then it keeps turning off and when it charges it messes with it it goes to 75% to 23% then back 78% in 2 seconds it just switches
I suggest removing or force stopping apps that are running on the background. Do you have a lot of social media apps installed? They are always running on the background.