public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jacob <fun2program8@yahoo.com>
To: linux-acpi@vger.kernel.org
Subject: Battery sticks at 0% - ACPI's fault or not?
Date: Wed, 13 Dec 2006 08:26:23 -0500	[thread overview]
Message-ID: <op.tkh1992m6fluez@jacob-laptop> (raw)

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?

             reply	other threads:[~2006-12-13 13:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13 13:26 Jacob [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-12-14  6:03 Battery sticks at 0% - ACPI's fault or not? Lebedev, Vladimir P

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.tkh1992m6fluez@jacob-laptop \
    --to=fun2program8@yahoo.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox