xbmc/xbmc — pull request #4168 by yasij (2014-02-07 02:01:44+00:00)
Title: Suspend via logind over UPower if available.

The suspend feature of UPower is deprecated. XBMC supports suspending using systemd-logind, however it defaults to a few other UPower methods first before trying Logind. This patch checks for logind first, and uses it if available.