EMBEDDED CONTROLLED BATTERY CHARGER

@pico,
I don't really know.
Chip only does 100/500mA charging, and 4.1 or 4.2V.
Asked the battery manufacturer, said to charge using 500mA/4.2V so that's what I used.