lkml.org 
[lkml]   [2001]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Better battery info/status files
Hi!

> > This fixes units, and makes format tag: value. Please apply.
>
> The units seem to vary. I suggest using fundamental SI units.
> That would be meters, kilograms, seconds, and maybe a very
> few others -- my memory fails me on this.
>
> Power meter applets will be eternally buggy if you force them
> to deal with units that change. In fact there is no reason to
> print the units if you always use the fundamental units.

Problem is that _hardware_ wants to talk us two different units.

Sometimes it wants to tell us watts.

Sometimes hw wants to tell us volts and ampers.

I believe kernel should not do any translation. [It is _not_ trivial
-- if battery voltage changes with time.]
Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.156 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site