Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnome-battery-bench gnome-battery-bench
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 15
    • Issues 15
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnome-battery-benchgnome-battery-bench
  • Repository
Switch branch/tag
  • gnome-battery-bench
  • src
  • application.c
Find file BlameHistoryPermalink
  • Christian Kellner's avatar
    Test we have logind proxy before taking the lock · 0d7f58f8
    Christian Kellner authored Mar 08, 2017
    Before trying to take the inhibitor lock via logind we should
    check we actually have the logind connection, because we are not
    failing in init() if we could not get the logind proxy.
    0d7f58f8