I got a battery replacement this year after my iphone 13s battery was around 75%. Turns out after the battery replacement the waterproofing will no longer work so my phone was done for due to water damage. Anyways i ended up buying the iphone 17 brand new hoping for an "upgrade"... the iphone 17 battery was just as bad as my iphone 13s battery life, the technician told me nothings wrong with it multiple times so i returned it, switched to the pixel 9a.
Turns out the pixel 9a has a bigger battery than the Iphone 17 pro max, you can install a custom rom called graphene os remove all bloatware and then just like that my phone is lasting me 3 days on average on a single charge capped at 80%. On top of that it makes me more productive. Your phone should be a tool not a tool to feed our phone addictions. graphene os turns it into a true tool depending on your goals.