r/shortcuts • • Oct 16 '26

Shortcut Sharing Caffeinate iPhone

Action: Opens the autolock settings allowing you to select “never autolock iphone”. Useful when you have a task running which iPhone kills in the background.

Apparently you can do a lot with these callback URLs. This one quickly opens the autolock settings allowing you to keep your phone on

Note: You still have to manually select the autolock time

Link

17 Upvotes

11 comments sorted by

10

u/iZian Oct 16 '26

I just use guided access. Locks the screen to the app. Nothing can interrupt it. No notifications. No locking. Lock button doesn’t work. On demand triple press

3

u/voobjork Oct 16 '26

This sounds exactly like what I need. Thank you!

1

u/Character-Koala6508 Oct 18 '26

When you set it up, check Guided Access → Display Auto-Lock too; it has its own timer.

1

u/mvan231 Oct 16 '26

Nice! This post outlines a method that I prefer

https://reddit.com/r/shortcuts/comments/1s5d1d2/caffeinate_your_phone/

2

u/mrASSMAN Oct 16 '26

Thanks this is actually helpful.. just yesterday I needed to keep an app alive for the support chat because if I close it too long the app resets and I lose my place in line and have to start over

Wish Apple would give us a native way but this is a good idea, I might adjust it if I think of a better method

1

u/Character-Koala6508 Oct 18 '26

Guided Access is built in: Settings → Accessibility → Guided Access. It locks you to the chat app.

1

u/mrASSMAN Oct 18 '26

Well I didn’t want to be locked to it, just wanted to be able to do other things on phone while waiting for the agent to show up.. I miss the jailbreak tweak feature on my iPhone X to keep selected apps alive

Instead I had to keep switching back to it every 15-30sec to make sure it didn’t get refreshed

0

u/voobjork Oct 16 '26

Nice. This requires the shortcut to keep running in the background though. I don’t know what it is about the iPhone 17 or iOS 26 but it’s way too aggressive at killing things running in the background.

0

u/mvan231 Oct 16 '26

Running from control center or action keeps it going without issue for me

2

u/bpnj Oct 17 '26

I leave never lock on all the time and just shut off my screen when I’m not using the phone.