Well there's a clue at least. You could try running without battery. If it still bsod, then there's something wrong with charging port, else, it's battery.
Or it can simply caused by faulty driver, since Google search also pointed out to display-related driver and "fast charging" 3rd party app
Thanks for the tip. I think removing the battery on this laptop might be easier said than done - it's not detachable like in other machines.
In addition:
I did another test today to see whether unplugged will work further.
This is what happened.
I put the laptop to charge while switched off. Once charged I unplugged it and did stuff for about 40 minutes without any problem, then I remembered that it was set to switch off within 5 minutes of inactivity while on battery power. I went to control panel to change that and it froze - no BSOD. I plugged it in and switched it off/on then went back to doing something and it BSOD within 5 minutes while plugged in and it gave this stop code:
I plugged it off and wait for Windows to restart. It went BSOD twice on Windows startup, giving an WHEA_UNCORRECTABLE_ERROR then it gave a message that Windows did not start properly at which point I selected restart anyways. It did go into Windows this time, but at that point I switched it off and went back to the drawing board
This is something coming from Obsidian forums:
''Battery power is already DC, wall power is AC and has to be run through a transformer to get to DC? So if the transformer (or rectifier maybe?) is bad... it causes fluctuating current and the over/ under volt protection in the laptop kicks in?
I mean, I would have thought that would cause outright crashes/ dying rather than BSODs or revert to using battery power, but 'bad' power from a dying psu can give some pretty baffling symptoms as well. I've also had plenty of non computer stuff fix itself by changing a power cord.''