Implementation of a DC/DC converter with stepwise charge and improved battery lifetime