By sending the phone to Apple for a battery replacement, Apple goes through it, repairs it if necessary and give it a clean bill of health while it replaces the battery. Not cheap but you essentially have a reconditioned phone when it's returned to you.
Apple can be frustrating because of the control they have on all their products but for those that just want the darn stuff to work without problems I think it's a good business model.