public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Battery sticks at 0% - ACPI's fault or not?
@ 2006-12-13 13:26 Jacob
  0 siblings, 0 replies; 2+ messages in thread
From: Jacob @ 2006-12-13 13:26 UTC (permalink / raw)
  To: linux-acpi

I've made a bug report about this to gnome-power-manager applet, but I  
wonder if it's really ACPI's fault. I decided to check right at the source  
of most excellent support - the mailing lists. :)

So, here's the deal. I've got this Compaq Presario 1720US, with a battery  
that didn't appear to work until recently. (It could've been a self-made  
illusion all along.) Now, however, even when the battery still has 45  
minutes of life left, Gnome's applet reports 0%. The applet does appear to  
be accessing ACPI, because it is telling me everything else about the  
battery but that.

So, here's what ACPI tells me when I ask it:
jacob@jacob-laptop:~$ cat /proc/acpi/battery/CMB0/state
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      2700 mWh
present voltage:         16614 mV
jacob@jacob-laptop:~$ cat /proc/acpi/battery/CMB0/info
present:                 yes
design capacity:         unknown
last full capacity:      unknown
battery technology:      rechargeable
design voltage:          unknown
design capacity warning: 800 mWh
design capacity low:     16 mWh
capacity granularity 1:  100 mWh
capacity granularity 2:  100 mWh
model number:            BAT1
serial number:           0000
battery type:            LION
OEM info:                COMPAQ


When I unplug the AC, it tells me this:
jacob@jacob-laptop:~$ cat /proc/acpi/battery/CMB0/info
present:                 yes
design capacity:         unknown
last full capacity:      unknown
battery technology:      rechargeable
design voltage:          unknown
design capacity warning: 800 mWh
design capacity low:     16 mWh
capacity granularity 1:  100 mWh
capacity granularity 2:  100 mWh
model number:            BAT1
serial number:           0000
battery type:            LION
OEM info:                COMPAQ
jacob@jacob-laptop:~$ cat /proc/acpi/battery/CMB0/state
present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            1153 mW
remaining capacity:      2620 mWh
present voltage:         15708 mV


ACPI does do some strange things, like the remaining capacity drops to 0  
mWh when it gets to be around a mere 10 minutes left in battery power,  
causing Gnome to freak out.

So the bottom question is: who's fault is it, and how would I fix this?

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

* RE: Battery sticks at 0% - ACPI's fault or not?
@ 2006-12-14  6:03 Lebedev, Vladimir P
  0 siblings, 0 replies; 2+ messages in thread
From: Lebedev, Vladimir P @ 2006-12-14  6:03 UTC (permalink / raw)
  To: Jacob, linux-acpi

Please attach acpidump and dmesg output after 'cat /proc/acpi/battery
files'.


-----Original Message-----
From: linux-acpi-owner@vger.kernel.org
[mailto:linux-acpi-owner@vger.kernel.org] On Behalf Of Jacob
Sent: Wednesday, December 13, 2006 4:26 PM
To: linux-acpi@vger.kernel.org
Subject: Battery sticks at 0% - ACPI's fault or not?

I've made a bug report about this to gnome-power-manager applet, but I  
wonder if it's really ACPI's fault. I decided to check right at the
source  
of most excellent support - the mailing lists. :)

So, here's the deal. I've got this Compaq Presario 1720US, with a
battery  
that didn't appear to work until recently. (It could've been a self-made

illusion all along.) Now, however, even when the battery still has 45  
minutes of life left, Gnome's applet reports 0%. The applet does appear
to  
be accessing ACPI, because it is telling me everything else about the  
battery but that.

So, here's what ACPI tells me when I ask it:
jacob@jacob-laptop:~$ cat /proc/acpi/battery/CMB0/state
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      2700 mWh
present voltage:         16614 mV
jacob@jacob-laptop:~$ cat /proc/acpi/battery/CMB0/info
present:                 yes
design capacity:         unknown
last full capacity:      unknown
battery technology:      rechargeable
design voltage:          unknown
design capacity warning: 800 mWh
design capacity low:     16 mWh
capacity granularity 1:  100 mWh
capacity granularity 2:  100 mWh
model number:            BAT1
serial number:           0000
battery type:            LION
OEM info:                COMPAQ


When I unplug the AC, it tells me this:
jacob@jacob-laptop:~$ cat /proc/acpi/battery/CMB0/info
present:                 yes
design capacity:         unknown
last full capacity:      unknown
battery technology:      rechargeable
design voltage:          unknown
design capacity warning: 800 mWh
design capacity low:     16 mWh
capacity granularity 1:  100 mWh
capacity granularity 2:  100 mWh
model number:            BAT1
serial number:           0000
battery type:            LION
OEM info:                COMPAQ
jacob@jacob-laptop:~$ cat /proc/acpi/battery/CMB0/state
present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            1153 mW
remaining capacity:      2620 mWh
present voltage:         15708 mV


ACPI does do some strange things, like the remaining capacity drops to 0

mWh when it gets to be around a mere 10 minutes left in battery power,  
causing Gnome to freak out.

So the bottom question is: who's fault is it, and how would I fix this?
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2006-12-14  6:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 13:26 Battery sticks at 0% - ACPI's fault or not? Jacob
  -- strict thread matches above, loose matches on Subject: below --
2006-12-14  6:03 Lebedev, Vladimir P

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox