When a Display resource is requested, the state might transition from
some state without backlight so it needs to be set explicitely.

Signed-off-by: Paul Fertser <fercer...@gmail.com>
---
 etc/freesmartphone/oevents/rules.yaml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/freesmartphone/oevents/rules.yaml 
b/etc/freesmartphone/oevents/rules.yaml
index 695f5ff..ea5423f 100644
--- a/etc/freesmartphone/oevents/rules.yaml
+++ b/etc/freesmartphone/oevents/rules.yaml
@@ -153,7 +153,7 @@
     # Idleness Brightness Handling
     #
     trigger: IdleState()
-    filters: HasAttr(status, "busy")
+    filters: Or(HasAttr(status, "busy"),HasAttr(status, "idle"))
     actions: SetDisplayBrightness("0", 90)
 -
     trigger: IdleState()
-- 
1.7.10


_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to