search for: batt_volt_nom_str

Displaying 3 results from an estimated 3 matches for "batt_volt_nom_str".

2014 Aug 11
1
Cyberpower Value1200E might not need 0.667 battery scaling
...0601), NULL }, > @@ -59,12 +66,48 @@ static usb_device_id_t cps_usb_device_table[] = { > { -1, -1, NULL } > }; > > +/*! Adjusts @a battery_scale if voltage is well above nominal. > + */ > +static void cps_adjust_battery_scale(double batt_volt) > +{ > + const char *batt_volt_nom_str; > + double batt_volt_nom; > + > + if(battery_scale_checked) { > + return; > + } > + > + batt_volt_nom_str = dstate_getinfo("battery.voltage.nominal"); > + if(!batt_volt_nom_str) { > + upsdebugx(2, "%s: 'battery.voltage.nominal' not available yet;...
2014 Aug 09
0
Cyberpower Value1200E might not need 0.667 battery scaling
On Aug 8, 2014, at 9:15 AM, Charles Lepple <clepple at gmail.com> wrote: > On Aug 7, 2014, at 10:52 PM, Charles Lepple <clepple at gmail.com> wrote: > >> On Aug 7, 2014, at 10:18 PM, Matthew Stapleton <matthew4196 at gmail.com> wrote: >> >>> I just got a Cyberpower SOHO Value 1200 ELCD UPS and even with nut 2.7.2, it appears to report battery voltage
2014 Aug 08
2
Cyberpower Value1200E might not need 0.667 battery scaling
On Aug 7, 2014, at 10:52 PM, Charles Lepple <clepple at gmail.com> wrote: > On Aug 7, 2014, at 10:18 PM, Matthew Stapleton <matthew4196 at gmail.com> wrote: > >> I just got a Cyberpower SOHO Value 1200 ELCD UPS and even with nut 2.7.2, it appears to report battery voltage too low due to the battery scaling function (In drivers/cps-hid.c). Even though the ups has usb id: