I recently got hit by a bad brownout which damaged a few hundred dollars worth of electronics.

Is there a whole-house product which will protect against surges and brownouts? As I understand brownouts, there is no protection other than a battery to boost the underpowered incoming current or to cut off the juice to avoid underpowering electronics causing damage. I don't know how a whole-house brownout protection woudl work, but I would imagine that it has the same smarts as a UPS, but since its impractical to have a battery for an entire household would simply cause a blackout to the house until the line stabilized.