L
L
lazix2020-05-23 19:08:02
Uninterruptable power source
lazix, 2020-05-23 19:08:02

How to make computer power protection so that it automatically turns on after a failure?

I have a computer with Ubuntu, for example, I will buy an APC 650 with a USB cable. The computer is configured to turn on after power is applied.

Scenario: power failure. Povershut (or whatever Linux has) looks at the battery level and, when the threshold is reached, correctly shuts down the computer. After that, IMMEDIATELY there is electricity and the UPS does not have time to cut down. Thus, there was always electricity on the computer and he did not know that it was time to turn on.

How to be?
I only see WoL from the router every minute, but there may be a situation that the computer was awakened before the electricity was restored.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim, 2020-05-24
@Torres90

If the computer is turned off, then apc will remove power from the sockets.
turned off the electricity - the UPS switched to the battery and continues to power the computer - it remains 5-10 minutes. or how much time there is for battery operation, the UPS gives a command to turn off the computer - comp. turns off - and here the logic should start working how long it should take from the moment electricity is supplied to the UPS so that it turns on 220 on its sockets.
How long it takes to shut down the computer is set in the apc settings and when to turn on the sockets after turning on the electricity in the same place

F
fastboot, 2020-07-04
@fastboot

Just make your own start-up circuit. 5f00d8ba70403592027625.png
If you need it, write me in detail

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question