Having a modem and router with a battery backup may help keep you connected during power outages, though they will be useless if the power outage is preventing internet service from reaching your modem in the first place.