public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jochen Streicher <bumkunjo-Mmb7MZpHnFY@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Battery state once only per battery w. acpi-20020918?
Date: Thu, 28 Nov 2002 22:50:46 +0100	[thread overview]
Message-ID: <200211282250.47854.bumkunjo@gmx.de> (raw)

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

                 reply	other threads:[~2002-11-28 21:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200211282250.47854.bumkunjo@gmx.de \
    --to=bumkunjo-mmb7mzphnfy@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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