The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 8,931     Votes:  4 
Tags: wireless   16.04   lid  
Link: 🔍 See Original Answer on Ask Ubuntu ⧉ 🔗

URL: https://askubuntu.com/q/830562
Title: When I close the lid of my laptop, the Wifi should not disconnect automatically
ID: /2016/09/28/When-I-close-the-lid-of-my-laptop_-the-Wifi-should-not-disconnect-automatically
Created: September 28, 2016    Edited:  September 28, 2016
Upload: March 26, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


At first I didn’t understand your question but then surmised if you are closing your lid and want WiFi to stay on that must mean you have your Laptop docked or have an HDMI monitor attached and the system is suspending the Wifi.

You already edited logind.conf once and need to again. Set the line:

HandleLidSwitchDocked=ignore

Then save the file and reboot. Hopefully this solves the problem. If so mark this as solution by clicking check mark, if not post a comment.

⇧ Laptop lid close doesn't suspend then the battery dies Ubuntu 16.04 usually suspends before login and while logout  ⇩