This is a common problem for many users upgrading to Windows 10 and not only for your machine. I have the same issue...
See this thread: Cable is Plugged in but battery is not charging. - Microsoft...