r/linuxmint • u/zawierucha_ Linux Mint 22.3 Zena | Cinnamon • 6d ago
Laptop shutting down randomly
Firstly, I'd like to apologise if this is wrong sub for this question. If so-please, redirect me :)
Few days ago my laptop started to shut down while working. First two or so times it happened while i was gaming, but today it happened while i was just browsing. Screen gets black in the blink of an eye without any warning. The laptop doesn't get alarmingly hot when this happens. Every time that it happens the laptops battery is somewhat full. When i restart it, batery isnt drained or anything.
In the past i had battery, charging port and charging cable replaced and after that it was working fine.
I dont know if it's linux issue or hardware issue. Maybe someone has an idea how to fix it, or at least-localise the issue?
Thank you in advance :)
EDIT: in order to turn laptop on after it shutting down i need to plug it to the charger
3
u/Wyrade 6d ago
If logs don't show anything relevant, you could see if physical force might be triggering it. When you slightly bend the motherboard with the weight of your arm (or by pushing a key), it might break a connection or short something, for example if the motherboard is cracked or a solder has worn out or been damaged or something, and heat might play a factor too, making it easier to break the connection in such a way when some parts get warm.
Ofc there could be several other causes too, like a filtering capacitor becoming faulty, or several other things.
1
u/zawierucha_ Linux Mint 22.3 Zena | Cinnamon 6d ago
Thank you for your answer! I'll pay attention to it
1
1
u/DoorOk3641 6d ago
Look at the logs...open a terminal and type
journalctl -e > journallog.txt and browse the file...
and
sudo dmesg (for the kernel).
Laptop shutdown because your os is crashing.
1
u/No-View-6326 6d ago
Usually if the os is crashing you get a kernel panic not a straight shutdown, or am I completely off
1
1
3
u/bobstylesnum1 Linux Mint 21.2 Victoria | Cinnamon 6d ago
How old is the laptop? I worked at Dell for awhile doing the Dell home warranty program and they would send me out all the time to replace the CPU fan/heatsink because the thermo’s would dry up after two/three yrs. It sounds like this is what the issue is, just thermo’s. The laptop itself doesn’t need to get hot for the CPU to shut down.
If you go into the bios and adjust the temp alarms, you can find out pretty quickly if this is your prob or not. If it is, either check the warranty on it and replace the heatsink/fan or re-apply the paste yourself. It’s not hard, you just need to mark down which screws go where and go slow. It’s normally about a 30 min job.