Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2005 12:53:47 +0200
From:      m.ehinger@ltur.de
To:        freebsd-acpi@freebsd.org
Subject:   battery low script 
Message-ID:  <OF821BEC55.3D33C964-ONC1257065.003AEC4F-C1257065.003BE87F@gateway-inter.net>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OF821BEC55.3D33C964-ONC1257065.003AEC4F-C1257065.003BE87F>