I had the same journey. Nexus/Pixels then the pixel 4 was too expensive for me so I got myself and the wife Nokia 7s.
Suffice to say that both Nokia devices failed due hardware failures of the charge port. This happened 3 times to 2 devices. One device also just bricked itself out of the blue one day and needed to be returned. All this in about 18 months. Not great.
We have now gone back to Pixel 3a (wife) and 5 (me). Probably won't go back to Nokia anytime soon - the hardware quality is just not there.
I had that exact issue with my phone. Then I used very thin toothpicks and a needle to clean out all the lint that had gathered in the charging port. It required a lot more force than expected (broke several toothpicks), since I had compressed the lint so much by pushing the charger inside the port when trying to get the phone to start charging.
My phone has worked great ever since.
If you like your phone, I would recommend you take a look before replacing it.
pixel 4a is pretty good for $350. I just upgraded to one from my pixel 2 and I have no complaints so far (I had the same issue with the pixel 2 charging port lol).
if you bought your pixel 2 from google, there's a good chance you have a $100 google store credit sitting in your account. if so, that would bring the pixel 4a down to your price range. wanted to let you know just in case. I'm currently kicking myself because I forgot I had that credit and paid full price for the phone.
Well, it seems I have 100 € rebate fo the Pixel 4a 5G. Now that the charging works again, I'll just wait, no need to replace the perfectly fine phone I have for now.
Suffice to say that both Nokia devices failed due hardware failures of the charge port. This happened 3 times to 2 devices. One device also just bricked itself out of the blue one day and needed to be returned. All this in about 18 months. Not great.
We have now gone back to Pixel 3a (wife) and 5 (me). Probably won't go back to Nokia anytime soon - the hardware quality is just not there.