UPS Question?

In testing my UPS, how do I get my system to power up when I plug my UPS back in, after my system powers down, but before the UPS actually cuts power?

My UPS driver is: APC ups 2 Back-UPS Pro USB USB (usbhid-ups)

BUILD: TrueNAS SCALE ElectricEel-24.10.2
Chassis: SuperMicro CS-836BE1C-R1K03B
MB/CPU: SuperMicro X10SLL-F / Intel Xeon E3-1275 v3 @ 3.5 GHz Quad Core 8MB
MEM: 32 GiB - Crucial 4 x 8GB DDR3 1600 ECC RAM
BOOT: Two mirrored 40GB Intel SSD 320 Series
STORAGE:
LSI SAS 93000-8i 12Gb/s SAS PCIe Host Bus Adapter
Data1 Pool:
6 disk RAIDz2 - 6 x 4TB HGST
6 disk RAIDz2 - 6 x 6TB Toshiba
UPS: APC Back-UPS PRO-1350,

I don’t know if this is easily possible but it would be a function of the Motherboard.

What I have done in the past: 1. Have TrueNAS power off after 5 minutes. 2. Have TrueNAS send the UPS shutdown command with a 60 second delay (up to 120 seconds).

Now setup the power restoration:
Go into the BIOS, check the power settings and select Power Restore option to turn on the computer when restoring power.

It is easier to type this answer than to make it work, sorry.