Ticket #342 (closed defect: duplicate)
SetResourcePolicy weirdness
| Reported by: | spaetz | Owned by: | jluebbe |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | framework/oeventsd | Version: | |
| Keywords: | Cc: |
Description
I set WiFi? to enabled, Display to auto:
mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usag e org.freesmartphone.Usage.GetResourcePolicy Display 'auto' ....GetResourcePolicy WiFi 'enabled'
Leads to:
... org.freesmartphone.Usage.GetResourceState WiFi True ....GetResourceState Display False
Strangely, Suddenly the idle_dim signal will not occur anymore. Actually frameworkd.log (debug) will not show any busy, idle, or idle_dim events, signals, or methods.
Setting now ResourcePolicy? for WiFi? to "auto" again will immediately turn off WiFi?, however idle events/signals/methods will still not occur, the screen stays bright, whereas it had worked/dimmed before I twiddled with WiFi? ResoucePolicy?.
Change History
Note: See
TracTickets for help on using
tickets.

I am very sorry that I have to be so unprecise, and I know I am being not very helpful, but there is something else going on besides the described above. I don't even get the idle events anymore when I turned the WiFi? off and didn't touch any ResourcePolicy? settings.
I am very confused, if you feel that this bug should be closed please do so. I have to admit that debugging this is very difficult for me.
Can it be that the idle events are suppres as soon as frameworkd receives a working "netlink" connection or something? I guess only the code can answer that...