3

I am running Ubuntu 12 on a 5 year old Sony Vaio laptop. The battery is totally shot and does not even register anymore, so I am using it as a desktop instead, with an external monitor. Unfortunately, I have to keep the laptop lid open.

I tried changing the power setting to Do nothing when the lid is closed, but the system does not respect that setting.

I am wondering if this is related to my dysfunctional battery. If anyone knows how I can overcome this problem?

1
  • you shouldn't have to keep the lid open there is no need to keep it on when not in use
    – mchid
    Aug 25, 2017 at 22:02

2 Answers 2

1

This is often a setting in the BIOS for the laptop. Reboot the computer and press the appropriate key to get into the BIOS. It will usually say "press del for settings", "press F10 to edit BIOS" or something like that while it boots. Usually there will be an option in the power settings on what to do when the lid is closed.

Even after enabling it, some laptops won't boot at all with the lid closed (when they have power buttons accessible on the side) and you will have to open it, power it on, wait a few seconds, then close it. Some laptops just don't allow you operate the laptop with the lid closed at all too.

4
  • I might add something about disabling powering off the screen in power management settings to your answer as another method. May 18, 2012 at 21:48
  • Joshua had already mentioned that in the question. That is what the "Do Nothing" is referring to, no?
    – reverendj1
    May 18, 2012 at 21:50
  • I was more thinking acpi=off in grub/kernel settings May 18, 2012 at 21:52
  • I have the same problem. I don't think it has to do with the bios settings since when i use the same laptop under Windows I have no problem using an external display.
    – eli
    Aug 6, 2013 at 8:18
0

I used this solution for Linux Mint, it should be similar as both distributions are Ubuntu based:

  1. Open the Main Menu
  2. Type Power Management into the search field, then click it when it appears below
  3. It should default to Power for the button group at the top of the Power Management window
  4. Go to the Extra options section at the bottom
  5. Disable the virtual switch for Perform lid-closed action even with external monitors attached

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .