hi,

i've an eeepc 1005HA with squeeze, working like a charm.

i know there are tools (e.g for gnome, etc) that monitor the status of the battery and can be configured to gently shutdown the pc when the battery level is low. i simply want to do exactly the same, using acpi. a quite simple task, i'd say.

so i installed the package eeepc-acpi-tools (1.1.11), i added to the script /etc/acpi/actions/power.sh (which already handles battery* events as i saw in /etc/acpi/events/battery) some rows, and now the script does his job.

the only problem is, my battery seems not to generate any events (i checked with acpi_listen), except when plugging/unplugging from AC power. in particular, it doesn't generate any event when it's charging/discharging (even at very low levels).

since those events are created by the kernel ( i'm using a vanilla 2.6.32-5, the battery module is auto loaded) and since the status of the battery (in /sys/....BAT0) is indeed updated every 30 s (or so), the questions are:

1) how do i force the kernel produce those events? is there a way?
2)  shoud i consider an upgrade of the bios?
3) what about other laptops? do anybody share this problem?

have a nice day! :)

--
Matteo Giani
http://www.skylarkofspace.blogspot.com/


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d5fd4a1.6040...@pcteor1.mi.infn.it

Reply via email to