On 17/04/2021 21.43, Roger Price wrote:
On Sat, 17 Apr 2021, Carlos E. R. wrote:
Methinks that depleting the battery to 10 is a very severe wear on it. I would go for 50% tops. If the system is not capable of going down fast...
If you try to power down my machine at 23:50 hours, it will not go down till 00:15, or worse, 00:30. Other times, yes, it will go down fast.
How do you hold back /sbin/shutdown for what might be 40 minutes? Is the Salicru capable of supplying power to the system for 40 minutes and still have 50% reserve? This will need testing.
I don't. If the mains power fails that instant and I'm not there, the UPS dies of exhaustion and the machine with it. At least with hibernation, which is what I do. The system tries to sync the filesystem, and if it does that during the interval 23:45 to 00:15 the kernel is not capable of syncing the filesystem while texpire is running. The cron-job texpire has to be killed first, then the machine can be told to hibernate. I have not tested this yet. I have not tested power down during that interval yet (I thought I had). There are other issues: - sometimes hibernation fails, and has to be called a second time. How to automate this? - if hibernation stalls while texpire is running, powerdown also fails (this I have tested). -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)