I came across this product Parallax Li-ion Power Pack / Charger – 2 Cell so my device can be run off of 2 rechargeable Li-Ion batteries or from AC power. On the last page of the document they show how to hook up the power pack to another device to be able to handle the switching back-and-forth from battery power to AC power (Figure 7). They show a capacitor hooked up to supply power during the switch over, however they simply say to make sure you select one large enough without saying how large, or how to figure it out. Is there anyway to calculate this from the information supplied or a good rough estimate of how large a capacitor I should use? Or am I simply going to have to do trial and error? Any suggestions or comments are greatly appreciated and thanks in advance.