It may be a dodgy/old /damaged lead, try another if you have one or buy a new one
Are you charging with the tablet off?
Blutooth off?
Wifi off?
Some of these apparently loose the connection with the battery, and need something inside re-soldered, hopefully it's just the cable