Open Device Manager (accessible by right clicking your Start Button)
Expand the Batteries section
For each device in that section:
Right click and choose Disable
Wait a second or two, then right click and choose Enable
Close Device Manager
Restart (not shut down) your laptop, then test if your laptop is charging correctly.
If not, then there is either a hardware problem with the charger or to power board in the laptop and you will need to take your laptop to a PC Shop.