7

I have decided to make the leap from Windows to Linux, but I have been having one issue. Whenever I close the lid of my laptop, it goes into sleep mode, and when I open the lid, it comes back awake. My issue is, that 30 seconds or a minute into use, it goes automatically into sleep for NO reason and I don't know why it does this. I then have to press the power button to to wake it up, but then it just repeats and I have to completely power off to fix it.

Any solutions? I can provide info as needed, provided you tell me how to get that info.

ZVNexus
  • 83
  • 1
  • 5

2 Answers2

6

Editing the GRUB boot parameters as suggested did the job for me (on 16.10).

  1. Open a terminal and run:

    gksudo gedit /etc/default/grub
    

    which will open the gedit text editor.

  2. Search for the line starting with GRUB_CMDLINE_LINUX_DEFAULT="" (which was empty in my case) and change it to:

    GRUB_CMDLINE_LINUX_DEFAULT="button.lid_init_state=open"
    
  3. Save and close gedit.

  4. Update GRUB with the following command in the terminal:

    sudo update-grub
    
  5. Restart.

supersambo
  • 233
  • 2
  • 6
0

Try installing the nvidia drivers. See NVidia CUDA Installation

Hajar Razip
  • 101
  • 1