why is my phone turning itself on and off when i out in the battery ?


Apr 18, 2016
my phone is a Samsung galaxy grand 2 duos and i purchased it in November 2014. Recently (even after i replaced the battery) it charges very fast but dies just as fast, i charge it to 100% 3 times a day on average.
today it switched itself off at 50% and refused to come on. when i removed the battery and replaced it it came on showed the make and model of the phone and then flashed to the logo before switching itself off again and repeating this process whenever i put the battery back into the phone over and over again until i pull the battery out.