This sounds like it is a battery problem, firstly, I would check the battery health in the settings of your iPhone to see what that says under settings>battery>battery health, there are also programs online you can download to more accurately read the battery health. If the battery life shows...