Battery not charging but detected

Solution 1:

The following steps fixed my battery charging on a Carbon X1 5th gen. Your BIOS might be a bit different, but the principle might be the same:

  • shut down notebook
  • go to BIOS (to enter the BIOS, I pressed ENTER at boot, and then F1)
  • in the BIOS, go to Config, then selecte Disable Built-in Battery. This disables the battery completely (i.e. disconnects the battery circuit logically)
  • unplug the charger
  • press the power button for about 10 seconds
  • plug the charger back in
  • boot up

Now my notebook is charging again.