It has a warranty, but the battery is an easy replacement for something samsung/the store would charge a lot of money and take several days to do, if it is the cause of the problem.
I can't check the settings on the tablet, as it's out of battery, but it seems to get power from the charger, yet...