[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <znLIYxER.1162453921.3011900.khali@localhost>
Date: Thu, 2 Nov 2006 08:52:01 +0100 (CET)
From: "Jean Delvare" <khali@...ux-fr.org>
To: multinymous@...il.com, xavier.bestel@...e.fr
CC: davidz@...hat.com, "Richard Hughes" <hughsient@...il.com>,
"David Woodhouse" <dwmw2@...radead.org>,
"Dan Williams" <dcbw@...hat.com>, linux-kernel@...r.kernel.org,
devel@...top.org, sfr@...b.auug.org.au, len.brown@...el.com,
greg@...ah.com, benh@...nel.crashing.org,
"linux-thinkpad mailing list" <linux-thinkpad@...ux-thinkpad.org>,
"Pavel Machek" <pavel@...e.cz>
Subject: Re: [PATCH v2] Re: Battery class driver.
On 10/31/2006, man with no name wrote:
> In the case at hand we have mWh and mAh, which measure different
> physical quantities. You can't convert between them unless you have
> intimate knowledge of the battery's chemistry and condition, which we
> don't.
You just need to know the voltage of the battery, what else?
> And it would be nice to also allow for power supply devices that use
> other, incompatible units like "percent" or "minutes" or "hand crank
> revolutions".
Do such batteries exist at the moment, or are you just speculating? I
don't quite see how a battery could report remaining energy in time
units, as power consumption varies over time. Hand crank revolutions
wouldn't be a very useful unit either, unless you know how much energy
a revolution provides, and then you can just convert it. Percent would
make some sense, but you can only express the remaining energy this way,
not the total. And if you know the total in mAh or mWh, you can multiply
by the percentage and you get the remaining energy in the same unit.
--
Jean Delvare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists