simple battery_warning script

battery_pluggedI want to share another script which I created to notify me if my laptops battery is getting low and shut down the system if it gets too critical. Here it is on pastbin.

I personally run this on from my users $HOME/.config/openbox/autostart.sh. You have to adjust it a bit to you system, but I have used it for years in conjunction with laptop-mode-tools (as power-saving features) and notify-send-broadcast (if you want to run it as startup-script as root) and never needed anything else.

About

Peter Pan. Kann fliegen mit Feenstaub.

Tagged with: , , ,
Posted in Linux, Technik

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Posts by topic…
…by month
Have a look at…


%d bloggers like this: