Hi, I've been able to find similar posts with no actual solution (I am aware that I may be overlooking so if there is an actual solution to this, please let me know).
My Helios 300 PH317-55 laptop is plugged and when I start gaming with high-end games it switches from battery to plugged again and again causing a terrible lag each time. At some point it even gets the two lights blinking which theoretically means "there is something wrong with the power supply" and acts as if the laptop isn't plugged.
This must be a known issue, if you think of something I could try let me know.
[//Edited the content to add model name]