Sounds like your saying the laptop works when plugged in with a AC adapter but does not charge the battery. Then it sounds like you tried another ac adapter and it did charge the battery.
I am confused because if one did not charge the battery and one did - I don't know how it would be working with just being plugged in. There is no middle ground to it and it either is your ac adapter or battery since I am unable to translate your exact question.
Sometimes you can buy a docking station which connects to your laptop and charges through the dock itself. If you could be a little more clear on the issue and what you tried and didn't... I'd be more than glad to help.