The easiest thing to try is a different power adapter. You might also be able to go into BIOS setup and it might tell you if it recognizes the power adapter or not.
You may also try:
Uninstall the battery device driver and reinstall
Update BIOS
Hard reset the Windows 10 device, be careful with this method, you’d better [https://www.partitionwizard.com/clone-disk/factory-reset-laptop.html|back up your computer] before doing this.