public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Battery state once only per battery w. acpi-20020918?
@ 2002-11-28 21:50 Jochen Streicher
  0 siblings, 0 replies; only message in thread
From: Jochen Streicher @ 2002-11-28 21:50 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

When I read out battery state the first time after bootup with
'cat  /proc/acpi/battery/BAT0/state'
I get the full information:

"present:			yes
 capacity state:		ok
 charging state:		unknown
 present rate:		0mW
 remaining capacity:	38600mWh
 present voltage:	12413mV"

If i try to read out again, it fails:

"ACPI-1155 ***ERROR: Method execution failed, AE_AML_INTERNAL
 present:                 yes
 ERROR: Unable to read battery status
 ACPI-1155 ***ERROR: Method execution failed, AE_AML_INTERNAL

Seems to me that method is able to read out my battery state, but could not be 
repeated.

Unfortunately I can't try out latest acpi-versions with my IBM, the newly 
introduced ECDT-readout does not work.

Is there a workaround for 20020918 for reading the battery state more than 
once?











-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-28 21:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-28 21:50 Battery state once only per battery w. acpi-20020918? Jochen Streicher

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