Smart battery charger

If you use an ATmega for charge control you could pulse charge the battery with a MOSFET.
No need for LM317s or relays.

But if you charger works then it's ok.