Bug 8965 - (int-157045) Battery discharges with wall-charger connected
(int-157045)
: Battery discharges with wall-charger connected
Status: NEW
Product: System software
general
: 5.0:(10.2010.19-1)
: N900 Maemo
: Unspecified normal with 5 votes (vote)
: ---
Assigned To: unassigned
: system-software-general-bugs
:
: use-time
:
:
  Show dependency tree
 
Reported: 2010-02-10 12:44 UTC by Rüdiger Schiller
Modified: 2010-09-26 12:01 UTC (History)
6 users (show)

See Also:


Attachments
Lithium ion discharge charts (72.19 KB, image/jpeg)
2010-07-20 12:52 UTC, ossipena
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Rüdiger Schiller (reporter) 2010-02-10 12:44:07 UTC
SOFTWARE VERSION:
2.2009.51-1

EXACT STEPS LEADING TO PROBLEM: 
Using wall-charger over night to recharge and have a fully charged device the
next day. 

EXPECTED OUTCOME:
Green LED for telling "Fully Charged", capacity_state 'Full' and at least 100%
Battery Charge Level or about the same current for reporting.design and
reporting.current

ACTUAL OUTCOME:
Green LED for telling "Fully Charged", capacity_state 'Ok', <93%(hi, 82%low)
charge level, >90mAh(low, 180mAh hi) reporting.current & design difference (
(charge level jumped from 94 to 83% within 10 minutes with nothin on but GSM,
guess it was reading the first values from an old lshal not being triggered
when I looked the first time, thats for when device was idle)

REPRODUCIBILITY:
2/2 , tested with shutdown device and alarm set to activate device and with
idle device (GSM on, other connections offline). I tested this actively only
twice but I am looking for my weird battery behavior for days now.

EXTRA SOFTWARE INSTALLED:
as bme is closed I guess that installed software isn't important, if I will
post a list...

OTHER COMMENTS:
alarm keeps the light on if started from shutdown device, dont know if that
happens with idle device too.

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7)
Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
Comment 1 Andre Klapper maemo.org 2010-02-11 14:30:07 UTC
Thanks for reporting this.

Are you using the original Nokia charger or something else?
If you have another compatible charger, does the problem occur also with that? 
Can you please start X Terminal and provide the output of the commands:
* cat /sys/devices/platform/musb_hdrc/mode 
* cat /sys/devices/platform/musb_hdrc/charger
Can you please provide a syslog as described on
 http://wiki.maemo.org/Documentation/devtools/maemo5/syslog ?
Comment 2 Rüdiger Schiller (reporter) 2010-02-11 21:38:06 UTC
REPRODUCIBILITY:
4/4, battery-eye running, shows a nice decreasing line from "Full" (95%) to
when I pick up my phone first time before I left for work.
http://dostortugas.org/download/screenshot01.png

Original Nokia AC-10E 1200mA 5V Charger (shipped with)

root@Nokia-N900-42-11:~# cat /sys/devices/platform/musb_hdrc/mode
b_idle
root@Nokia-N900-42-11:~# cat /sys/devices/platform/musb_hdrc/charger
1

I am charging now, klogd and sysklogd running, after that I will drain battery
and retry with charging over USB port (separated power input on usb-hub to get
it fast), I will provide you with syslog for both once I have done that. I am
9h travelling by train tomorrow, anything else to track?

I did not install battery widget or something else till I found out I was
starting of with less power than "full charged"
Comment 3 Rüdiger Schiller (reporter) 2010-02-11 21:55:18 UTC
syslog
http://dostortugas.org/download/syslog_Feb_11_2010_2045
Comment 4 Rüdiger Schiller (reporter) 2010-02-12 04:34:11 UTC
6/6
With both, usb and wall-charger hal doesnt do an update
I tried it now with a reboot while on usb and get
"battery.charge_level.percentage = 96  (0x60)  (int)" before
"battery.charge_level.percentage = 65  (0x41)  (int)" after

Having a look in the over time steps I get something like
96% to 78% with wall-charger plugged in within one hour and 96% to 65% with usb
in two hours.
These measurements were taken with charging from "OK" state waiting for green
LED "Full" and then start with power eating tasks to speed it up (transfer GBs
over wlan)

syslog
http://dostortugas.org/download/syslog_Feb_12_2010_0316
reboot after "Feb 12 03:01:42"
Comment 5 Andre Klapper maemo.org 2010-02-15 19:49:16 UTC
Thanks!
Comment 6 Andre Klapper maemo.org 2010-02-16 12:36:28 UTC
Hi Rüdiger, what is "reporting.design" and "reporting.current"?

