Chosen Solution
Had the battery replaced. After each charging, the phone turns off after a couple of minutes and i have to turn it back on. After another couple of minutes it will turn off again. This can go on for 10 cycles or more. Sometimes however the phone works fine except the battery percentage display doesn’t drop at all. Stays at 100% until it dies
The new battery is defective, or you damaged one or several components on the logic board when you replaced the battery. Only way to know is to test with yet another new battery.