qbittorrent/qBittorrent — pull request #1201 by qwerty12 (2013-12-23 11:54:58+00:00)
Title: Make sleep and shutdown functions work on systemd's logind

Continuation of https://github.com/qbittorrent/qBittorrent/issues/1187
Allow sleep and shutdown features to work under a system using systemd's logind. UPower's `Suspend()` refuses to work saying it's deprecated and ConsoleKit is not running at all so shutdown is nonfunctional.