Chosen Solution
My phone has this problem where after around a 5 or so minutes it just shuts off. I have tried a DFU reset. I can see battery heath. I have no idea where to look
A bad charging port can cause your phone to turn off after 3 minutes. If you buy another make sure its a genuine part as some aftermarket ones have required sensors missing causing more problems.