David, on my system, the lid-closed event only triggers when I unplug the power, at the same instant the "Battery Charging" notification appears". When I plug the power back in, it acts as it should (screen gets brighter, no lid-closed event triggered).
So, if your patch was to address the lid-closed event on power connect, then it seems to be fixed with your package on my system. It's just the power-disconnect that seems to be the problem (which you mentioned was upower's fault).
David, on my system, the lid-closed event only triggers when I unplug the power, at the same instant the "Battery Charging" notification appears". When I plug the power back in, it acts as it should (screen gets brighter, no lid-closed event triggered).
So, if your patch was to address the lid-closed event on power connect, then it seems to be fixed with your package on my system. It's just the power-disconnect that seems to be the problem (which you mentioned was upower's fault).