I have recently had some problems charging my iPhone 7 from my 2013 Macbook Air. For a while, the phone would only charge if I had the lightning cable turned a certain way, otherwise it would do that incredibly annoying connecting/disconnecting thing. It now refuses to charge at all when connected to the laptop. The strange thing is - my laptop charges my portable phone charger fine (suggesting the laptop port isn't the issue) and the phone charger works with my iPhone fine (suggesting the phone isn't the issue either). And I have tested 2 different cables (one new, one is an apple with no signs of wear and tear) and both work with other devices.
I have, previously (March last year) had some issues with the headphone port requiring the following repair. I am wondering if the two could be correlated, if there is any "easy" fix or if I should just take it into Apple.
The problem description/diagnosis from last time:
Issue: Machine fans get loud and no sound from machine
Steps to Reproduce: observed the issue, Performed visual mechanical inspection, ran Mac Resource Inspector and noted machine had a thermal sensor warning
Proposed Resolution: Replace I/O flex and test. If unsuccessful replace I/O board. Run ASD/EFI & OS as post repair testing and ensure there is sound in users operating issues