<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">One thing that I think NUT misses is the client side being able to decide to shutdown by itself based on time (this can be done), battery charge (ex if bellow 10%), and estimated runtime left (if available and considered reliable/calibrated). <div>Without having to sort on the LB state from the server. </div><div><br><div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">Sent from my iPhone with  iTypos</span></div><div dir="ltr"><br><blockquote type="cite">On Jul 16, 2023, at 4:34 PM, Willcox David via Nut-upsuser <nut-upsuser@alioth-lists.debian.net> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Interesting. Something similar came up in late May. Look for "<font face="Helvetica Neue"><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;">[Nut-upsuser] Synthesize low batt (LB) fron SNMP UPS which does not support this?</span><span style="caret-color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85); font-size: 12px;">”</span><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;"> Is there an archive of this list? I an</span><span style="caret-color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85); font-size: 12px;">’</span><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;">t find it. I</span><span style="caret-color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85); font-size: 12px;">’</span><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;">d been trying to figure out how to do that itself, but then found some code in drivers/dstate.c that looked like it would work, but someone else replied that they</span><span style="caret-color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85); font-size: 12px;">’d tried it and it didn’t work.</span></font></div><div><font face="Helvetica Neue"><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;"><br></span></font></div><div><font face="Helvetica Neue"><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;">But that was about getting the NUT server to synthesize LB to its clients before the actual UPS did.</span></font></div><div><font face="Helvetica Neue"><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;"><br></span></font></div><div><font face="Helvetica Neue"><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;">If you</span><span style="caret-color: rgba(0, 0, 0, 0.85); color: rgba(0, 0, 0, 0.85); font-size: 12px;">’</span><span style="color: rgba(0, 0, 0, 0.85); font-size: 12px;">re running NUT as a client on your server, then yes, as others have noted, upssched on your server is probably the way to go.</span></font></div><div><br></div><div><br><blockquote type="cite"><div>On Jul 16, 2023, at 9:00 AM, Dan Langille via Nut-upsuser <nut-upsuser@alioth-lists.debian.net> wrote:</div><br class="Apple-interchange-newline"><div><div>Hello,<br><br>I had an idea last week: why shut everything off (in my basement) when the power goes off (and run time goes below X minutes)?<br><br>My idea: shutdown the big stuff first (two servers) leaving the little stuff (switches, wireless, gateway) running for a while longer. I might get another 30 minutes of internet that way. Let me watch a bit more streaming….<br><br>I’m convinced that idea is achievable with a little programming. <br><br>Mind you, most of my power outages exceed 1 hour. <br><br>Do you already do something similar? Do you have something you’d like to share please?<br><br>Thank you<br><br>-- <br>  Dan Langille<br>  dan@langille.org<br><br>_______________________________________________<br>Nut-upsuser mailing list<br>Nut-upsuser@alioth-lists.debian.net<br>https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser<br></div></div></blockquote></div><br><span>_______________________________________________</span><br><span>Nut-upsuser mailing list</span><br><span>Nut-upsuser@alioth-lists.debian.net</span><br><span>https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</span><br></div></blockquote></div></body></html>