ASUS VivoBook Max randomly shuts down

Oct 7, 2018
1
0
10
Hi
My laptop (ASUS VivoBookMax X541N) sometimes randomly shuts down when i log in (or before logging in...or when i alredy logged in..)(It's not overheated when it does that).
But when i put it on charger, everything is fine.
It's not does that every time, but still annoying.
Can i do something to fix it?

I'm very helpless. This is my first laptop. :/ I hope somebody have a solution.