> "battery.charge_level.percentage = 96  (0x60)  (int)" before
> "battery.charge_level.percentage = 65  (0x41)  (int)" after

How did you get these numbers? From lshal?
Comment 7 Andre Klapper maemo.org 2010-02-16 15:15:30 UTC
Forwarding internal questions:



> EXPECTED OUTCOME:
> Green LED for telling "Fully Charged", capacity_state 'Full' and at least 100%
> Battery Charge Level or about the same current for reporting.design and
> reporting.current

What does "same current" here mean?

> ACTUAL OUTCOME:
> Green LED for telling "Fully Charged", capacity_state 'Ok', <93%(hi, 82%low)
> charge level, >90mAh(low, 180mAh hi) reporting.current & design difference (
> (charge level jumped from 94 to 83% within 10 minutes with nothin on but GSM,
> guess it was reading the first values from an old lshal not being triggered
> when I looked the first time, thats for when device was idle)

I can't understand this sentence (especially what is meant with "hi" and "low")
and I don't want to start guessing what this all means.

> alarm keeps the light on if started from shutdown device, dont know if that
> happens with idle device too.

I don't understand this sentence, please explain.

> With both, usb and wall-charger hal doesnt do an update

Doesn't do update on what situation?

> I tried it now with a reboot while on usb and get
> "battery.charge_level.percentage = 96  (0x60)  (int)" before
> "battery.charge_level.percentage = 65  (0x41)  (int)" after

Before what? After what?
Comment 8 Rüdiger Schiller (reporter) 2010-02-18 19:33:50 UTC
(In reply to comment #7)
> > EXPECTED OUTCOME:
> > Green LED for telling "Fully Charged", capacity_state 'Full' and at least 100%
> > Battery Charge Level or about the same current for reporting.design and
> > reporting.current
> 
> What does "same current" here mean?

something like 1270 for design and 1258 for current

> > ACTUAL OUTCOME:
> > Green LED for telling "Fully Charged", capacity_state 'Ok', <93%(hi, 82%low)
> > charge level, >90mAh(low, 180mAh hi) reporting.current & design difference (
> > (charge level jumped from 94 to 83% within 10 minutes with nothin on but GSM,
> > guess it was reading the first values from an old lshal not being triggered
> > when I looked the first time, thats for when device was idle)
> 
> I can't understand this sentence (especially what is meant with "hi" and "low")
> and I don't want to start guessing what this all means.

[hi,low]; hi = highest value,low = lowest value
this all means that lshal was just useless to look for precise values, is it?
it also shows that I get a green light even with battery state on 'OK' level...

> > alarm keeps the light on if started from shutdown device, dont know if that
> > happens with idle device too.
> 
> I don't understand this sentence, please explain.

device was turned off and an alarm set, the device was with plugged wall
charger and the screen backlight didn't turn off automatically so it drained
battery to a serious state (if looking for a charged device for a working day),
means it was on 84% battery within first 10 minutes after boot with
wall-charger plugged in all night and while booting (set to stby, unplugged,
drove to work, checked battery {84%}).

> > With both, usb and wall-charger hal doesnt do an update
> 
> Doesn't do update on what situation?

didn't update any values within "lshal |grep batt"

> > I tried it now with a reboot while on usb and get
> > "battery.charge_level.percentage = 96  (0x60)  (int)" before
> > "battery.charge_level.percentage = 65  (0x41)  (int)" after
> 
> Before what? After what?

Reboot?! (are you guys serious? if I 'do' something and tell a 'before' and
'after' statement, it is probably 'before' and 'after' I 'did' something)
Comment 9 AB 2010-03-04 00:43:16 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 Rüdiger Schiller (reporter) 2010-06-09 12:25:33 UTC
At the picture https://bugs.maemo.org/attachment.cgi?id=2849 I just attached to
another bug you see what I mean in the far right, green bottom boarder means
charger is connected.
Due to the bug this is attached to -  the drain is that high that you can
clearly see the issue. As this got an internal bug already I just update the
version to current.
Comment 11 ossipena 2010-07-20 12:52:58 UTC
Created an attachment (id=2987) [details]
Lithium ion discharge charts
Comment 12 ossipena 2010-07-20 12:54:53 UTC
I added li ion discharge chart as an attachment.

First of all depleting battery while charging only stops trickle charging. It
was good thing to do with NiMh but not with Li-ion (wears li ion cells quickly)

And secondly, those percentages are only sophisticated guesses as someone could
presume when looking at the attachment.