I patched this, then realised the code actually comes from update- manager. I will finish up the patches in the next few days
** Patch added: "WIP patch" https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1566141/+attachment/4624519/+files/logind.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1566141 Title: sleep inhibitor uses deprecated interface To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1566141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs