To wipe the cache partition, follow these steps:

Press and hold the Power key, tap Power off, and then tap OK.
Press and hold the Power key and Up Volume key at the same time.
Release the Power key when the Samsung logo appears.
Release the Volume key when the Android image appears.
Press the Volume keys to highlight Wipe cache partition.
Press the Power key to select.
Once “Cache wipe complete” appears, press the Power key to select Reboot system now.
The device restarts once the wipe is finished

if it does not work, are you using samsung oem charging cables, wall adapter and battery? also if it has a microsd card in it, try removing it. finally you can try resetting the tablet.