1. Plug in and get the phone fully charged.
2. While still plugged in, restart the phone in recovery.
3. Go to the wipe menu and wipe battery statistics.
4. Restart the phone. When it is fully running, unplug and try to run as long as you can before you recharge it.