Is it the original charger that came with the MacBook Pro? You might want to look at it and make sure it is the right wattage charger. It should be an 85 watt charger, and only use genuine Apple chargers, not an off brand.
Also, you don’t say how much your battery is draining while plugged in. How much percentage do you lose on the battery after running Parallels for x time? It’s not unheard of to lose 1-5% percent while plugged in and running very intensive tasks, my work Lenovo does it too.
If you are using the right charger, there are three issues I can think of:
1). You may try a different plug outlet, could be a bad plug outlet not providing enough power
2). Your charger has gone bad and needs replacement (power surge or age caused it to fail).
3). There may be an issue with the power control module on the logic board.