On Sat, Feb 15, 2014 at 01:51:43PM +0100, Holger Levsen wrote: > Hi Wouter, > > On Samstag, 15. Februar 2014, Wouter Verhelst wrote: > > > and how+where to define that I want pm-suspend to be run if battery > > > goes below 3% ?! > > You would need to have a step at 3%, which you currently don't. The > > easiest option is probably to change the first step in the "discharging" > > configuration to say "3:battery-missing.png:battery-low.png", rather > > than the "2" it says currently. > > I'm fine with either 2 or 3... just I find this "3:battery- > missing.png:battery-low.png" rather un-intuitive: suddenly there are two png > and this causes the suspend action defined in another file?!! > > Or am I again not understanding something? :)
The latter, I'm afraid. The two .png files cause the icon to alternate between two states. The $theme->set_event causes the sub to be called. The two are not related; you can have alternating icons at any level, and you can have events at any level, and you don't need both. > > No, that will make it alternate between the two at 3-second intervals (a > > way to get your attention that the battery is really really low now and > > you should connect to power _now_). The manpage mentions this, too ;-) > > Ah! -- This end should point toward the ground if you want to go to space. If it starts pointing toward space you are having a bad problem and you will not go to space today. -- http://xkcd.com/1133/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org