iPhone stops charging via data cable when PC is asleep or off.
Hello. I noticed some weird behavior with my iPhone. Whenever my PC is turned off or goes to sleep, the phone stops charging via usb. Usually this is caused by power savings settings in windows and or the motherboard BIOS, but after an hour of changing settings to no result I realized my usb mouse and keyboard LEDs were still on, even though my phone did not charge. I then tried charging my battery bank via USB which worked. Finally, I tried charging my phone using a third party power only cable and it continued charging even when the PC was off or asleep.
In other words, when the iPhone is connected to a PC via a cable with data, the phone stops charging when the PC is no longer awake even if the USB port is powered. It appears to be a “feature” of the iPhone to stop charging once the data connection is lost
Is there any way to mitigate this issue besides using one cable for general charging and one cable for syncing my phone? I’d like to plug my phone in when I get home from work and leave it there until the next morning but unless I use my computer a lot it won’t fully recharge by the next morning. Maybe there is a setting in the iPhone that prevents this from occurring.
Thanks.
iPhone SE, iOS 14