Toshiba battery events flood
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Medium
|
Thom May |
Bug Description
On my Toshiba Portege R100 acpid receives numerous BAT events. Each time acpid
calls power.sh. At the very least this is annoying and stops the disk from
spinning down. The output from the acpid log looks little disturbing too. I
get this every 6 or 7 seconds.
[Wed Feb 16 21:27:27 2005] received event "battery BAT2 00000080 00000001"
[Wed Feb 16 21:27:27 2005] notifying client 12383[1000:1000]
[Wed Feb 16 21:27:27 2005] executing action "/etc/acpi/
[Wed Feb 16 21:27:27 2005] BEGIN HANDLER MESSAGES
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xscreensaver-
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xset: unable to open display ":0"
Starting laptop_mode.
[Wed Feb 16 21:27:32 2005] END HANDLER MESSAGES
[Wed Feb 16 21:27:32 2005] action exited with status 0
My proposed fix is to stash the current power state, and compare the new state
with that. If state's not changed, exit silently