After knocking up a very dodgy patch to getLidClosedState() I stumbled across another bug in Launchpad that describes what appears to be a proper fix:
https://bugs.launchpad.net/bugs/151648
After knocking up a very dodgy patch to getLidClosedState() I stumbled across another bug in Launchpad that describes what appears to be a proper fix:
https:/ /bugs.launchpad .net/bugs/ 151648