public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Miles Lane <miles.lane@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	linux-acpi@vger.kernel.org,
	Vladimir Lebedev <vladimir.p.lebedev@intel.com>,
	Len Brown <lenb@kernel.org>
Subject: Re: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC
Date: Thu, 26 Apr 2007 14:28:24 -0700	[thread overview]
Message-ID: <20070426142824.9da91feb.akpm@linux-foundation.org> (raw)
In-Reply-To: <a44ae5cd0704261213o37944b46u5dbdd231fc6a2490@mail.gmail.com>

On Thu, 26 Apr 2007 12:13:00 -0700 "Miles Lane" <miles.lane@gmail.com> wrote:

> One possible issue is that /proc/acpi/power_resource/ is an empty directory.
> Otherwise, the ACPI information seems to be fine:
> 
> # cat /proc/acpi/ac_adapter/ACAD/state
> state:                   on-line
> # cat /proc/acpi/ac_adapter/ACAD/state
> state:                   off-line
> 
> # cat /proc/acpi/battery/BAT0/state
> present:                 yes
> capacity state:          ok
> charging state:          discharging
> present rate:            0 mA
> remaining capacity:      7072 mAh
> present voltage:         12487 mV
> 
> When I unplug the power cable, /proc/acpi/battery/BAT0/state (present
> rate) shows that current flowing from the battery.
> 
> # cat /proc/acpi/button/lid/LID0/state
> state:      closed
> # cat /proc/acpi/button/lid/LID0/state
> state:      open

hm, I'm looking suspiciously at "ACPI: Cache battery status instead of
re-evaluating AML".

What sort of machine is this?

       reply	other threads:[~2007-04-26 21:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a44ae5cd0704261213o37944b46u5dbdd231fc6a2490@mail.gmail.com>
2007-04-26 21:28 ` Andrew Morton [this message]
2007-04-26 22:52   ` 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC Miles Lane
2007-04-27  8:10     ` Thomas Renninger

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=20070426142824.9da91feb.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miles.lane@gmail.com \
    --cc=vladimir.p.lebedev@intel.com \
    /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