I guess that must be a recent thing, because the main reason I switched away from Apple is because I always got terrible batteries.
I'm sure usage patterns play into this. I charge my phone every night whether it needs it or not, and my iPhone 3GS I got and used years ago is still going strong on its original battery. Same with the iPads, MacBook, and the various other iPhones I've used through the years. Only rarely do I allow them to go below 50% charge when I'm their primary user.
My wife charges her phone intermittently and only when it needs it, and rarely gives it a full charge - always just enough to keep it going. I've had to replace her batteries occasionally.
Lithium prefers staying charged, so if your phone spends a lot of its life below 50% then it's unlikely that you'll get your full life (800+ charge cycles) out of your battery. If you routinely hit 10-20% then you should simply plan on replacing your battery yearly - and this goes for both iPhone and android.
That said, this is anecdotal and I know people who've kept their phones charged just as I have and still need replacements. Other patterns of usage must be at play here.
As it is my iPhone 6+ is three years old, lasts me all day, and I still rarely go below 50%.
So while we tease
@GasBandit about his fear of low battery, my guess is he gets great battery life and rarely replaces his battery before he replaces his phone.