[Brink] had some issues with the power supply in their apartment, so they set about whipping up a backup power solution to keep their Verizon ONT fiber modem ... got a working UPS setup to keep ...
The corrective measure would involve a UPS, or uninterrupted power supply, that can provide power ... if yours is a fiber broadband line), which often is very restricted in terms of Wi-Fi range.