2

I have IdeaPad 5 Pro 14ACN6 with installed Ubuntu 21.10. Suspend work fine when the laptop is powered, when on battery mode suspending it causes reboot. I have tried working around this issue by playing with

/etc/systemd/logind.conf

and setting

HandleLidSwich=hibernate
HandleLidSwichExternalPower=suspend

but it takes long from closing lid to hibernation -- it does nothing for more than 5-10 minutes and then hopefully hibernates. All those issues are not present if the laptop is plugged.

I went back to 20.04 LTS and there is still an issue with suspension (it is even worse). It is able to suspend but it reboots instead of resuming. It does not work no matter if it is plugged in or not.

I am aware I am not the first one with that problem, it looks almost exactly like this one: suspend doesn't work on battery mode (but it does while charging)

However:

  1. Different OS,
  2. BIOS update is not an option in my case, it is only available on Windows. I took a look at the description of the update, does not look like it could solve the issue.
mwichro
  • 43
  • 1
    21.10 is not supported yet. – pasman pasmański Oct 11 '21 at 19:37
  • 1
    Refer https://askubuntu.com/help/on-topic where you'll notice only supported releases of Ubuntu and flavors are on-topic for this site. For impish indri [21.10] questions you'll need to use a development support site such as IRC (#ubuntu+next) or Ubuntu Forums, or wait until after release for this site expected release date for Ubuntu 21.10 is 14 October 2021) when your question will be on-topic here. – guiverc Oct 11 '21 at 21:13
  • I went back to 20.04 LTS and there is still an issue with suspension (it is even worse). It is able to suspend but it reboots instead of resuming. The effect is the same both on battery and while plugged in. I'll edit the question to include that case. – mwichro Oct 12 '21 at 11:46
  • Ubuntu 21.10 NVIDIA 470/510 nv_restore_user_channels bug + workaround: https://askubuntu.com/questions/1032633/18-04-screen-remains-blank-after-wake-up-from-suspend/1391917#1391917 – Ciro Santilli OurBigBook.com Feb 09 '22 at 09:48

1 Answers1

1

I managed to solve it thanks to those answers: Reddit AskUbuntu

There is a hidden BIOS menu:

I found a hidden BIOS menu with an option to enable S3 directly, but then I ran into another issue. Perhaps it will work for you, and might be worth a try. First, in the regular BIOS, disable OneKeyBattery (saving the setting) and then shut down the machine.

Then, while shut down, type this 15-key sequence (the pattern will become clear when you do it): F4 4 R F V F5 5 T G B F6 6 Y H N.

Then start up directly into BIOS (via the F2 key)

In AMD PBS find S3/Modern Standby Support and disable it. According to the Reddit thread newer kernel is necessary so it might not work on Ubuntu older than 21.10.

Krishna
  • 338
mwichro
  • 43