The UPS should shut down POWER to the RaQ 3 about 30 seconds after doing a
safe shutdown to the RaQ 3. It sounds like this last piece isn't happening
for you. I consider that a bug.
I took a look at the code, as I remember that the section that I created to
tell the UPS is a bit of a hack (It's an embedded system call that calls the
following command "echo -n @001 >/dev/ttyS1", as the smartupstools at the
time did not support this functionality)
The "@001" is the "Shutdown with Grace period" command to the SmartUPS.
This code worked on the SmartUPS 700 that I developed this with. If you're
up to checking it out, I would disconnect the RaQ from the UPS power and
just try echoing this command to the UPS serial and seeing if the UPS shuts
down power.
It's possible that you have an older model UPS that does not support this
command, but I doubt it.
I think there is a window where if power is restored after this command is
issued and before the UPS shutdown occurs, then your system may never power
cycle. However, it should only be a one minute window, and if power has
been out long enough that the battery is down to 20%, I'm guessing a low
probability of hitting that window.
- Lyle