For iPhone , how to create shortcut for “Battery is charging”?

i need help with creating actions If Battery is charging. I tried text and following ; the If Action runs for both charging and non-charging conditions.

Thanks for help.



iPad mini 6

Posted on May 17, 2023 5:15 AM

Reply
Question marked as Top-ranking reply

Posted on May 17, 2023 8:18 AM

SunnyInToronto ~ I've tested the following shortcut and it works:


  1. Instead of using Toolbox Pro's actions, use Apple's 'Get Battery Status' action.
  2. Once you've added that action, tap its default 'Battery Level' variable and choose 'Is Charging'.
  3. Then add an 'If' action and its variable should default to 'Battery State'.
  4. (If it doesn't, touch & hold whatever variable is there and choose 'Battery State' from the drop-down menu.)



Shortcuts User Guide for iPhone and iPad


õ¿õ¬

2 replies
Question marked as Top-ranking reply

May 17, 2023 8:18 AM in response to SunnyInToronto

SunnyInToronto ~ I've tested the following shortcut and it works:


  1. Instead of using Toolbox Pro's actions, use Apple's 'Get Battery Status' action.
  2. Once you've added that action, tap its default 'Battery Level' variable and choose 'Is Charging'.
  3. Then add an 'If' action and its variable should default to 'Battery State'.
  4. (If it doesn't, touch & hold whatever variable is there and choose 'Battery State' from the drop-down menu.)



Shortcuts User Guide for iPhone and iPad


õ¿õ¬

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.

For iPhone , how to create shortcut for “Battery is charging”?

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