linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bq27x00_battery status report issue
@ 2012-01-14 21:10 Grazvydas Ignotas
  2012-01-19 10:56 ` Pali Rohár
  0 siblings, 1 reply; 5+ messages in thread
From: Grazvydas Ignotas @ 2012-01-14 21:10 UTC (permalink / raw)
  To: Pali Rohár; +Cc: Anton Vorontsov, linux-kernel

Hi,

After 270968c0984ae "bq27x00_battery: Fix reporting status value for
bq27500 battery" status doesn't seem to be reported correctly when the
battery is close to fully charged state. It reports "Not charging"
while in fact there is >130mA current flowing to the battery according
to current_now.

This status report seems to be based on CHG bit in status register,
but looking at the datasheet the description says "(Fast) charging
allowed", which I guess means that the chip recommends charging and
not that charging is actually going on? If you check the bit while
battery is discharging and it's not full, the bit is also set.


-- 
Gražvydas

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

end of thread, other threads:[~2012-02-01 17:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-14 21:10 bq27x00_battery status report issue Grazvydas Ignotas
2012-01-19 10:56 ` Pali Rohár
2012-01-20 11:02   ` Grazvydas Ignotas
2012-01-20 13:38     ` Pali Rohár
2012-02-01 17:37       ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).