Creating an iPhone shortcut for battery-related actions and smart plug control

Create a iphone shortcut the detect if battery level below 25% to say "what does a phone has to do to get charged around here" and when is equal to 90% to say charged. Also to detect if connected to charger and battery level below 85% turn on smart plug and calculate the time to charge to 90% in minutes, if battery below 85% and not connected to charger do not turn on smart plug, if battery level equal to 90% turn off smart plug. Also then charging stop and anytime say "charging stop and the current battery %"


[Re-Titled by Moderator]

Original Title: Battery shortcut

Posted on Aug 16, 2025 7:34 AM

Reply

Similar questions

10 replies

Aug 22, 2025 6:44 PM in response to fernandeswilliam01

fernandeswilliam01 wrote:

Create a iphone shortcut the detect if battery level below 25% to say "what does a phone has to do to get charged around here" and when is equal to 90% to say charged. Also to detect if connected to charger and battery level below 85% turn on smart plug and calculate the time to charge to 90% in minutes, if battery below 85% and not connected to charger do not turn on smart plug, if battery level equal to 90% turn off smart plug. Also then charging stop and anytime say "chessarging stop and the current battery %"

[Re-Titled by Moderator]
Original Title: Battery shortcut

You may be able to, but it would be pointless to try to micromanage your battery charging; you cannot improve on the built-in charging algorithms. The absolute best way to get maximum use on a charge, as well as slow the decline of battery capacity long term is to enable Optimized Battery Charging (Settings/Battery/Battery Health) and charge the device overnight, every night leaving it powered on. The battery will fast charge to 80%, then pause. During the nighttime pause the phone will use mains power instead of battery power, allowing the battery to “rest”, and thus reducing the need to charge the battery quite as often. The phone will resume charging to reach 100% when you are ready to use your phone; it will “learn” your usage pattern. If you enable iCloud Backup (Settings/[your name]/iCloud - iCloud Backup) the phone will back up overnight also, assuring that you can never lose more than the current day’s updates. Here's more information→About Optimized Battery Charging on your iPhone - Apple Support

Aug 24, 2025 12:00 AM in response to Lawrence Finch

Ya but I want it to all to be automated

Create 1 iPhone shortcut the

1. Detecting if the battery level is below 25% to say "phone is running low battery level below 25%".

2. Detecting if the battery level is equal to 90% run shortcut turn "Smart plug - Turn off" and to say "Phone is fully charged" and get time and saved to iCloud.

3. Detect if connected to USB (charging) and battery level below 85% run shortcut "Smart plug - Turn on" and calculate the time to charge to 90% in minutes and to say " phone has power and time to fully charged",if battery below 85% and not connected to charger do not run shortcut "Smart plug - Turn on".

4. Also if charging stop before 90% say "phone is at battery % need time(remaining time to 90%) to be at full capacity".

Aug 24, 2025 8:31 AM in response to fernandeswilliam01

It is automated, all on its own, by Apple’s highly sophisticated charge management algorithms. You cannot improve on them. Micromanaging your battery charging may give you pleasure, but it won’t really make any difference in how long your battery lasts. And some of what you are trying to do will actually shorten the life of your battery, because you never leave it plugged in after it reaches the chosen charge level, thus you lose the benefit of the phone running on line power and allowing the battery to rest.


Is micromanaging charging more fun than just using your phone?

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.

Creating an iPhone shortcut for battery-related actions and smart plug control

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