charging problems and rwd cross though the battery icon

My Samsung Galaxy Tab 2 won't charge when power is turned on it has a red cross through the battery icon, it will only charge when turned off please can someone help me thanks

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0