If the voltage ranges are unstable (ie: power stays on, but the actual voltage level may differ a lot from your 220V conventional), then I think that's the sort of scenario wherever an AVR is useful. A UPS device on your router and modem is likewise excellent for the duration https://stephens0yb3.bloggazza.com/32828640/the-definitive-guide-to-uninterruptible-power-supply-calculator