mozzwald.com has designed an iphone battery charger /tester.
I have seen technicians often replace batteries when they may not necessarily need to be or ignore the fact that they could be the cause of the issue at hand. To remedy this I designed a basic iPhone battery charging breakout board system. The system can charge a battery, has the option for expansion to support newer/other batteries and breaks out the battery status pins which can be read from a microcontroller or some other means. It consists of 6 battery connector boards (iPhone 4, 4S, 5, 5S/C, 6, 6+) and a main charging board.
iPhone Battery Charger / Tester – [Link]