Suspend when lid is closed doesn't work

Hello!
When I close the laptop lid, the system does not go to sleep.
I’ve tried editing the logind.conf file, with no results.
I also installed the gnome tweak and activated the sleep function when the lid was closed, also without result
I have a built-in intel video core, the problem is not in the video card, on Linux Mint everything works out of the box.

Yes but Linux Mint not uses 5.11.16-300.fc34.x86_64 Kernel. So your comparison is not very representative. If you have old hardware might be better a distribution like LM.

Aniway, welcome to the community and be so kind and start here:

We need more info, alias you should read the other request with the same problem first.

I tried editing dconf-editor but there are not even scripts for lib clode there

Does your notebook suspend when running systemd suspend?

ye sure

Do you see the Lid events in your journals:

Below is from my journal when I close / open my notebook Lid.

sudo journalctl  -b | grep Lid
May 02 01:02:34 fedora kernel: input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
May 02 01:02:34 fedora kernel: ACPI: Lid Switch [LID0]
May 01 17:02:42 fedora systemd-logind[780]: Watching system buttons on /dev/input/event0 (Lid Switch)
May 01 17:03:22 dv34 systemd-logind[780]: Lid closed.
May 01 17:03:25 dv34 systemd-logind[780]: Lid opened.
May 01 17:07:53 dv34 systemd-logind[780]: Lid closed.
May 01 17:07:57 dv34 systemd-logind[780]: Lid opened.
May 01 18:00:34 dv34 systemd-logind[780]: Lid closed.
May 01 18:00:40 dv34 systemd-logind[780]: Lid opened.

Nope

In your case, the Lid Switch events are not being reported correctly.

Is it possible to fix this?

As you have a working setup in Mint, can you test the same kernel version in Fedora? Or try newer Fedora kernels (from Rawhide)?

If nothing works, you can help developers by filing a report to bugzilla.redhat.com .

Have you checked the Lenovo page if there is a newer Firmware for your device?

On Lenovo page drivers only for win10