Dell laptop wont charge battery

view full story

http://askubuntu.com – I have a Dell Studio XPS 16 laptop. I have replaced the battery and the charger. While the laptop will run on AC power it will not charge the battery and the battery is such like: http://www.scontobatteria.com/dell-studio-xps-16.html . It says plugged in not charging. If I restart the laptop I get an error screen that says the charger is not recognized. Is there a solution to this? I know there is an identification pin in the plug end of the charger and it is still there. (HowTos)