HI:
I would say you have a corrupted battery driver, did you know the battery needs a driver to charge.
Got to control panel and find device manager, Battery, uninstall the drivers and re boot with charger plugged in . Windows will be looking for a driver API, you may have to go to the internet to get the driver, install it and reset again.
I hope I understand your explanation and this works.
Good luck.
Alton