Make sleep and shutdown functions work on systemd's logind
Merge pull request #1201 from qwerty12/master

Make sleep and shutdown functions work on systemd's logind