Automations not working properly on iOS 16.2

I have set a bunch of automations in the shortcuts app that mainly deal with low power mode and focus.

Since updating to iOS 16.2, I cannot use the current battery percentage as input for "if" conditions anymore.

furthermore the focus schedules for my work focus as well as for my sleep focus (which should be tied to my bedtime in health) do not work anymore.

I did not find any other people reporting this, but after checking on the iPhone of my partner, I know that this must be a general issue. Does anyone know how to fix this?

iPhone 14 Pro, iOS 16

Posted on Jan 7, 2023 2:41 PM

Reply

Similar questions

9 replies

Jan 7, 2023 3:29 PM in response to moinmann

moinmann ~ Please post a screenshot of the relevant actions in your automation:


Take a screenshot on your iPhone


In iOS 16.2 "Get Battery State can now check charging state (charging, connected to charger)" – so you may need to delete the old battery-related actions and re-create them. Tap the 'Get Battery Status' action's parameter to see the new choices:



What’s new in Shortcuts - Apple Support


õ¿õ¬

Jan 7, 2023 3:58 PM in response to Alancito

I am aware of this change and have doublechecked for this.

The problem is, that although the variable is a number (I verified that also by building a shortcut that gives me the battery percentage as output), the if condition does not recognise it as such and is therefore no longer giving me the options in red (the first picture this is how the old automation looks like since the update) but only the options in the second picture which do not help.

Jan 8, 2023 6:42 AM in response to moinmann

moinmann ~ This is just a tip about posting screenshots in these communities... Viewed on iPhone in landscape mode or on iPad/Mac, your screenshots are overly large and make it difficult to scroll & read through the thread. But their dimensions can be easily reduced:


1. Add the original sized screenshot to your post.

2. Tap the screenshot – handles should then appear at each corner like this:



3. Drag a corner to resize.

4. Post.


õ¿õ¬

Jan 17, 2023 8:09 AM in response to Alancito

Thanks! This seems to work as well and is indeed much cleaner.


Do you happen to know how I can get the schedule for my work focus up and running again? I was able to create a workaround for the sleep focus using bedtime and wakeup in a shortcut, but it's a little more complicated with work. I tried deleting and setting a new schedule in settings but this did not work.

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.

Automations not working properly on iOS 16.2

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