Battery drains when closing the lid

Hello!

I have been using Zorin OS since version 16. I was mostly returning to Windows because of the Adobe products unavailability on Linux. Now I'm using Zorin 18.1 on a dual boot with Windows 11. Honestly, I live for the day to dump Windows completely cause I don't like anything about it. The issue I have with Zorin 18.1 on my laptop is: when I close the lid, laptop goes to suspend mode. But instead of pausing all the processes, I can feel that laptop is hot on touch, which means that it's working same as when it's powered on. It should be saving battery, instead, it drains my whole battery within 2 hours, and I can't power it on anymore until I connect it to adapter. This doesn't happen when I'm using Windows. I tried setting grub to use deep sleep, but then closing the lid acts as if I turned it off. I can't continue where I left my work once opening the lid. So I guess suspend mode is kinda broken on my laptop.
My laptop model is Dell Latitude 7390 2-in-1 with i7-8650U. Hope this can be solved.

Hello,
Does secure boot is disable in your BIOS, and fast boot disable in Windows power management ?

1 Like

I can check. Does it need to be disabled?

yes both it's better

I just checked. Both were enabled. I disabled now. Is there anything else I need to do?

2 Likes

You can try to switch to Xorg (=X11) if you are on Wayland. Logout and at login click on your username then a cog wheal appears at the bottom right corner. There are two options where you can switch between Xorg and Wayland.

To chech which session type you have enabled:

echo $XDG_SESSION_TYPE

yes do what suggest @Forpli and test...

1 Like

Ok, I swithed to Xorg. Will it use this option automatically every time I start my laptop, or I have to change to Xorg on every login?

no now you will log under Xorg

Thank you both for your support. I hope it will stop battery drain now.

1 Like

Just let us know if it's better, otherwise we will help you to find a fix

I'm still testing. But I can see that xorg switch probably activated this gnome keyboard popup all the time. I checked my settings and it is disabled, but why it pops up, I have no idea. And it seems I lost the ability to drag and drop my files/icons from desktop to ChatGPT directly through the dashboard. It used to work with wayland.

Then just go back to Wayland and we will see if secure boot and fast boot were the problem

Ok, will do. Thanks!

you can also get ride of the visual keyboard, you have to disable Zorin Screen Keyboard Panel Button extension.
if you don't have extension manager installe go in Softwares and install it

2 Likes

Secure boot and fast boot disabled didn't fix the issue. It still drains like crazy. I guess it doesn't work with my laptop.

try to go back to Xorg and try what I said for extensions, and tell us

you can also edit this file

sudo nano /etc/systemd/logind.conf

and change this value (remove # at the beginning of the value )

HandleLidSwitch=suspend
HandleLidSwitchExternalPower=suspend

CTRL+O to save
and reboot

I tried with Xorg and it also drained battery like hell. Let me try that with logind.conf

1 Like

Could you check your BIOS version (the last on dell website is 1.43.0, 1.43.0) and also in your BIOS if S3 suspend is activated in your BIOS