I've been having this issue for a while but i've never tried to fix it until recently... The thing is that idk anymore if the problem is a bad battery or if it is just battery desync...
My problem is that my switch started to turn off when it gets to 40% a couple months ago, so this last week...