It is a design defect. It must be corrected by an electronic technician.
Please watch this video: Samsung tablet 2 not charging fixed by Bob. Kalpon in Youtube.
The only way to fix it is to make a diode bypass from the charge input to the battery. It is a permanent fixing. Other ways the tablet...