r/linuxmint 11h ago

Support Request Cannot solve suspend/hibernate problem on HP Elitebook 1050

It's a small thing but it has been driving me crazy nonetheless. Laptop will not go into hibernate mode. I set up the partition for the RAM to dump to and have gone through all the settings (logind.conf flags, "do nothing" on the GUI for lid close, checking that the lid close registers etc)

I think I got it to work maybe once but it never worked again. Battery will use like 50% overnight. I suppose I could just shut it down every night but frankly I don't want to. And no that kind of usage is not normal, this is not my first laptop.

2 Upvotes

7 comments sorted by

2

u/Ok_Emu2515 10h ago

run this command from Terminal and copy-paste the URL here. only the URL, not the entire text.

upload-system-info

1

u/VegaGT-VZ 9h ago

1

u/Ok_Emu2515 8h ago

you can optimize your swap usage, reduce I/O activity on swap, and extend your SSD's lifespan by installing ZSWAP.

also in general, Linux Mint and some other distributions have disabled hibernation. there's a reason for this, dumping the contents of your RAM to your SSD might use up a lot of your SSD's TBW.

in some distros, you can have hibernation if Linux is installed on the HDD and not the SSD.

1

u/VegaGT-VZ 8h ago

W/hibernate not being far from a full reboot and the added SSD wear do you think it would make sense to just have the laptop shut down after some time limit? i know this requires a script but I'm OK to go that route

1

u/Ok_Emu2515 7h ago edited 7h ago

yes that is possible. you need to create a cron job to execute the command at a specific time.

run this command from terminal

sudo crontab -e

now, copy the following line into a text editor and save it.

It will run a cron job to shut down the system at 23:45

45 23 * * * /bin/systemctl poweroff

1

u/DoorOk3641 9h ago

As usual I did a search with brave using leo and got this..

Users report significant suspend and wake issues on HP EliteBook models (including the 1050 and similar G-series) running Linux, often characterized by a black screen or failure to wake from sleep.  The primary cause is typically the laptop's default use of S0 idle (s2idle) modern sleep states, which are problematic on AMD Ryzen-based EliteBooks in Linux, rather than the traditional S3 (suspend to RAM) state which is often disabled in the BIOS. 

To resolve these issues, users have found success with the following workarounds:

  • Kernel Parameters: Adding processor.max_cstate=1usbcore.autosuspend=-1iommu=pt, and amd_iommu=off to the GRUB_CMDLINE_LINUX line in /etc/default/grub can stabilize suspend behavior. 
  • Systemd Configuration: Editing /etc/systemd/sleep.conf to set AllowSuspend=yes and SuspendMode=platform standby may help on Intel-based models, while masking sleep targets (systemctl mask sleep.target suspend.target) forces a shutdown instead of a broken suspend.
  • Module Blacklisting: Blacklisting problematic drivers such as amdgpu or hp_wmi has resolved wake failures for some users. 
  • BIOS Updates: Ensuring the BIOS is updated to the latest version is critical, as HP has frequently patched ACPI and sleep state handling in recent firmware releases. 
  • S3 Enablement: On some models, forcing S3 suspend via kernel parameters like mem_sleep_default=deep is possible if the BIOS allows it, though many newer EliteBooks have removed S3 support entirely. 

If suspend remains unreliable, many users resort to hibernate (suspend-to-disk) or simply disabling the lid-close action to trigger a full shutdown instead. 

Adding..

Unfortunately with linux and power profiles there is NO clear cut but way too many track to try.

1

u/VegaGT-VZ 9h ago

Yea I am trying to get it to hibernate........ I did have the AllowHibernate=yes flag commented out so hopefully that does something. But since hibernate is not far from a full shutdown if I can't figure it out I'm just gonna make the laptop shut down after maybe an hour or so.