iPhone batteries can be replaced in store now. Not sure about the iPad though. The Apple guru will do a check to determine if the battery needs to be replaced or if there is another problem.
My iPhone 5 was burning thru battery fast -- but I was told there another glitch causing the problem -- not the battery! I wiped the phone and restored it and voila. Problem fixed.