All of lore.kernel.org
 help / color / mirror / Atom feed
* battery: current a factor of 10 off?
@ 2008-11-21  0:33 Ferenc Wagner
  2008-11-21  1:31 ` Henrique de Moraes Holschuh
  2008-11-21  4:09 ` Alexey Starikovskiy
  0 siblings, 2 replies; 8+ messages in thread
From: Ferenc Wagner @ 2008-11-21  0:33 UTC (permalink / raw)
  To: linux-acpi; +Cc: wferi

Hi,

on my ThinkPad R50e the current_now reading seems something like 10
times the actual value.  Documentation/power/power_supply_class.txt
says it's in uA, and a tipical discharge value is around 15259000,
that is, 15 A on my system.  At the same time voltage is 11756000,
that is, 12 V, which sounds reasonable, but then the power is 15*12 VA,
ie 180 W, which is insane.  However, the numerical derivative of
energy_now gives 18 W, which is both reasonable and consistent with
the assumed factor of 10 error in current_now.  Is this possibly a bug
in 2.6.26.6?  During a quick glance over battery.c nothing obvious
jumped at me, but I'm no expert on this.
-- 
Thanks,
Feri.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-26 22:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-21  0:33 battery: current a factor of 10 off? Ferenc Wagner
2008-11-21  1:31 ` Henrique de Moraes Holschuh
2008-11-21  4:09 ` Alexey Starikovskiy
2008-11-21 14:41   ` Alexey Starikovskiy
2008-11-24  1:43     ` battery: current a factor of 10 off? [fix confirmed] Ferenc Wagner
2008-11-24  7:44       ` Alexey Starikovskiy
2008-11-24  9:31         ` Ferenc Wagner
2008-11-26 22:27     ` battery: current a factor of 10 off? Len Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.