Chosen Solution

For a while my phone would die at anywhere between 20 and 30 percent. Now it’s dying anywhere between 90 and 100 percent. I am constantly charging my phone so it won’t turn off. Please let me know if you have any suggestions on how to fix this.

i would suggest getting the battery swapped out asap. it is usually an intermittant fault in the battery. now there IS a possibility of a thermal timeout, as the board could be overheating. but this is less likely