Browse the docs

Plug in before it's too late

When the battery drops below 20% and the Mac isn't plugged in, Switchboard tells you to plug in.

When the battery falls below 20% while the Mac runs on battery, a message appears in the middle of the screen and a notification stays in Notification Center. The trigger watches a condition, the battery level, and fires the moment it becomes true.

Plug in before it's too late
When
  1. The battery is below 20% becomes true
Do
  1. Show “Plug in: the battery is under 20%” for 5 s
  2. Show a notification “Battery under 20%”
Open in Switchboard to try it

It fires once each time the battery crosses 20%, not again every minute while it stays low. On a Mac without a battery it never fires.

Press Add to Library to keep a copy. It arrives turned off: select it in your library and turn on the switch beside its name.

Make it yours #

  • Another level. Select the trigger and change 20 in the inspector to another level, such as 10.

  • Only one warning. Delete the Show notification step to keep just the message on screen, or the other way round.

  • Do something about it. Add a step such as Quit app for an app that uses a lot of power. States and watching shows what else can react to a change like this.