public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC
@ 2007-04-26 19:13 Miles Lane
  2007-04-26 21:28 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Miles Lane @ 2007-04-26 19:13 UTC (permalink / raw)
  To: Andrew Morton, LKML

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

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

end of thread, other threads:[~2007-04-27  8:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-26 19:13 2.6.21-rc7-mm2 -- gnome-power-manager always shows the power as coming from AC Miles Lane
2007-04-26 21:28 ` Andrew Morton
2007-04-26 22:52   ` Miles Lane
2007-04-27  8:10     ` Thomas Renninger

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