Check battery level

Gets the current battery state, checking for connection or charging status and showing the total battery level as a percentage.

Scripting Actions

shortcuts-action-icon-get-battery-level.webp
Get Battery Level
Outputs the percentage of battery remaining as a number from 0 to 100.
shortcuts-action-icon-set-variable.webp
Set Variable
Sets the value of the specified variable to the input of this action.
shortcuts-action-icon-if.webp
If
Tests if a condition is true, and if so, runs the actions inside. Otherwise, the actions under “Otherwise” are run.
shortcuts-action-icon-show-result.webp
Show Result
Shows the specified text in Siri or in an alert.

Extra Details

Link to Run Shortcut
shortcuts://run-shortcut?name=Check%20battery%20level
Link to Open Shortcut
shortcuts://open-shortcut?name=Check%20battery%20level
AppleScript code
tell application “Shortcuts Events” run shortcut “Check battery level” end tell

More From This Folder

Change volume

Quickly change your device’s system volume by picking a numeric value from a list. Customize the list to contain your favorite volume presets, which support decimal values.

Original version by Federico Viticci for MacStories: https: or or www.macstories.net or ios or how-to-adjust-ios-volume-via-workflow-when-streaming-audio-to-homepod or

Get Shortcut »

More From The Library

Start Multiple Timers

Starts two pre-set timers at once, each for different lengths. This version is a pomodoro timer, set to go off at 20 minutes for a break and again 5 minutes after to get back to work.

Get Shortcut »

Search Apple Maps

Asks for your search query, encodes the text, then opens the deep link into Apple Music.

Reference: https: or or developer.apple.com or library or archive or featuredarticles or iPhoneURLScheme_Reference or MapLinks or MapLinks.html

Get Shortcut »

Open RSS posts

Gets the RSS feed from the Shortcut Input, extracts 10 stories, presents them in a menu, and copies the chosen URLs before opening them in Safari.

Get Shortcut »


Get way deeper into Shortcuts – become a member.

Browse more