literature about UPS battery

For li-ion/li-po type, take a look at sparkfun's li-po charger - they sell one that facilitates charging the battery and powering the device at the same time. I'm not saying that you should use that charger though - it'll be educational to go read about it.