Change lid handling interface used
Since https://gitlab.freedesktop.org/upower/upower/-/commit/07565ef6a1aa4a115f8ce51e259e408edbaed4cc (MR !upower/5) UPower no longer provides information about laptop lid presence and state which we currently use for power management actions, so we need to change PowerDevil to make use of logind.
Edited by Jakob Petsovits