Laptop Suspend not working 20.04

  1. Install Gnome Tweaks tool from the Ubuntu Software application. I am using version 3.34.0.
  2. Run Gnome Tweaks.
  3. On the General tab, turn on 'Suspend when laptop lid is closed'.