@elilla This happens for me when my battery has fully depleted itself; it seems to be a problem with the battery controller's firmware.
Usually fixed for me by letting it sit on the charger for a few hours to trickle-charge and then re-plugging it to switch to proper charging mode.
Don't know if you have the same cause for the problem, but hopefully it helps?