Router consume very less power therefore ups might be failing to detect the router is connected.
Try this use a external multi socket plug or adapter.. Then connect multi plug to the ups.
on the multi plug connect the power supply for router one 1 socket and also connect your tv on 2nd socket then see if still router is getting restarted.
Try this use a external multi socket plug or adapter.. Then connect multi plug to the ups.
on the multi plug connect the power supply for router one 1 socket and also connect your tv on 2nd socket then see if still router is getting restarted.