1

I have a Lenovo Thinkpad P16 Gen2 laptop. It also has an nVidia RTX 3500 GPU. I also have a Logitech MX Mechanical keyboard, connected by Bluetooth.

My OS is Ubuntu 22.04 LTS.

I have a lot of trouble with this machine staying up when I leave it. Frequent crashes requiring reboot. The best strategy I have come up with so far is to hibernate the machine when I leave it. Suspend does not work reliably.

Then today, I accidentally touched the "Lock" button at the upper right corner of the keyboard. This immediately caused the screen to lock. I could then, by pressing any key and entering my password, get the screen back. I had never noticed this key before.

It is possible that this may be a reliable method of putting the computer to sleep without hibernation. If so, it would preferable to hibernation.

Interestingly, I've looked all over the laptop keyboard and find no "Lock" key anywhere on it. So…

  1. What is the name of the function initiated by pressing the "Lock" key and…
  2. is this function also available somehow on the laptop keyboard?

UPDATE: after chatting with Logitech tech support they answered that the function initiated by the lock key is called "sleep mode". I don't know if that's the technical name for it. And they told me that the comparable function on my laptop keyboard is invoked by Windows-L. I verified that this is true.

So I am left wondering now whether this function, whatever it is called, is doing something on the hardware level that is different from what issuing the "suspend" command does, and if it's somehow more reliable. So far recovery from this mode has worked every time I tried it. If it continues to do so, this would be ideal for me.

0 Answers0