power supply
To get you started: Li-ion cells are charged via a constant current/constant voltage system. You start by charging them at a constant, controlled current (less than 1C) until the voltage of the cell becomes 4.2 (or 8.4 with 2 cells in series), then you hold the voltage constant at 4.2 and allow the current to drop as the li-ion battery fills up.