Much better to prevent screen dimming that mdbus is dbus-send:
"exec": {
"init": "dbus-send --type=method_call --system
--dest=org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage
org.shr.ophonekitd.Usage.RequestResource string:Display",
"final": "dbus-send --type=method_call --system
--dest=org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage
org.shr.ophonekitd.Usage.ReleaseResource string:Display"
}
It works, and works fast :)
_______________________________________________
Openmoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community