UPS generator friendly