arne anka wrote: >>> flashing is evil. >>> but since one can not control brightness (only on/off) it might be the >>> lesser evil. >>> anyway, the issue was, where the rule did go -- with it one could chose >>> to flash instead. >> >> But flashing saves energie compared to continous mode. > > that's what i meant with "lesser evil". > >> I tried to modifie my rules.yaml a bit and now i got the red light in >> the aux button flashing while discharging. It's really easy to >> implement. I just added these lines to my rules.yaml: >> >> - >> trigger: PowerStatus() >> filters: HasAttr(status, "discharging") >> actions: SetLed("gta02_aux_red", "blink") > > you did that with fso-frameworkd 0.8.4.3-20081123-1? > but i never found any occurence of a status "discharging"! > "full", "empty", "critical" -- they're all there, but not "discharging"; > wait, even "charging" isn't there ... > ok, i try it myself.
I use fso-frameworkd 0.8.4.3-20081123-1 at the moment. But i see that i made a little copy&paste error. The "trigger" should be "while" and than it works how i wanted it to be. It starts blinking when external power is cut off and stops blinking when external power is pluged in. :) Here's the right entry which needs to added to the rules.yaml: - while: PowerStatus() filters: HasAttr(status, "discharging") actions: SetLed("gta02_aux_red", "blink") Ciao, Rainer _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland