Re: Re: first shoot for smartbattery

Jeroen Wijnhout
2005-01-04T07:47:49Z

On Monday 03 January 2005 20:50, Pedro Venda wrote:
> another thing: I changed the current drain from "mA or mWh" to "mAh or mW"
> in smartbattery.c but I'm having some doubts:
>
> Are these energy or power measures?
> for power measures, the units would be mA/h or mW
> for energy measures, the units would be mA or mW.h
>
> so, maybe I changed it wrong... care to comment?

This puzzled me actually. mA is not the same as mW.h, unless you specify a
reference voltage and time (but without specifying those it is meaningless).
mA is a current (charge per second), mWh is energy.

mA/h is the unit that corresponds to change in the current. mAh has the unit
of charge. It could very well be that the SMBus smartbattery specification
has some reference values that allow you to convert mA/h to mW and mA to
mW.h. But as it stand it really does not make sense to me.

best,
Jeroen
--
Kile - an Integrated LaTeX Environment for KDE