Hi,<br><br>Sorry this has been documented somewhere. I&#39;m playing with the &#39;Display&#39; resource, and I&#39;m totally confused.<br><br>If I make this call:<br>org.freesmartphone.Usage.GetResourceState Display,<br><br>
and it returns &#39;true&#39;, does it mean that the phone&#39;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, &quot;discharging&quot;))<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&#39;s the right way to tell frameworkd that I&#39;ve modified rules.yaml? pkill -HUP frameworkd or /etc/init.d/frameworkd restart?<br>
<br>Thanks,<br>Michal<br>