I want the iPhone to be charged connected to the MacBook Pro while I am sleeping.
When I connect the iPhone, the computer charges the mobile battery. But when I wake up, the cellphone is not fully charged.
I think that maybe this happens because the computer puts on sleep mode.
Is there a way that the iPhone keeps charging, even if the computer puts on sleep mode? or which would be the best way to solve this?
My MacBook is connected to the charger and the lid is closed.
I have an iPhone 7 Plus and a 2017 MacBook Pro running macOS Mojave 10.14.4.