Not a comment on your diagnostics, but you want to make sure your UPS is NOT set to run Unraid as long as it can, but is set to initiate a shutdown with plenty of power left. You also do not want the Unraid server set to automatically power on as soon as power is supplied as it means it can come on before the UPS has a chance to recharge.