If your battery has really a problem, the diagnostic tool will show it.
In this case (and if your iphone is still under garanty), they can replace for free your iPhone with the same iPhone.
Mine has even been replaced whereas there had no problem on the diagnostic.