Was my laptop battery heating my SSD, causing it to disconnect?
My laptop is a Lenovo Legion Y520-15IKBN. Since 2020, my laptop has been dealing with BSODs, which later someone pointed out in this sub (thanks to a dump file I provided) was caused by my Windows drive disconnecting, which is my M.2 SSD. This was eventually proven correct when I installed Windows in the HDD instead, and noticed that the SSD (now secondary storage) was disconnecting randomly (disconnects even when there is no activity in the SSD), and not a single BSOD was encountered when Windows was in the HDD. One thing I noticed is that whenever the SSD disconnects, the area where it is located is quite hot, and CrystalDiskInfo confirms its temp did rise. So it seems there's a mechanism that causes the SSD to disconnect when it reaches high temps. The problem is why was it still reaching high temps, even when nothing is being done and the laptop is cleaned of dust?
Eventually, in the middle of 2022 I bought a Samsung SSD 980 and replaced the stock SSD with it, and installed Windows there. Thinking the fault was within the stock SSD, I thought it was all over. But only a year later, in the middle of 2023, the BSODs came back again, with the new SSD. And same result: the SSD was heating up whenever it happens. Then the BSODs stopped after a month, and came back this year, last week.
The BSODs got aggressive all of a sudden, occurring only a few minutes after bootup. At first it happened once a day, then suddenly went to happening 5 times in a day. The strange part is that this time I no longer feel the SSD getting hot when it happens, but when I check HWiNFO for the NAND Flash temp, its rising higher than usual before a BSOD happens.
Now, this is what the inside of the laptop looks like: https://laptopmedia.com/wp-content/uploads/2017/02/IMG_20170206_181740.jpg
As seen here, the SSD is located right next to the battery. So I thought maybe the battery was heating up and transferring some of its heat to the SSD? The same day that I experienced 5 BSODs, I decided to remove the battery. Booted it up, and not a single BSOD has occurred for hours. It has been almost a week since I removed the battery, and I have yet to encounter a BSOD again.
Given the layout of the laptop's inside, is it actually possible the battery was transferring heat to the SSD and was the root cause of my BSODs all this time, or did I just get lucky?