While charging, percentage should only go up, and while discharging, percentage should only go down.
This reverts commit 1d43adcdfa.
1d43adcdfa