search for: battery_scale

Displaying 4 results from an estimated 4 matches for "battery_scale".

2014 Aug 11
1
Cyberpower Value1200E might not need 0.667 battery scaling
...> -/* > +/*! Battery voltage 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 cons...
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:
2010 Sep 11
1
TrippLite SMART1000LCD
..... diff --git a/trunk/drivers/tripplite-hid.c b/new/drivers/tripplite-hid.c index c36da98..dddd13c 100644 --- a/trunk/drivers/tripplite-hid.c +++ b/new/drivers/tripplite-hid.c @@ -71,6 +71,8 @@ static usb_device_id_t tripplite_usb_device_table[] = { { USB_DEVICE(TRIPPLITE_VENDORID, 0x2005), battery_scale_0dot1 }, /* e.g. TrippLite OMNI900LCD */ { USB_DEVICE(TRIPPLITE_VENDORID, 0x2007), battery_scale_0dot1 }, + /* e.g. TrippLite Smart1000LCD */ + { USB_DEVICE(TRIPPLITE_VENDORID, 0x2009), battery_scale_0dot1 }, /* e.g. TrippLite smart2200RMXL2U */ { USB_DEVICE(...