Coping with power outages in mobile networks