Mine is samsung galaxy s6 edge but when i removed it from charger it turns off...what could be the problem ans its battery is

Apr 2, 2018
1
0
10
Mine is samsung galaxy s6 edge but when i rwmovw it from charger it turns off..what could be the problem and its battery is inbuilt

 
Does that mean you can't use the phone unplugged?
If so battery is probably dead. There's a chance that the motherboard and so too would be damaged.
Or probably the port may be damaged.

Give a repair.