I have observed that the programs that require a large amount of RAM, graphics memory, processing power, for eg. video games, run slower and lag when the charging power is not plugged.
This happens even if the laptop is fully charged. And it is not just the case with old laptop, I have observed this in brand new laptops as well.
What is the reason for this? Are there any settings that I can change to prevent this because continuous charging can damage the battery?