I've seen a few that the battery was years old and it was failing in odd ways. I will not spend time on old batteries today. Too cheap to think or chat about that.

Not a sure thing since the phone is so old. I do not think it's the iOS upgrade as we have a 5s here and it's fine on the latest iOS. But it's been well cared for, has a new battery and a Jackery battery case.