search for: get_battery_charg

Displaying 1 result from an estimated 1 matches for "get_battery_charg".

Did you mean: get_battery_charge
2007 Dec 29
1
[nut-commits] svn commit r1204 - in trunk: . drivers
...ates this must be the input frequency, but > + * some vendors use it as the output frequency. The safest bet is > + * to just show the value without context and let the user decide. > + */ > + dstate_setinfo("frequency", "%.1f", query.freq); > + > charge = get_battery_charge(query.battvolt); > if (charge >= 0) { > dstate_setinfo("battery.charge", "%.1f", charge); If the specification says 'input frequency', that's what it is. If some vendors don't follow this, that's their problem. In any case I'm very much ag...