I am running Fedora 36 on the Dell XPS 15 7590.
When I close the laptop lid, the system runs really hot. To the point where the whole battery is drained within 1-2 hours, and you almost can’t touch it.
I did a quick Internet search and couldn’t figure out any solution to my problem.
The expected behavior on lid-close should be to just suspend.
Im running:
Kernel: 5.19.4-200.fc36.x86_64
CPU: Intel i7-9750H
GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q
Windowing System: Wayland
Gnome: 42.4
Normally, the laptop goes to sleep when the lid is closed (and it’s not connected to A/C), in which case it would use almost no power. Assuming it keeps running and it has nothing to do with the lid, use a system monitor like mate-system-monitor (or “top” in a terminal) to see if there’s any program using up your processing power. For example, if you’re running KDE without disabling its indexing service, it’s likely that the indexer will use resources scanning all of your files, causing the laptop to run hot (baloo). If you run Thunderbird or Firefox for a couple of days, it’ll use an increasing amount of memory and sometimes cpu. In some rare cases, even the Xorg process or kwin_x11 use 100% cpu (would be immediately obvious if you start “top” in a terminal), both kwin_x11 and plasmashell can be restarted without having to log out and log back in using something like pkill kwin_x11 & kwin_x11 --replace.
There are also laptops that run hot for no apparent reason (most likely because they have a cpu or gpu that runs hot even when idle).