iPhone goes into auto-lock mode, shuts off when connected to charger

Hello, I'm currently using an iPhone XS. Recently, I updated it to iOS 17.1. After this update, I noticed that when I plug it into the charger, it begins charging as usual. However, after the screen dims and the phone goes into auto-lock mode, within one minute, it unexpectedly shuts down and won't charge. Even if I press the power button, it won't turn on. Unplugging and plugging it back in has no effect. Strangely, if I unplug it from the charger for about 5 seconds, the phone automatically turns on without needing me to press the power button.



[Re-Titled by Moderator]

iPhone XS, iOS 17

Posted on Oct 28, 2023 7:57 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 28, 2024 6:22 PM

Alright guys, I found the solution and really it is work on my iPhone xs ios 17.6.1. You guys need to replace the data cable or either charging boot and check the problem it will be fixed. I’m facing this problem with fast charger and type C to Lightning cable but when I charged the iPhone with power bank and using USB to Lightning cable it’s fixed my problem. Therefore, problem is with cable or charging boot. You guys please check and share your feedback. Thanks

Similar questions

47 replies
Question marked as Top-ranking reply

Aug 28, 2024 6:22 PM in response to Binuma

Alright guys, I found the solution and really it is work on my iPhone xs ios 17.6.1. You guys need to replace the data cable or either charging boot and check the problem it will be fixed. I’m facing this problem with fast charger and type C to Lightning cable but when I charged the iPhone with power bank and using USB to Lightning cable it’s fixed my problem. Therefore, problem is with cable or charging boot. You guys please check and share your feedback. Thanks

Oct 29, 2023 12:19 AM in response to Binuma

You may try some of these steps, please check after each step...


  1. Sometimes, a simple restart can resolve temporary software glitches. Turn off your iPhone, wait for a few seconds, and then turn it back on.
    1. Restart the device. That's it.
    2. Still not solved --> Force restart iPhone - Apple Support
  2. If the issue persists, you can try resetting all settings on your iPhone. This will not erase your data but will reset all personalized settings to their default values. Go to Settings > General > Transfer & Reset > Reset > Reset All Settings and confirm the action. Note that you will need to reconfigure your settings afterward. All settings—including network settings, the keyboard dictionary, the Home screen layout, location settings, privacy settings, and Apple Pay cards—are removed or reset to their defaults. No data or media are deleted.
    1. Reset All Settings: Return iPhone settings to their defaults - Apple Support:- Return iPhone settings to their defaults
    2. You can return settings to their defaults without erasing your content.
    3. If you want to save your settings, back up your iPhone before returning them to their defaults. For example, if you’re trying to solve a problem but returning settings to their defaults doesn’t help, you might want to restore your previous settings from a backup.
  3. Make sure you have the latest updates installed.
    1. Update Over-the-Air (OTA) —> Update your iPhone or iPad - Apple Support (IN)
    2. Update using iTunes/Finder —> Update your iPhone, iPad, or iPod touch - Apple Support (IN)


If none of the above steps resolve the issue, it is recommended to reach out to Apple Support or visit an authorized service center for further assistance. They can provide specific guidance based on your device model and iOS version.



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iPhone goes into auto-lock mode, shuts off when connected to charger

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.