Computer won't go to sleep mode when I close the lid

hello i am new to linux and trying to get used to it.
I have a lenovo s145 i5 10th gen laptop.
when i close the screen lid, the screen goes black, but the computer continues to run (fan noise is heard).
how can i solve this problem?
thnaks.

Did you check the energy settings ?

1 Like