Petr Vanek wrote: >> With an FSO based system you could do this easily with help of oevents. >> In the file /etc/freesmartphone/oevents/rules.yaml exists two entries >> for actions to be taken when the battery is nearly empty. You could >> easily edit these entries and do LED actions or play some sound files. >> The relevant entries are these: >> >> while: PowerStatus() >> filters: HasAttr(status, "critical") >> actions: SetLed("gta02_power_orange", "blink") >> >> trigger: PowerStatus() >> filters: HasAttr(status, "empty") >> actions: Command('poweroff') > > > Where could i learn more about actions? I can imagine i could disable > suspend/blackout by it while PowerStatus would be "charging".
Good question. I also don't know where to get all possible Attributes and Actions. At the moment my modifications are based on intuition and try&error. But i would appreciate if anyone knows an url with all the needed information what is possible. :) Ciao, Rainer _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community