Answer
Enough to complete a safe, orderly shutdown or failover, which is usually more than the few minutes needed to just ride out a momentary power blip. The right number depends on the documented shutdown or failover procedure, not a generic industry rule of thumb.
Buyers should test the actual shutdown or failover procedure against the UPS runtime periodically, not just assume the rated runtime matches real-world performance over time as batteries age.