My solution and other previously mentioned solutions operate on the condition that you've already tested and determined that your AC adapter is not defective by running a hardware test and/or testing an alternate AC adapter. My solution resolved my issue so clearly my AC adapter is not defective.
I'm seeing many posts lately about issues in Windows 7/8/10 laptop batteries showing "Plugged in not charging" and after much research and trial and error I wanted to share what finally worked for me. I had this same issue on my Acer Aspire ES1-711 laptop with "non-removable battery" running...
acer
Acer Aspire
acer aspire es1
battery
battery not charging
dell
Hewlet Packard
HP Laptop
laptop
lenovo
not charging
Plugged In Not Charging
Windows
windows 10
Windows 7
Windows 8