Hi,<br><br>Sorry this has been documented somewhere. I'm playing with the 'Display' resource, and I'm totally confused.<br><br>If I make this call:<br>org.freesmartphone.Usage.GetResourceState Display,<br><br>
and it returns 'true', does it mean that the phone's display is supposed be on?<br><br>If I put this into /etc/freesmartphone/oevents/rules.yaml:<br><br> while: PowerStatus()<br> filters: Not(HasAttr(status, "discharging"))<br>
actions: <br> -OccupyResource(Display)<br> -OccupyResource(CPU)<br><br>Does it mean that if the phone is plugged in the display will be always on, and the phone will not suspend ?<br><br>What's the right way to tell frameworkd that I've modified rules.yaml? pkill -HUP frameworkd or /etc/init.d/frameworkd restart?<br>
<br>Thanks,<br>Michal<br>