You are not logged in.

#1 2024-05-13 15:07:05

Hakanbaban53
Member
Registered: 2024-02-25
Posts: 11

[SOLVED] Laptop freezes randomly on battery mode

My System Specs:

  • CPU: Intel I7 11800H

  • GPU 1: Intel TigerLake-H GT1 [UHD Graphics]

  • GPU 2: Nvidia RTX 3050Ti Mobile

  • Kernel: 6.8.9-arch1-2

  • Gnome Version: GNOME 46.1

  • Nvidia Driver package and version: nvidia-dkms 550.78

Now here's the problem I'm having: When I use the laptop on battery power, it freezes strangely out of nowhere and becomes unresponsive. I experienced this after disconnecting it from AC power. I can't even get to the TTY screen. The laptop is completely unresponsive. But I've never experienced this with AC power connected. I actively use TLP.

And another problem is that when switching to nvidia D3Cold mode while on AC, the battery only stays in D0 mode. This is the same when TLP is disabled.


Here the system journal:
System Journal

Last edited by Hakanbaban53 (2024-05-25 15:51:30)

Offline

#2 2024-05-14 00:01:56

zdislavo
Member
From: uk halifax
Registered: 2024-05-13
Posts: 43
Website

Re: [SOLVED] Laptop freezes randomly on battery mode

This might be because of an internal battery optimisation being flawed, or it just might be because the battery is not capable of delivering such power. The fix: All we need to do is limiting the CPU to %30 power only when we are on battery.
also

One of the most common causes of a laptop keeps freezing and crashing is overheating. Laptops tend to heat up when they run for a long time or perform processor-intensive tasks. The hot air inside the laptop cannot escape quickly enough, which will slow down the laptop and even cause it to freeze or crash.

also During the charging of a laptop, a part of the energy is converted into heat, which needs to be dissipated. If it doesn't find a way out, it builds up and increases system temperatures, resulting in sluggish performance. Therefore, you should ensure that your device isn't slowing down due to high heat levels.

Offline

#3 2024-05-25 15:50:37

Hakanbaban53
Member
Registered: 2024-02-25
Posts: 11

Re: [SOLVED] Laptop freezes randomly on battery mode

I found out why this is so. Since I used this in the past, it wasn't much of a problem.

ln -s /dev/null /etc/udev/rules.d/61-gdm.rules

But the Gnome window manager sometimes caused problems.
After assigning

options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp/

to the /etc/modprobe.d/nvidia-power-management.conf file, the computer was not waking up from sleep. The reason was Nvidia Open drivers. I switched from Nvidia open to closed driver nvidia. I also needed to activate

nvidia-suspend.service nvidia-hibernate.service nvidia-resume.service

Another problem I had, which was that the battery power of the nvidia graphics card did not exceed D3Cold, was resolved after I installed nvidia's closed source driver and then activated the

nvidia-persistenced.service

Offline

#4 2024-08-06 09:14:34

zdislavo
Member
From: uk halifax
Registered: 2024-05-13
Posts: 43
Website

Re: [SOLVED] Laptop freezes randomly on battery mode

good that you fix it

Offline

Board footer

Powered by FluxBB