Greetings!
Have you always left it plugged in? Laptop batteries do better if they are discharged and recharged regularly for that is what they are designed for as a portable device. If it is left plugged in for an extended period of time, it can effect it's ability to hold a charge. I have a laptop that runs Windows 7, and I left it plugged in on my desk at home for a little over a year and now the battery holds very little charge. So, it is not (necessarily) Windows 10, and more likely the charge memory of your battery if it is plugged in for extended periods of time. Sadly, there is no way I know of to restore full function to a battery after this has occurred.
Hope this helps!