Surface 2 battery charge issue

Just something that seems off but my surface pro 2 doesn't charge when the charger is plugged in but when the device is switched off completely then it works. The battery indicator is lit up when its plugged in but nothing happens not even a trickle charge. Is this a genuine problem or is it something that hidden in the settings. I looked but couldn't find anything.