<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">I forgot to mention that I was not able to test</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">the procedure in #1 below successfully because my </div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">UPS never shows more than 65% battery charge anymore. This may be the result of a</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent;
 font-style: normal; ">failed calibration run.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">Jack</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; "><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr
 size="1">  <b><span style="font-weight:bold;">From:</span></b> JS <jshaio@yahoo.com><br> <b><span style="font-weight: bold;">To:</span></b> Arnaud Quette <aquette.dev@gmail.com>; Kastus Shchuka <ks-nut@tprfct.net>; Michal Soltys <soltys@ziu.info> <br><b><span style="font-weight: bold;">Cc:</span></b> "nut-upsuser@lists.alioth.debian.org" <nut-upsuser@lists.alioth.debian.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, November 26, 2012 9:38 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Nut-upsuser] APC UPS: replacement battery always triggers shutdown<br> </font> </div> <br>
<div id="yiv2035094768"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div><span> Arnaud,<br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><span><br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><span>I haven't been able to test Kastus' suggestion because my UPS (APC Back-UPS ES 750) doesn't appear on the list<br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><span>and I didn't want to take take the risk of disabling it by mistake.<br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><span><br></span></div><div style="color:rgb(0, 0,
 0);font-size:16px;background-color:transparent;font-style:normal;"><span>However, I did make a bit of progress on this:<br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><span><br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><span>1. There is a more detailed procedure than the one in NUT FAQ #37 in: http://excessups.com/blog/manual-runtime-calibration-apc-ups/ <br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><span>     which is summarized as:<br></span></div><div style="color:rgb(0, 0,
 0);font-size:16px;background-color:transparent;font-style:normal;"><span><br></span></div><div style="color:rgb(0, 0, 0);font-size:16px;background-color:transparent;font-style:normal;"><span>    Follow these steps to do a proper manual calibration on your APC UPS:<br><br>    1. Battery must be at 100% capacity when the Runtime Calibration is initiated/started. (charge the UPS for 24hours prior)<br>    2. The UPS must have 30-34% load on it during the calibration (Constant load, try: lamps, computers, monitors. Measure load % by PowerChute)<br>    3. Disconnect the serial/USB comm cable from the UPS (you don’t want PowerChute to shut down equipment)<br>    4. The battery must be discharged completely  (unplug UPS from wall outlet, let the UPS to shut off completely due to a discharged battery).<br> 
   5. Remove the attached load (ie – lights, computers)<br>    6. Let the UPS charge for 8 hours while OFF (plug back into utility power, press OFF button when UPS turns ON)<br>    7. Turn on UPS (run time should now be accurate)<br></span></div><div> </div><div><br></div><div>2. the man page for the  usbhid-ups has an alternative, based on the battery charge instead of the estimated runtime:</div><div><br>          "New" units have battery.runtime.low, but depending on battery quality, firmware version, calibration and UPS load - this variable can be underestimated quite<br>          a bit - especially right after going into OB state. This in turn can cause LB to be asserted, which under normal conditions will cause NUT to initiate the<br>          shutdown. You might want to disable this condition entirely, when relying on ignorelb option (this was actually the main
 motivation behind introduction of<br>          such feature).<br><br>          Simple example:<br><br>              [apc]<br>                  ignorelb<br>                  override.battery.charge.low = 15<br>                  override.battery.runtime.low = -1<br></div><div><br></div><div><br></div><div>I've been using this config and it works fine, allowing my system to keep running during the occasional 30-60 second AC power losses we see:</div><div>           [apc]<br>                    driver = usbhid-ups<br>                     port = auto<br>                    desc = "APC Back-UPS ES 750"<br>                    ignorelb<br>                    override.battery.charge.low = 20<br>             
       override.battery.runtime.low = -1<br></div><div><br></div><div>My system is running debian (testing distribution) and unfortunately the apcupsd package with apcsmart conflicts with nut-client. I tried installing it</div><div>but could not get it configured properly for the Back-UPS ES 750 (which has only a USB cable with a db-9 connector for access).</div><div><br></div><div>thanks,</div><div>--jack</div><div><br></div>  <div style="font-size:12pt;"> <div style="font-size:12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Arnaud Quette <aquette.dev@gmail.com><br> <b><span style="font-weight:bold;">To:</span></b> JS <jshaio@yahoo.com>; Kastus Shchuka
 <ks-nut@tprfct.net>; Michal Soltys <soltys@ziu.info> <br><b><span style="font-weight:bold;">Cc:</span></b> nut-upsuser@lists.alioth.debian.org <br> <b><span style="font-weight:bold;">Sent:</span></b> Monday, November 26, 2012 2:42 PM<br> <b><span style="font-weight:bold;">Subject:</span></b> Re: [Nut-upsuser] APC UPS: replacement battery always triggers shutdown<br> </font> </div> <br><div id="yiv2035094768">Michal, Kastus, Jack,<br><br>I have a similar request sitting in the Features requests for years:<br><a rel="nofollow" target="_blank" href="https://alioth.debian.org/tracker/index.php?func=detail&aid=304645&group_id=30602&atid=411545">https://alioth.debian.org/tracker/index.php?func=detail&aid=304645&group_id=30602&atid=411545</a><br>
