battery low script

m.ehinger at ltur.de m.ehinger at ltur.de
Mon Aug 22 10:54:37 GMT 2005


Hi,

i use the attached script to shutdown my notebook on low battery automatically.

I also added the following to /etc/devd.conf

notify 10 {
      match "system"          "ACPI";
      match "subsystem" "CMBAT";
      action                  "/etc/battery $notify";
};


Please feel free to try without any guarantees.

Comments are welcome.

thanks

Maik



More information about the freebsd-acpi mailing list