Convert SLA laptop battery to NIMH
I found this charger circuit :

And modified it so that it should be able to both charge the batteries in parallel and discharge them (minus diode voltage drop) back to the computer when power is disconnected. I would reccomend low-drop (Schotty) diodes to minimize loss. I hope this helps!