I have my XPS 15 9500 for more than a year and I have Ubuntu installed on it since the beginning which was working like a charm.
About a month ago I start seeing some abnormal random restarts.
Computer specs:
CPU: Intel® Core™ i7-10875H CPU @ 2.30GHz × 16
RAM: 16GB
GPU: Nvidia Gefore GTX 1650Ti
I have Dual boot Ubuntu and Windows.
I noticed a pattern of those restarts.
When I boot ubuntu and sign in to my user account and I open any app right away, then there is a chance that it will just restart the computer automatically without giving me any information and after that whenever I plug my charger to charge the computer it won't be detected. I will need to boot into windows and then turn computer off and after that it will work normally again.
I have completely formatted and re-installed both windows and ubuntu but the problem still exists.
I was thinking that there is a hardware issue but this is not happening at all when I'm using windows and I have testes my memory with memtest program and there are no errors.
This is getting really annoying and I don't have any ideas of what can be wrong.
I have tried to completely uninstall nvidia drivers and switched to intel GPU but it didn't help.
Now I have system76 menu bar plugin installed and for graphics it is set in Hybrid mode.
Are there any programs that I can run in the background of ubuntu that will log those restarts and will tell me of what's happening?
Thanks in advance!