Ubuntu 24.04.1 LTS may occasionally freeze when entering or resuming from suspend mode (standby), preventing users from accessing their desktops or applications. This issue typically occurs due to conflicts with hardware drivers, kernel compatibility, or power management configurations. Follow the steps below to troubleshoot and resolve these freezes effectively.
Method 1: Update System and Kernel
Ctrl + Alt + T and execute the following commands to refresh your package lists and upgrade installed packages:sudo apt update
sudo apt upgrade -y
Updating packages often resolves compatibility problems between hardware and software components, reducing or eliminating freezes.
sudo apt dist-upgrade -y
Once the upgrade completes, reboot your system to apply changes:
sudo reboot
After rebooting, test suspend mode to verify if the freezing issue persists.
Join readers who trust AllThings.How
Add us as a preferred source on Google so our practical guides show up first next time you search.
Add to Google Preferences →Method 2: Adjust Graphics Drivers
Test suspend mode again to check if the freezing issue has been resolved. If the problem persists, you can revert to your original driver using the same process.
Method 3: Configure Power Management Settings
sudo nano /etc/systemd/sleep.conf
#HandleSuspendKey= and uncomment it by removing the #. Set it explicitly to HandleSuspendKey=suspend. Similarly, uncomment and set #HandleLidSwitch=suspend if you use a laptop and experience freezes when closing the lid.Ctrl + O, then exit the editor with Ctrl + X. Restart your system to apply these settings.Try entering suspend mode again to verify if the issue has been resolved.
Method 4: Disable Problematic Devices from Waking the System
cat /proc/acpi/wakeup
echo "XHC" | sudo tee /proc/acpi/wakeup
Replace “XHC” with the relevant device code from your list. After applying this change, test suspend mode again to confirm if the freezing issue is resolved. Note that changes made using this method are temporary; to make them permanent, add the command to your system startup.
After applying these solutions, Ubuntu 24.04.1 LTS should no longer freeze when entering or resuming from suspend mode, allowing you to use standby mode reliably again.






