I just ran out of battery on my Samsung smartphone and wanted to charge it by connecting my MacBookPro to the USB-C smartphone. As a result my MacBook got charged and the smartphone worked as a battery pack and the phone finally died.
how can I decide what device should be charged? Is there an option to do so?