I've played games on my computer for as long as I can remember ... Through my years here, I've tested and reviewed many, many dozens of laptops and desktops, and I am always happy to recommend ...
Turn off your laptop and disconnect the adapter from the power outlet. Now take a lint-free cloth and gently clean the connectors. Once your connectors are clean, the charging issue should be resolved ...