Battery-charger-control designers face a fundamental choice: to use a part from the rich selection of dedicated charge-control ICs available from many vendors or to use a programmable microcontroller.