search for: might_need_battery_scale

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

2014 Aug 11
1
Cyberpower Value1200E might not need 0.667 battery scaling
...scale factor. > * For some devices, the reported battery voltage is off by factor > * of 1.5 so we need to apply a scale factor to it to get the real > * battery voltage. By default, the factor is 1 (no scaling). > */ > static double battery_scale = 1; > +static int might_need_battery_scale = 0; > +static int battery_scale_checked = 0; > + > +/*! If the ratio of the battery voltage to the nominal battery voltage exceeds > + * this factor, we assume that the battery voltage needs to be scaled by 2/3. > + */ > +static const double battery_voltage_sanity_check = 1.4; &g...
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: