I have a Samsung Galaxy S5 and I had it for nearly two years. Recently, it seems to lag a lot. For example, I have the Skype and Gmail app on my phone and I get push notifications for them. From time to time, it would freeze for a few seconds when the push notifications come up. This has happened to me in the past with other android phones and I find that android phones tends to lag after 1-2 years.
In the past, I have tried doing factory resets and it seems to be smooth again for a few weeks but the lag would come back. I try to reduce the apps I download and it seems to be helping a bit. My question is, how can I reduce the lag of my phone? I know it is probably time I buy a new phone but I do want to use it for another few months.