---
title: "How to run an automation when your iPhone starts charging"
url: https://still-iphone.pages.dev/blog/iphone-automation-when-charging/
description: "Plug in at the bedside and Sleep Focus, grayscale and 10% brightness start. Unplug at 7 and they end. Charger trigger steps for iOS 27 and iOS 26."
published: 2026-11-30
updated: 2026-11-30
author: STILL
app: "STILL: Minimalist Phone Themes, https://apps.apple.com/app/id6811195351"
---

Guide · Setup

# How to run an automation when your iPhone starts charging

Plug in at the bedside and Sleep Focus, grayscale and 10% brightness all start. Unplug at 7 and they end. It takes two Shortcuts automations on the Charger trigger, about 10 minutes.

By STILL · November 30, 2026 · 4 min read

## 01. Pick Grayscale as your color filter first

The Shortcuts action switches color filters on. Settings decides which filter that is.

1. Settings → Accessibility → Display & Text Size (same on iOS 26).
2. Tap Color Filters and turn it on.
3. Tap Grayscale, then turn Color Filters off again.

Instagram in grey is a duller scroll at 10:40 p.m. Our [grayscale guide](https://still-iphone.pages.dev/blog/iphone-grayscale/) covers the daytime side.

**Check it** Color Filters is off, with the tick still on Grayscale.

## 02. Make plugging in start the night

Apple says Charger fires whether you charge with a cable, wirelessly or with a charging case.

On iOS 27, automations live inside a shortcut:

1. Open Shortcuts, tap + and name it "Bedside".
2. Add three actions: Set Focus with Sleep on, Set Color Filters on, and Set Brightness at 10%.
3. Tap Edit, then Automation, then Charger, and pick Is Connected.
4. Tap Edit → Info → Privacy and turn on Allow Running When Locked.

On iOS 26: Shortcuts → Automation → + → Create Personal Automation → Charger → Is Connected → Next. Add the same actions. Then open the automation, switch off Ask Before Running and tap Don't Ask.

**Check it** Plug in. **The screen greys and dims at once.** Control Center shows Sleep on.

## 03. Keep the desk charger out of it

Charger can't tell your nightstand from your desk. *Without* a guard, a 3 p.m. top-up turns on Sleep.

Add an If action above the three actions. Set its Input to Current Date and choose a condition that means after 9 p.m. Drag the three actions inside it.

**Bed after midnight?** Add a second condition for before 5 a.m. and tap Any.

**Check it** Plug in before 9 p.m. Nothing changes.

## 04. Undo it all when you unplug

The morning undo matters more than the night switch. **A grey, dim phone at noon gets abandoned.**

Make a second shortcut, "Morning", on Charger → Is Disconnected. Add Set Focus with Sleep off, Set Color Filters off and Set Brightness at 60%. Allow it to run unasked, as in step 2.

Skip the If here. After a daytime charge, it only resets the screen to normal.

**Check it** Unplug. Color returns and Sleep is off in Control Center.

## 05. End the night on one question with STILL

At 10:40 you plug in and reach for Instagram one last time. With STILL, your Home Screen asks a question instead.

Our app has an evening reflection widget you place on page one. **It asks "What was enough today?"** and waits for one line from you, not one more post.

![A black widget with a violet smoke wisp on the right. Small capitals read Tonight above What was enough today? in white serif italics, a row of six glowing violet dots and one empty ring, and a Write a line button.](https://still-iphone.pages.dev/blog/assets/widgets/wisp-reflect-md.jpg)

*In WISP: tonight's question and a Write a line button.*

Unplug at 7 and **the color comes back to a plan.** In MIST, the morning screen shows Saturday's Design review at 11:00, Lunch with Sana at 1:30 and Collect the frames at 4:45.

![An iPhone Home Screen with no app icons: a misty green mountain valley at the top, a week calendar widget for Saturday the 10th with 3 events today and Design review at 11:00 AM, and an Up next list with Design review, Lunch with Sana at 1:30 PM and Collect the frames at 4:45 PM.](https://still-iphone.pages.dev/blog/assets/screens/mist-cal.jpg)

*MIST: the week and what's up next. No app icons.*

- **One line, then the charger.** Tap Write a line, answer, and put the phone down.
- **Instagram can stay paused overnight.** A STILL focus schedule pauses only the apps you pick, through Screen Time, with your permission.
- **Nothing deleted.** STILL's app list (a widget that lists your apps by name) names the few you open, and every other app stays installed.

**Try it** Place the reflection widget on page one, then plug in tonight.

[Get STILL on the App Store](https://apps.apple.com/app/id6811195351)

$19.99 once for Lifetime, or $4.99 a month · iPhone

## If it doesn't work

- **A prompt appears at plug-in.** On iOS 27, recheck Allow Running When Locked. Apple notes single actions may also need setting to run automatically.
- **The screen goes red, not grey.** Redo step 1 and tick Grayscale.
- **Nothing runs on iOS 26.** Open the automation and switch on Enable This Automation.

Rather keep the charger out of the bedroom? Use a [10 p.m. night schedule](https://still-iphone.pages.dev/blog/block-apps-at-night-iphone/) instead, or see [moving the charger out](https://still-iphone.pages.dev/blog/keep-phone-out-of-bedroom/).

## Questions

### Why the charger and not a fixed bedtime?

A clock fires at 10:30 even when you're still out. Plugging in happens when you're actually in bed, late nights included.

### Can I add more actions to the plug-in shortcut?

Yes. Airplane Mode is a common one. Our [Airplane Mode guide](https://still-iphone.pages.dev/blog/airplane-mode-at-night-automation/) shows how to keep the alarm ringing.

### Is there a STILL theme dark enough for a dimmed bedside screen?

WISP is black with a violet wisp, and choosing it switches every STILL widget, the type and STILL's icon together. Many other themes come in both light and dark.

STILL FOR IPHONE

## Plug in. Read one question. Sleep.

STILL puts What was enough today? on your Home Screen, so the last unlock before the charger ends on your words, not a feed.

[Get STILL on the App Store](https://apps.apple.com/app/id6811195351)

$19.99 once for Lifetime, or $4.99 a month · iPhone

## More ways to let the evening run itself

- [How to cut screen time with 5 Shortcuts automations](https://still-iphone.pages.dev/blog/shortcuts-automations-less-phone/): Guide · 5 min read
- [How to set up Sleep Focus on iPhone so it turns on by itself](https://still-iphone.pages.dev/blog/sleep-focus-iphone/): Guide · 5 min read
- [How to turn on grayscale on your iPhone](https://still-iphone.pages.dev/blog/iphone-grayscale/): Guide · 6 min read

Source: https://still-iphone.pages.dev/blog/iphone-automation-when-charging/ · © 2026 STILL
