charge indicator display when there is still a charge

My iPhone, using iOS 7.0.4 keepings going dead ( showing on the screen I need to plug it in) but the % charged indicator is saying 50%.
Did you try doing a hard reset? Hold in both buttons until you see the apple logo.
im getting the same thing.. but usually im in the 20's%

Original thread: https://forums.imore.com/threads/charge-indicator-display-when-there-is-still-a-charge.273325/