Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views :
Oh Snap!

Please turnoff your ad blocking mode for viewing your site content

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages
img
Home / Linux How-To / Repair Laptop computer Doesn’t Droop After Lid is Closed on Ubuntu Linux

Repair Laptop computer Doesn’t Droop After Lid is Closed on Ubuntu Linux

149 Views

Temporary: You shut the lid of your laptop computer nevertheless it retains on operating as an alternative of going into droop mode? Listed here are a number of methods how one can make Ubuntu droop when the lid is closed.

One of many methods to save lots of battery on Ubuntu with out dropping work is to make use of the droop mode. I want to hyperlink with the lid motion of my laptop computer. If I shut the lid of the laptop computer, it goes to droop/sleep mode and once I open the lid, it wakes up.

Nevertheless, there are a number of customers who’re dealing with points with droop conduct when the lid of the laptop computer is closed. Ubuntu merely retains on operating with out bothering about entering into droop mode.

There’s a confirmed bug on this subject beginning Ubuntu 16.04. Sadly, this bug has not been fastened even after greater than a 12 months.

Whereas I can’t repair the bug, I can certainly recommend you a few methods in order that Ubuntu goes to droop mode after the lid is closed. Let’s see how to try this.

Fixing Ubuntu gained’t droop when laptop computer lid is closed

I do hope that these fixes work for everybody nevertheless it’s not a assure as a result of the bug is hardware dependent and although the workaround works for many laptop computer fashions, there are certainly a number of exceptions.

Let’s begin engaged on it.

Be certain to allow droop for lid shut motion

It is a no-brainer. You need to just remember to have the proper settings in place.

Go to System Settings after which click on on Energy. Within the energy setting, ensure that choice for ‘When the lid is closed’ is ready to Droop.

Ubuntu power settings

Ubuntu power settings

If you happen to had a special setting right here, it is best to examine if you’ll be able to droop Ubuntu by closing the lid. If not, then observe the workaround within the subsequent part.

Workaround to make Ubuntu droop when laptop computer lid is closed

First, guarantee that you’ve pm-utils put in in your system. pm-utils is a group of scripts that deal with droop and resume. Ubuntu ought to have already got it however no hurt in verifying it.

sudo apt set up pm-utils

After that, we have to edit the logind.conf file of systemd. This file often comprises the entries which might be utilized by default by systemd. Nevertheless, all of the entries are commented out right here. If you happen to change the settings on this file, it should take priority over the systemd default settings.

It’s all the time a good suggestion to make a backup of configuration recordsdata earlier than altering them. Use this command:

sudo cp /and many others/systemd/logind.conf  /and many others/systemd/logind.conf.again

And after that, set up gksu to be able to open a graphical software (gedit on this case) from the terminal. You can even use a terminal based mostly textual content editor like Vim in case you are comfy with that.

sudo apt set up gksu && gksudo gedit /and many others/systemd/logind.conf

You’ll see traces like these on this file:

#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=droop
#HandleHibernateKey=hibernate
#HandleLidSwitch=droop
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=sure
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=sure
#UserTasksMax=12288

What it’s important to do is to take away the # from among the traces and alter it’s worth to:

HandleSuspendKey=droop
HandleLidSwitch=droop
HandleLidSwitchDocked=droop

Fix suspend not working on Ubuntu linux

Fix suspend not working on Ubuntu linux

Save your adjustments and restart your system. Now examine in case your system goes to droop mode when the lid is closed.

If not, you may as well attempt altering the beneath line (although I’m not positive if that makes a distinction):

HandleHibernateKey=droop

I hope this lets you repair the annoying subject of Ubuntu not suspending when laptop computer lid is closed. This could work with Ubuntu 16.04, 17.04 and 17.10. Undecided about Ubuntu 18.04.

Do share your suggestions whether or not it labored for you or not.

Source link

  • Facebook

This div height required for enabling the sticky sidebar