Solved! how to boot asus laptop A541S that won't turn on

Jun 7, 2018
1
0
10
when i open my laptop the logo comes out but it suddenly turns off then i tried to long press the off key then open it and after the logo comes out, there's a dialogue saying that i should boot my laptop. i cannot remove my battery because it is already built-in.