Acustic 'empty battery warning' ?

Petr Vanek vanous at
Fri Dec 19 10:42:31 CET 2008

>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".

Thank you


More information about the community mailing list