Failure to inhibit screen blanking, powerd D-Bus API has changed

Bug #1337890 reported by Olivier Tilloy on 2014-07-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Oxide
High
Olivier Tilloy
1.1
High
Olivier Tilloy

Bug Description

Testing oxide 1.1.0 from the phablet-team PPA, while playing back a video screen blanking happens, and I’m seeing the following message in the log:

[0704/163250:ERROR:object_proxy.cc(566)] Failed to call method: com.canonical.powerd.requestDisplayState: object_path= /com/canonical/powerd: org.freedesktop.DBus.Error.UnknownMethod: No such method 'requestDisplayState'
[0704/163250:ERROR:oxide_power_save_blocker.cc(116)] Failed to inhibit screen blanking

It appears the display handling was removed from powerd in version 0.16+14.10.20140620-0ubuntu1, apparently we should now invoke the unity D-Bus API for this:

    com.canonical.Unity.Screen
        /com/canonical/Unity/Screen
            com.canonical.Unity.Screen
                keepDisplayOn() -> int cookie
                removeDisplayOnRequest(int cookie)

Olivier Tilloy (osomon) on 2014-07-04
Changed in oxide:
assignee: nobody → Olivier Tilloy (osomon)
status: New → In Progress
Changed in oxide:
importance: Undecided → High
milestone: none → branch-1.2
Olivier Tilloy (osomon) on 2014-07-08
Changed in oxide:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers