My laptop swicth on and within some minutes it cuts off?

My laptop hp255 G3 switch on and after some minutes it cuts off what might be the problm?

crwdns2893858:0crwdne2893858:0 crwdns2893862:0crwdne2893862:0

crwdns2894050:0crwdne2894050:0

crwdns2889612:0crwdne2889612:0 0

crwdns2893872:0crwdne2893872:0:

Hi,

Does it also do this with the charger connected or only when starting on the battery?

crwdns2893770:0crwdnd2893770:0crwdne2893770:0

crwdns2892346:0crwdne2892346:0