Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • PowerDevil PowerDevil
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • PowerDevilPowerDevil
  • Merge requests
  • !61

UPowerBackend: better check for availability

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Méven Car requested to merge meven/powerdevil:try-fix-422111 into master Oct 15, 2021
  • Overview 8
  • Commits 1
  • Pipelines 0
  • Changes 1

While activating, any service could get registered.

Replace convulated code by using org.freedesktop.DBus.Peer.Ping dbus method to check for UPower availability while implicitly starting it at the same time.

The previous code dated back from 2010-2013 like 27754717

CCBUG: 422111

cc @davidedmundson

Edited Oct 15, 2021 by Méven Car
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: try-fix-422111