How to modify USB battery pack to function like a UPS?
Most battery packs now uses a "line interactive" or "offline" design so there is an interrupt when you switch the input power. You can shop around and try to find one with "online" design (that is, the battery pack have the cells, output of the charger and input of the boost converter all paralleled together without switching elements in the middle)