I have an issue with Ubuntu 18.04 and closing the lid of the laptop. rather with loosing internet connection when the lid is closed. I noticed that machine does not even respond to ping when the lid is closed. I've setup Power manager to 'ignore' closed lid. I reconfigured logind.conf but it did not have an effect.
Could someone please advice how to keep wi-fi connection when the lid is closed? Note:I did not have the issue with 16.04 Thanks