public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Benoit Izac <benoit.izac@free.fr>
To: linux-acpi@vger.kernel.org
Subject: Battery Status Changed repeated every 16 seconds
Date: Sat, 07 Feb 2009 14:12:43 +0100	[thread overview]
Message-ID: <w53prhue6gk@message.id> (raw)

Hi,

I have a strange and boring problem with my laptop (Toshiba tecra M9).
Every 16 seconds (sometimes 32), /proc/acpi/event return a "Battery
Status Changed" (battery BAT1 00000080 00000001). This event appears
always, battery charged or not.

Last night, I tried to remove the AC adapter and record all events in
a file. After I receive
    ac_adapter ADP1 00000080 00000000
    processor CPU0 00000081 00000000
    processor CPU1 00000081 00000000
I hadn't other events than battery BAT1 00000080 00000001.

At this moment if I look at /proc/acpi/event:
# for a in 1 2 3; do read a < /proc/acpi/event; date; echo $a; \
  cat /proc/acpi/battery/BAT1/state; done
Sat Feb  7 14:03:16 CET 2009
battery BAT1 00000080 00000001
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      46981 mWh
present voltage:         11340 mV
Sat Feb  7 14:03:32 CET 2009
battery BAT1 00000080 00000001
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      46981 mWh
present voltage:         11340 mV
Sat Feb  7 14:03:48 CET 2009
battery BAT1 00000080 00000001
present:                 yes
capacity state:          ok
charging state:          charged
present rate:            0 mW
remaining capacity:      46981 mWh
present voltage:         11340 mV

Is this behavior normal?
How do I know that the battery has low capacity (there is no event for
this)?
How can I remove these events (my log files grow for nothing)?

-- 
Benoit Izac

                 reply	other threads:[~2009-02-07 13:23 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=w53prhue6gk@message.id \
    --to=benoit.izac@free.fr \
    --cc=linux-acpi@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