Lol, remember if you have a blackout your connection goes down and mining doesn't do anything.
ETA Stupid 6 minute wait between posts.
I'll go for the cost benefit analysis route then. If you buy multiple UPS devices large enough to keep mining perpetually through a long blackout you will have spent more than the difference you would make mining at that time. If you live in a place where your power is out often enough for that to not be true, you should be looking at a backup generator system already just to enjoy living or working there.