arne anka wrote: >> arne anka wrote: >>>> I never got any led activity when no external power is supplied (with >>>> ms3 and ms4). >>> >>> well, i had. and since the signal existed it was obviously meant to be >>> used. >>> >>>> think the lower the better. And there is no benefit in showing the >>>> discharge status with a led because you already know that it discharges >>>> when you plug it out. ;) >>> >>> how do you tell if it is just blanked or suspended? >>> in both cases the screen is black -- but when it is suspended you can >>> touch the screen w/o consequences. >> >> I only suspend by hand and don't use any idle-time related auto-suspend >> functions. So i do always know if it is suspended or not because i did >> it myself. ;) >> >> But i understand what your intention is. Maybe it would be better for >> this if the led just flashs every few seconds instead of staying on all >> the time while it isn't suspended. > > > 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. 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") I think the first two power led statements aren't needed but so it looks consistent. The only problem so far is that i have to turn the blinking off when in charging or full state. But the argument "dark" which is shown in wiki page isn't correct anymore. When i use it i got an error message that "dark" is an unhandled action. So i have to search a bit more how to turn the led off again. :) Ciao, Rainer _______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland