You are not logged in.

#1 2010-06-20 05:29:42

schnauzer
Member
Registered: 2009-11-11
Posts: 6

Run command on battery?

In order to save battery, I want to automatically kill my bittorrent client when I'm on battery power. Is there a tool that can easily let me do this?

I tried putting "killall transmission" in my /etc/acpi/handler.sh, but had no luck.

Offline

#2 2010-06-20 05:45:57

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Run command on battery?


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2010-06-20 08:57:41

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: Run command on battery?

laptop-mode-tools can do that too. i'd prefer acpid too, though, mainly because i use it anyway.


no place like /home
github

Offline

Board footer

Powered by FluxBB