From: "Wiesner Thomas" <w15mail-LWAfsSFWpa4@public.gmane.org>
To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: BAT1/state shows wrong capacity and THRM/temperature is wrong too
Date: Mon, 21 Feb 2005 13:04:00 +0100 [thread overview]
Message-ID: <opsmjqgyt8wxmtbz@barton2> (raw)
Hello
I have a strange ACPI proglem.
I own a Gericom SilverSeraph laptop on which I run a self-modified
Debian 3.0 and kernel 2.6.10.
When I do a
cat /proc/acpi/battery/BAT1/state
I always get a battery state of 51% (if you calculate it).
After cat'ing the file 4 times, the values is correct on from the
5th cat.
Even stranger, a
cat /proc/acpi/thermal_zone/THRM/temperature
after a reboot tells me a temperature of 45 C. It always says
45 C. But if I cat the battery state 5 times of more (which makes
the battery output correct), the temperature value is correct too.
The problem shows up in WinXP (I use a dual boot config) too.
If i open the battery-dialog immediately after bootup, I can see the
status bar showing a capacity of 51%. The difference to Linux is, that
Win seems to query the battery status in regular time intervals which
causes the battery status to show correct values after a few seconds.
I don't know how to verify the temp-problem in Win.
I should mention, that early 2.6 kernels didn't show this
"cat me five time" beahviour, I don't know why. I should mention too
that some 2.6 kernel version warned me about a buggy ACPI implemention
(... please nag you manufacturer to correct it ...; I don't
remember accurately) which seems to have gone away with later
kernels (Don't ask with which, I can't remember.).
Because of this facts I think it might be a hardware/ACPI implemention
problem.
Should it be blacklisted?
Should a workaround be made (query the batt stat some times
kernel-internally on bootup)?
If you need more information, please let me know.
Hope this helps you (and maybe me).
BTW: Please CC me, as I'm not in the list.
Wiesner
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
reply other threads:[~2005-02-21 12:04 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=opsmjqgyt8wxmtbz@barton2 \
--to=w15mail-lwafssfwpa4@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