This appears to be the hardware problem because in most cases a factory reset fixes all the problems with files and drivers. If after the factory reset, you experience the same behavior, then send the tablet back to warranty if it's possible or visit a local phone service. They should investigate the problem. It might cost you a little, but not as much as a new tablet.