<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Thanks for the help, with the apcsmart-old driver it works again! Didn't notice my UPS is now so "old" ;-)<br><br>Here is the output of upsc with apcsmart-old driver:<br><br>battery.alarm.threshold: 0<br>battery.charge: 100.0<br>battery.charge.restart: 00<br>battery.date: 11/22/06<br>battery.packs: 001<br>battery.packs.bad: 000<br>battery.runtime: 540<br>battery.runtime.low: 120<br>battery.voltage: 53.73<br>battery.voltage.nominal: 048<br>device.mfr: APC<br>device.model: Smart-UPS RT 2000 XL   <br>device.serial: <br>device.type: ups<br>driver.name: apcsmart-old<br>driver.parameter.pollinterval: 2<br>driver.parameter.port: /dev/ttyS7<br>driver.version: 2.6.4<br>driver.version.internal: 2.1<br>input.frequency: 49.98<br>input.quality: FF<br>input.sensitivity: A<br>input.transfer.high: 253<br>input.transfer.low:
 161<br>input.transfer.reason: simulated power failure or UPS test<br>input.voltage: 233.2<br>input.voltage.maximum: 233.2<br>input.voltage.minimum: 233.2<br>output.voltage: 229.3<br>output.voltage.nominal: 230<br>ups.delay.shutdown: 020<br>ups.delay.start: 000<br>ups.display.language: E<br>ups.firmware: 416.7.I<br>ups.firmware.old: 5YI<br>ups.id: UPS_IDEN<br>ups.load: 063.0<br>ups.mfr: APC<br>ups.mfr.date: 11/22/06<br>ups.model: Smart-UPS RT 2000 XL   <br>ups.serial: <br>ups.status: OL<br>ups.temperature: 034.6<br>ups.test.interval: 1209600<br>ups.test.result: NO<br><br>and here with apcsmart driver:<br><br>battery.charge: 100.0<br>battery.voltage: 53.73<br>device.mfr: APC<br>device.model: Smart-UPS RT 2000 XL   <br>device.serial: <br>device.type: ups<br>driver.name: apcsmart<br>driver.parameter.pollinterval: 2<br>driver.parameter.port: /dev/ttyS7<br>driver.version: 2.6.4<br>driver.version.internal: 3.04<br>input.voltage:
 233.2<br>output.voltage: 229.3<br>ups.firmware: 416.7.I<br>ups.load: 063.0<br>ups.mfr: APC<br>ups.model: Smart-UPS RT 2000 XL   <br>ups.serial: <br>ups.status: OL<br>ups.temperature: 034.6<br><br><div><span><br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Charles Lepple <clepple@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> ML mail <mlnospam@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> nut-upsuser lists.alioth.debian.org <nut-upsuser@lists.alioth.debian.org>; Michal Soltys <msoltyspl-guest@alioth.debian.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, June 14, 2013 2:15 PM<br> <b><span
 style="font-weight: bold;">Subject:</span></b> Re: [Nut-upsuser] Battery runtime not displaying<br> </font> </div> <div class="y_msg_container"><br>On Jun 13, 2013, at 7:14 AM, ML mail wrote:<br><br>> I just upgraded to Network UPS Tools upsstats 2.6.4 on Debian wheezy and noticed that it does not show the battery runtime anymore, the field is simply empty. It used to work before with NUT 2.4.1. Does anyone know what could be wrong?<br>> <br>> I am using the apcsmart UPS driver.<br><br><br>The apcsmart driver was overhauled, and in 2.6.x, the previous one is available as apcsmart-old: just change the driver name in ups.conf, and restart upsd and the driver.<br><br>We would eventually like to have the new apcsmart driver replace the old one completely, so could you please capture the output of upsc for both the apcsmart and apcsmart-old drivers? (Feel free to filter out the serial number - I'm mainly interested in what other variables might be
 missing.)<br><br>Michal: let us know if you have any other recommended tests.<br><br>-- <br>Charles Lepple<br><a ymailto="mailto:clepple@gmail" href="mailto:clepple@gmail">clepple@gmail</a><br><br><br><br><br></div> </div> </div>  </div></body></html>