I have Samsung A5 2017 for about 3 years now. This year I noticed it started shutting down sometimes despite having battery life still. You can see that here where battery life goes from about 45% to the bottom:
I haven’t found any power intensive apps. What is going on here and can it be fixed?