I have used a UPS (Uninterruptable Power Supply) for many, many years on my main computer. They do die of course, but instead of buying..