Active Topics

 


Reply
Thread Tools
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#1
Hi!
Is there a way to execute a command when the battery level is low?
I don't want to do a dbus polling.
__________________
May the force be with us!
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#2
I think you need to explain what is wrong with dbus, and if you're trying to delay the bme shutdown to run a script or what.
You can use sysfs instead of dbus or pay someone to watch the status indicator and type a command when it looks low. I have no idea what your requirements are...
Maybe you can figure out how to use conky to do it
http://crunchbanglinux.org/forums/to...ttery-warning/
or QBW
http://wiki.maemo.org/Queen_BeeCon_W...nd_Interceptor

Last edited by Creamy Goodness; 2011-02-09 at 19:36.
 
mase's Avatar
Posts: 355 | Thanked: 205 times | Joined on Jun 2010 @ Germany
#3
I only want to play a sound on low battery level.
__________________
May the force be with us!
 
Posts: 189 | Thanked: 53 times | Joined on Aug 2010 @ Netherlands
#4
Originally Posted by mase View Post
I only want to play a sound on low battery level.
it does that by default.....
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#5
Originally Posted by mase View Post
Hi!
Is there a way to execute a command when the battery level is low?
I would say dbus-scripts
Originally Posted by mase View Post
I don't want to do a dbus polling.
Battery level is send over dbus anyway.
 

The Following User Says Thank You to nicolai For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 16:03.