Another X1 Carbon 5th gen user confirming this bug, running Ubuntu 18.04.1 with kernel 4.15.0-38-generic.
So, my findings reconfirm what other users have reported:
a) post #16 works as a temporary non-persistent fix
b) posts #43 and #63 are persistent fixes
The difference between #43 and #63 is that #63 takes about 5-6 seconds more than #43 to put the computer to sleep upon closing the lid. Just my two cents.
Another X1 Carbon 5th gen user confirming this bug, running Ubuntu 18.04.1 with kernel 4.15.0-38-generic.
So, my findings reconfirm what other users have reported:
a) post #16 works as a temporary non-persistent fix
b) posts #43 and #63 are persistent fixes
The difference between #43 and #63 is that #63 takes about 5-6 seconds more than #43 to put the computer to sleep upon closing the lid. Just my two cents.