Ubuntu 20.04 LTS does not shutdown on HP Desktop

When shutting down screen goes black but power light does not go off. I even left it overnight and the power light remained on. Output of Journalctl sudo journalctl -b -1 -e


Solution 1:

If the HP desktop that you are using is similar to the All-in-One machines that I've supported in the past, then you may need to make a slight modification to your Grub file to disable ACPI warnings, which can keep a computer active.

Here's how you can do it:

  1. Open a Terminal (if it's not already open)
  2. Edit your /etc/default/grub file with sudo:
    sudo {editor of choice} /etc/default/grub
    
    Note: Be sure to replace {editor of choice} with your editor of choice.
  3. Find the line that starts GRUB_CMDLINE_LINUX_DEFAULT and add acpi=off to the end of the line, but inside the quotes. For example:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"
    
  4. Save the file and exit
  5. Update Grub:
    sudo update-grub 
    
    Note: This step is important. If you skip it, then the change will not be applied no matter how many times you reboot.
  6. Restart your computer

Hopefully this allows your rest-deprived HP to shut down properly 👍🏻