I don't think that's the reason. If your battery is dead, it's easy and cheap to get it replaced nowadays. Not a good enough reason to buy a new phone.
Also you can usually swap the phone for a refurbished model with a new battery. I did that with my iPhone 4. Slightly more expensive than a battery replacement service, but same day.