All of lore.kernel.org
 help / color / mirror / Atom feed
* Battery Status Changed repeated every 16 seconds
@ 2009-02-07 13:12 Benoit Izac
  0 siblings, 0 replies; only message in thread
From: Benoit Izac @ 2009-02-07 13:12 UTC (permalink / raw)
  To: linux-acpi

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

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

only message in thread, other threads:[~2009-02-07 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-07 13:12 Battery Status Changed repeated every 16 seconds Benoit Izac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.