Detecting power outages

The UPS is nowhere near a computer or much else other than an outlet.