My samsung galaxy A8 shuts down having enough battery
It's been a month and my phone has a weired problem. I charge it till 100% and when i remove it immediately it becomes 90% and after i connect to my wifi it shuts down automatically and shows 0% battery. I went to the samsung service center and they recommended for a change in battery. I changes the battery but the problem is not solved. They again recommend for a software update. I did it too. But the problem still continues. Please give me solution what might be the problem.