While you wait for answers, we may have found some information which could help you.
Click here for Laptop Battery Dell
dell inspiron 5040 plugged in not charging?
The Dell adapter can't be recognized?
My laptop is showing it is not connected to the network, but it is?