Check battery level

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

Actions Used

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

Extra Details

Run Shortcut deep link
Open Shortcut deep link
AppleScript code
tell application “Shortcuts Events” run shortcut “Check battery level” end tell

More From This Folder

More From The Library

Get way deeper into Shortcuts – become a member.