There may be something wrong with your console. Has it been dropped or has anything spilled on it? If yes to this, the problem may be temporary or permanent. If no, I suggest going to get your switch looked at by an expert or Nintendo (not recommended if you hacked your switch). Please let me know if the problem gets better or worsens, and I'll see what I can do.
S