For this to work you need some type of transfer switch which can automatically patch between incoming line voltage, and the battery backup. He already had one of these switches in place for use ...
When you need them, you haul them out to the most advantageous spot in your home or office, and they act as a battery ... the whole house automatically flips over to your backup generator, acting ...