Directly process lid/battery properties from PropertiesChanged signal
The old code did two synchronous DBus calls (one if no lid is present) on each property change. Use the values from the signal instead.
The old code did two synchronous DBus calls (one if no lid is present) on each property change. Use the values from the signal instead.