From: "Miles Lane" <miles.lane@gmail.com>
To: "Andrew Morton" <akpm@osdl.org>, LKML <linux-kernel@vger.kernel.org>
Subject: 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC
Date: Thu, 26 Apr 2007 12:13:00 -0700 [thread overview]
Message-ID: <a44ae5cd0704261213o37944b46u5dbdd231fc6a2490@mail.gmail.com> (raw)
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
next reply other threads:[~2007-04-26 19:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 19:13 Miles Lane [this message]
2007-04-26 21:28 ` Andrew Morton
2007-04-26 22:52 ` 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=a44ae5cd0704261213o37944b46u5dbdd231fc6a2490@mail.gmail.com \
--to=miles.lane@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®