System issues only when charger is plugged in
Good afternoon,
After a couple dozen hours of testing and troubleshooting I am now at a loss on how to properly diagnose and fix my problem. About a week ago my laptop crashed while playing a game and I had nonstop BSOD errors before and during startup ranging from PAGE_FAULTS, IRQL_LESS_OR_NOT_EQUAL, and several others. I tried installing/reinstalling Windows 10, updating and uninstalling various drivers, and using the system utilities (sfc /scannow, dism.exe, memtest86 (4 passes), and hardware tools from Intel, SKHynix (SSD), etc.) but everything comes up clean. I finally realized that when I am running on battery my laptop works well with no errors observable in the Event Viewer. Every application I test works, however, streaming video seems to stutter at regular intervals. YouTube videos are fine.
But when I plug my charger in, several issues occur immediately such as applications not opening at all or working improperly, browsers not being able to load pages, and several Windows apps like SearchUI, NVContainer.exe (Nvidia) crashing repeatedly, slow retrieval of system information from the "About My Computer," etc. If I leave the charger in a PAGE_FAULT BSOD will eventually occur, but if I take my charger back out everything works again. I'm thinking this may be a hardware issue regarding voltage levels when the charger is plugged in, or possibly bad RAM, but I wanted to know if there was a way to verify this through software first.
Thank you for your help.