That was a Motorola phone… the battery died after 2.5 years, unfortunately. But it was easy enough to replace.
Here’s a 7-year old iPhone 5. I replaced the battery in it and it’s working great now. Previously it would last 12 hours or so, and I’m currently approaching 48 hours after replacing the battery.