http://lists.alioth.debian.org/pipermail/nut-upsdev/2006-June/000938.html<br><br>would you please unite your efforts and bring a patch for NUT FAQ (or the driver(s))?<br>
<br>thanks a lot!<br>Arnaud<br>-- <br>NUT (Network UPS Tools) Project Leader - http://www.networkupstools.org/<br>Debian Developer - http://www.debian.org/<br>
Free Software Developer - http://arnaud.quette.fr/<br><br><div class="yiv2035094768gmail_quote">2012/11/11 Kastus Shchuka <span dir="ltr"><<a rel="nofollow" ymailto="mailto:ks-nut@tprfct.net" target="_blank" href="mailto:ks-nut@tprfct.net">ks-nut@tprfct.net</a>></span><br>
<blockquote class="yiv2035094768gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="yiv2035094768im">On Sun, Nov 11, 2012 at 07:21:35AM -0800, JS wrote:<br>
> I followed this procedure (charging the battery fully, letting it drain off a token load while UPS is grounded on a surge protector) but it did not help.<br>
><br>
> Perhaps I missed something running this procedure; if anyone has suggestions for solving this they'd be greatly appreciated.<br>
<br>
</div>I've been in the same situation after replacing the battery in SC620I model.<br>
<br>
Then I found http://old.nabble.com/SmartUPS-and-new-battery-td20678966.html<br>
and followed the procedure:<br>
<br>
1. Shutdown the apcupsd daemon.<br>
2. Run apctest<br>
3. Choose option 6 to enter terminal mode<br>
4. Enter Y (UPS should respond SM)<br>
5. Enter 1 (one, not el; wait 4 seconds)<br>
6. Enter 1 (one, not el; UPS should respond PROG)<br>
7. Enter 0 (zero, not oh; UPS should respond with current constant)<br>
8. Enter + (plus) or - (minus) to increment/decrement the value<br>
9. Enter R to reprogram constant value (UPS should respond Bye)<br>
10. Enter Y (UPS should respond SM)<br>
11. Enter 0 (zero, not oh; UPS should respond with the new constant)<br>
12. Enter Esc to exit terminal mode<br>
13. Choose option 7 to exit apctest.<br>
<br>
The value to store in the register 0 differs by the model. There is a table<br>
posted in the middle of the thread. I hope your model is listed there.<br>
If you cannot find your model, you may want to try experimenting with different<br>
values.<br>
<br>
In my case, after updating register 0, my UPS is back to 42 min runtime.<br>
<br>
Hope this helps.<br>
<br>
Kastus<br>
<br>
</blockquote></div>
</div><br><br> </div> </div>  </div></div></div><br><br> </div> </div>  </div></body></html>