I don't believe that in a situation with wildly fluctuating power there is any alternative to "grab all available energy from the grid when there is power", you never know how huge the next brown/blackout will be.
What could definitely help is putting good power conditioning equipment in front of the UPS. That at least will protect the AC-to-DC first stage from overvoltages and shorter brownouts. If the PCE comes with fat enough supercaps, it can also protect the main UPS by preventing it from draining the battery at all.
What could definitely help is putting good power conditioning equipment in front of the UPS. That at least will protect the AC-to-DC first stage from overvoltages and shorter brownouts. If the PCE comes with fat enough supercaps, it can also protect the main UPS by preventing it from draining the battery at all.