Sometimes won’t charge while on charger

It was fine before but ever since my battery health fell to 79% last week, sometimes it refuses to charge while on a charge. I have to unplug and replug a few times for it to charge. Not the charge port since I have an otterbox defender case, meaning the port is never exposed.

I’ve had it since launch, currently running iOS 18.1.1. Seriously considering an upgrade to a 16.