<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Nutters,<br>
    <br>
    I'm running nut 2.7.2 on FreeBSD 10-stable (via the FreeBSD port)
    with an APC Back-UPS CS 350 connected via USB. I get persistent
    (every few minutes) messages logged "battery is low" but I don't
    understand why. I don't think it's for the reason described in the
    FAQ (but I'm not 100% sure).<br>
    <br>
    In the trace output I can see that UPS.PowerSummary.RunTimeToEmpty
    is usually around 150 - 170 seconds. Occasionally it drops to 105. I
    don't see any reason why the load would be changing significantly.
    In any case, I've set the threshold to 90 seconds in ups.conf.<br>
    <br>
    See below for debug info.<br>
    <br>
    If somebody could offer suggestions on how to fix it, I'd be very
    grateful.<br>
    <br>
    Thanks in advance,<br>
    Â Â Â  Graham<br>
    <br>
    ups.conf:<br>
    <blockquote>[maxwell]<br>
      Â Â Â Â Â Â Â  driver = usbhid-ups<br>
      Â Â Â Â Â Â Â  port = auto<br>
      Â Â Â Â Â Â Â  override.battery.runtime.low = 90<br>
    </blockquote>
    <br>
    uspc output:<br>
    <blockquote>battery.charge: 100<br>
      battery.charge.low: 10<br>
      battery.charge.warning: 50<br>
      battery.date: 2005/04/07<br>
      battery.mfr.date: 2005/04/07<br>
      battery.runtime: 165<br>
      battery.runtime.low: 90<br>
      battery.temperature: 29.2<br>
      battery.type: PbAc<br>
      battery.voltage: 13.5<br>
      battery.voltage.nominal: 12.0<br>
      device.mfr: American Power Conversion<br>
      device.model: Back-UPS CS 350<br>
      device.serial: BB0515022057  <br>
      device.type: ups<br>
      driver.name: usbhid-ups<br>
      driver.parameter.pollfreq: 30<br>
      driver.parameter.pollinterval: 2<br>
      driver.parameter.port: auto<br>
      driver.version: 2.7.2<br>
      driver.version.data: APC HID 0.95<br>
      driver.version.internal: 0.38<br>
      input.sensitivity: medium<br>
      input.transfer.high: 266<br>
      input.transfer.low: 180<br>
      input.voltage: 250.0<br>
      input.voltage.nominal: 230<br>
      output.frequency: 49.0<br>
      output.voltage: 230.0<br>
      output.voltage.nominal: 230.0<br>
      ups.beeper.status: enabled<br>
      ups.delay.shutdown: 20<br>
      ups.delay.start: 30<br>
      ups.firmware: 807.q5.I<br>
      ups.firmware.aux: q5<br>
      ups.load: 71.0<br>
      ups.mfr: American Power Conversion<br>
      ups.mfr.date: 2005/04/07<br>
      ups.model: Back-UPS CS 350<br>
      ups.productid: 0002<br>
      ups.realpower.nominal: 210<br>
      ups.serial: BB0515022057  <br>
      ups.status: OL<br>
      ups.test.result: No test initiated<br>
      ups.timer.reboot: 0<br>
      ups.timer.shutdown: -1<br>
      ups.timer.start: 0<br>
      ups.vendorid: 051d<br>
    </blockquote>
    tail of /var/log/ups.log:<br>
    <blockquote>20150109 134451 100 248.0 53.0 [OL] NA NA<br>
      20150109 134951 100 248.0 47.0 [OL] NA NA<br>
      20150109 135451 100 248.0 54.0 [OL] NA NA<br>
      20150109 135951 100 248.0 50.0 [OL] NA NA<br>
      20150109 140451 100 248.0 73.0 [OL] NA NA<br>
      20150109 140951 100 248.0 77.0 [OL LB] NA NA<br>
      20150109 141451 100 248.0 72.0 [OL] NA NA<br>
      20150109 141951 100 248.0 72.0 [OL] NA NA<br>
      20150109 142451 100 250.0 73.0 [OL] NA NA<br>
      20150109 142951 100 250.0 68.0 [OL] NA NA<br>
      20150109 143451 100 250.0 67.0 [OL] NA NA<br>
      20150109 143951 100 250.0 68.0 [OL] NA NA<br>
      20150109 144451 100 250.0 65.0 [OL] NA NA<br>
      20150109 144951 100 248.0 70.0 [OL] NA NA<br>
      20150109 145451 100 250.0 72.0 [OL] NA NA<br>
      20150109 145951 100 248.0 71.0 [OL] NA NA<br>
      20150109 150451 100 250.0 66.0 [OL] NA NA<br>
      20150109 150951 100 250.0 72.0 [OL] NA NA<br>
      20150109 151451 100 250.0 66.0 [OL] NA NA<br>
      20150109 151951 100 250.0 73.0 [OL] NA NA<br>
    </blockquote>
    output of /usr/local/libexec/nut/usbhid-ups -a maxell -DD at a time
    when low battery is reported:<br>
    <blockquote>161.408239     refresh_report_buffer: expected 5 bytes,
      but got 3 instead<br>
      Â 161.408313     Path: UPS.Input.Voltage, Type: Feature, ReportID:
      0x20, Offset: 0, Size: 32, Value: 250<br>
      Â 161.419115     Path: UPS.Input.ConfigVoltage, Type: Feature,
      ReportID: 0x46, Offset: 0, Size: 8, Value: 230<br>
      Â 161.428351     Path: UPS.Output.Voltage, Type: Feature, ReportID:
      0x2b, Offset: 0, Size: 16, Value: 230<br>
      Â 161.439089     refresh_report_buffer: expected 3 bytes, but got 2
      instead<br>
      Â 161.439167     Path: UPS.Output.ConfigVoltage, Type: Feature,
      ReportID: 0x2d, Offset: 0, Size: 16, Value: 230<br>
      Â 161.448260     Path: UPS.Output.Frequency, Type: Feature,
      ReportID: 0x2a, Offset: 0, Size: 16, Value: 50<br>
      Â 163.098638     upsdrv_updateinfo...<br>
      Â 163.183571     Got 1 HID objects...<br>
      Â 163.183657     Path: UPS.PowerSummary.RunTimeToEmpty, Type:
      Input, ReportID: 0x0d, Offset: 0, Size: 16, Value: 105<br>
      Â 163.183686     Quick update...<br>
      Â 163.190347     Path: UPS.PowerSummary.DelayBeforeShutdown, Type:
      Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: -1<br>
      Â 163.201247     Path: UPS.PowerSummary.DelayBeforeReboot, Type:
      Feature, ReportID: 0x13, Offset: 0, Size: 24, Value: 0<br>
      Â 163.210345     Path: UPS.Output.DelayBeforeStartup, Type:
      Feature, ReportID: 0x28, Offset: 0, Size: 16, Value: 0<br>
      Â 163.221472     Path: UPS.PowerSummary.PresentStatus.ACPresent,
      Type: Feature, ReportID: 0x07, Offset: 2, Size: 1, Value: 1<br>
      Â 163.221585     Path: UPS.PowerSummary.PresentStatus.Discharging,
      Type: Feature, ReportID: 0x07, Offset: 1, Size: 1, Value: 0<br>
      Â 163.221614     Path: UPS.PowerSummary.PresentStatus.Charging,
      Type: Feature, ReportID: 0x07, Offset: 0, Size: 1, Value: 0<br>
      Â 163.221643     Path:
      UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type:
      Feature, ReportID: 0x07, Offset: 4, Size: 1, Value: 0<br>
      Â 165.108555     upsdrv_updateinfo...<br>
      Â 165.231693     Got 1 HID objects...<br>
      Â 165.231811     Path: UPS.PowerSummary.RunTimeToEmpty, Type:
      Input, ReportID: 0x0d, Offset: 0, Size: 16, Value: 142<br>
      Â 165.231841     Quick update...<br>
      Â 165.238711     Path: UPS.PowerSummary.DelayBeforeShutdown, Type:
      Feature, ReportID: 0x12, Offset: 0, Size: 16, Value: -1<br>
      Â 165.247693     Path: UPS.PowerSummary.DelayBeforeReboot, Type:
      Feature, ReportID: 0x13, Offset: 0, Size: 24, Value: 0<br>
      Â 165.258711     Path: UPS.Output.DelayBeforeStartup, Type:
      Feature, ReportID: 0x28, Offset: 0, Size: 16, Value: 0<br>
      Â 165.267595     Path: UPS.PowerSummary.PresentStatus.ACPresent,
      Type: Feature, ReportID: 0x07, Offset: 2, Size: 1, Value: 1<br>
      Â 165.267702     Path: UPS.PowerSummary.PresentStatus.Discharging,
      Type: Feature, ReportID: 0x07, Offset: 1, Size: 1, Value: 0<br>
      Â 165.267731     Path: UPS.PowerSummary.PresentStatus.Charging,
      Type: Feature, ReportID: 0x07, Offset: 0, Size: 1, Value: 0<br>
      Â 165.267760     Path:
      UPS.PowerSummary.PresentStatus.BelowRemainingCapacityLimit, Type:
      Feature, ReportID: 0x07, Offset: 4, Size: 1, Value: 0<br>
    </blockquote>
    <blockquote><br>
    </blockquote>
  </body>
</html>