← Back to team overview

ubuntu-webapps-bugs team mailing list archive

[Bug 1337890] [NEW] Failure to inhibit screen blanking, powerd D-Bus API has changed

 

Public bug reported:

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)

** Affects: oxide
     Importance: Undecided
     Assignee: Olivier Tilloy (osomon)
         Status: In Progress

** Changed in: oxide
     Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: oxide
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1337890

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

Status in Oxide Webview:
  In Progress

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1337890/+subscriptions


Follow ups

References