Scan with your iPhone to install
Help you to save your battery health.
What's New
Version 1.0
First release
What it does
27 actions-
Show Alert
-
Wait
-
Choose from Menu
-
Choose from MenuStart track battery.
-
Ask for InputEnter the number you would like to notify about the battery.
-
Number
-
Repeat
-
Get Battery Level
-
If
-
Vibrate Device
-
Show NotificationBattery charged up to …
-
If
-
Wait
-
Choose from MenuShortcut Menu.
-
Choose from Menu
-
Choose from MenuSend Feedback
-
Choose from MenuShare Shortcut
-
URLhttps://www.icloud.com/shortcuts/3c4f1ce54b0c483b81625709d4380b3a
-
Share
-
Send Email
-
Choose from MenuCredits.
-
Show Alert
-
Choose from Menu
-
Choose from Menu𝑰𝑵𝑺𝑻𝑨𝑮𝑹𝑨𝑴
-
Open URLs
-
Choose from Menu𝑹𝑶𝑼𝑻𝑰𝑵𝑬𝑯𝑼𝑩
-
Open URLs
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/web'
#include 'actions/sharing'
#define mac false
#include 'actions/device'
#define color green
#define glyph battery
confirm("Before You Run This Shortcut Please Plug Your Iphone In The Charger Then Run The Shortcut Again !!")
wait(2)
menu nil {
item "Start track battery.":
const 1 = prompt("Enter the number you would like to notify about the battery.", "Number")
const = 1000
repeat _ for {
const 2 = getBatteryLevel()
if 2 == 1 {
vibrate()
showNotification("Battery charged up to {2}", "Battery: {2}")
} else {
wait(10)
}
}
item "Shortcut Menu.":
menu nil {
item "Send Feedback":
item "Share Shortcut":
const URL = url("https://www.icloud.com/shortcuts/3c4f1ce54b0c483b81625709d4380b3a")
share(URL)
sendEmail(, "", "Feedback", "")
}
item "Credits.":
confirm("❗️This Shortcut Was Made By Ammrmuhmmed❗️")
menu nil {
item "𝑰𝑵𝑺𝑻𝑨𝑮𝑹𝑨𝑴":
openURL("instagram.com/ammrmuhmmed")
item "𝑹𝑶𝑼𝑻𝑰𝑵𝑬𝑯𝑼𝑩":
openURL("https://routinehub.co/user/Ammrmuhmmed")
}
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by ammrmuhmmed
You Might Also Like
Advertisement