Fix battery charge detection

EEPROM values were not restored when battery charge detection was not
activated
Revert "Fix battery charge detection"

This reverts commit b71445ab6debbb300487bb31339649a315fd92ab.
Merge remote-tracking branch 'origin/master'