Hi
The power supply is obviously working if you can see the onscreen icon.
It could well be that they have given you a defective battery.
You really need a multimeter to test the battery connections on the laptop,if you are getting a voltage there then it is a faulty battery.