I have a 4-thunderbolt-port MacBook Pro (2016, 13", macOS High Sierra 10.13.1) and I can use any of those ports for charging the MacBook.

Is there any way to get an output of which port I'm using at the moment to charge and which port I'm using the most (to charge)?

I'm looking for any widely used programming language.
(If it was in AppleScript, that would be cool)

Also, is there any way I can get the output of how many times I've plugged the charger in and out?

You must log in to answer this question.

Browse other questions tagged .