I had a continuous problem with battery charging. This only happened if my computer was off for a long time. At least more than a week. Numerous call to Dell Support resulting in bios upgrade, battery charger change out but no resolution. i stumbled upon a setting that fixed the problem. Called Dell back to let them no although they seemed disinterested. Assume this has happened to other people. The fix for me is the following:
Right click on the battery icon and choose Dell Extended Battery Life Options.
Click on Desktop mode
check disable
You battery should start charging if this was the problem. You may have to click the charge battery box.
After the battery starts charging you can check enable again. Should be okay until the next time it quits charging.
I think this problem is by design but no one in support could answer including the supervisor. Surprising they did not know this simple fix.