Search blog

Sunday, November 1, 2020

[SOLVED] Suspend-Resume Not Working in Ubuntu 20.04

If you are unable to suspend your laptop, here's the solution which I've tried & tested and it worked with my Lenovo Thinkpad T440.

 Open your terminal and enter the following commands:

>> Steps 1: Create backup of the following file 'logind.conf':

 sudo cp /etc/systemd/logind.conf /etc/systemd/logind-backup.conf  

>> Steps 2: Depending upon the GUI based code editor you have, such as gedit, Geany etc or text based editor nano or the default vi enter the following command below. If you have & want to use Geany then you can replace vi with geany:

 sudo vi /etc/systemd/logind.conf  

 >> Steps 3: Step 3: Carefully navigate and make sure the following lines are changed to look like shown below. If the lines are commented (Example: #HandleSuspendKey=suspend), uncomment them.

 HandleSuspendKey=suspend  
 HandleLidSwitch=suspend  
 HandleLidSwitchDocked=suspend  

 >> Steps 4: Save the file.

 >> Steps 3: Reboot & check. You can reboot from the terminal using the following command:

 sudo reboot  


8 comments:

  1. Does not solve the problem for me. Post a restart and log-in, tries to suspend again. all three displays blanked followed by getting the purple log-in screen again.

    ReplyDelete
  2. This ruined my ubuntu, it can't boot anymore

    ReplyDelete
  3. This ruined my ubuntu :( now i need to reinstall

    ReplyDelete
  4. Plz provide your contact e mail id.
    I want to resolve a problem related to a webpage

    ReplyDelete
  5. Cooldeep ji , plz provide your e mail for contact . I have a little bit of problem to be resolved for which your knowledge is helpful

    ReplyDelete
    Replies
    1. Hi! Sorry for the delayed reply. Just saw your comment. You can mail me at cooldeep.ventures[at]gmail.com

      Delete

Thank you for your Feedback!
www.evagabond.me

Top 5 Posts (Weekly)