I use closing lid to suspend Linux every day. After updating from 0.99.4-2 to 0.99.5-1, Linux would not suspend with lid closing. Manual suspend works. I downgraded upower to 0.99.4-2 and it works again. I am on Fedora 25.
Pretty sure this is the bug fixed just after 0.99.5: commit 502c63b54944064dfd5f5cc4463bfb3d457a95c0 Author: Benjamin Berg <bberg@redhat.com> Date: Thu Aug 3 17:12:50 2017 +0200 linux: Correctly close inhibitor FD The unref of the FD list for the inhibitor was missing which means that the FD was leaked and the lock was never released. This means that for each suspend/resume cycle a new inhibitor would be added. Signed-off-by: Richard Hughes <richard@hughsie.com> Which is also fixed in this version of UPower (and that's already in the updates) https://koji.fedoraproject.org/koji/buildinfo?buildID=961016 Does that fix it for you?
Yes, it seems to be working fine now. Thank you
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/upower/upower/issues/17.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.