Why am I unable to turn of USB debugging on my Galaxy Tab 10.1?
Looks like your tab thinks it's charging from a USB socket all the time, I'd advise to get it checked under warranty, or you could try to let the battery run completely out and then recharge. Also, check the USB port for debris and clean if necessary.