Recently I had to get my iPhone replaced, because it stopped charging. I tried several adapters and cords and nothing. The Apple store was very helpful and replaced my iPhone (luckily it was still under warranty).
With a new iPhone (or if you reset your iPhone), you get all of the default settings. A useful setting is the battery charge percentage; by default this percentage does not display. This tutorial will show you how to turn the battery percentage on.