If brown outs are causing trouble, and they do, you need to have an UPS (Uninteruptable Power Supply).
_________________________