Scan with your iPhone to install
New options for battery
What's New
Version 1.0
First release
What it does
25 actions-
CommentMade by @Ammrmuhmmed on RoutineHub
-
Dictionary
-
Choose from MenuWhat do you want to do?
-
Choose from MenuEnable Ultra Battery Saver Mode
-
Set Brightness
-
Set Low Power Mode
-
Set Bluetooth
-
Set Volume
-
Show NotificationEnabled Low Power Mode
-
Choose from MenuEnable Fast Charge
-
Choose from MenuPut your phone in charge. Click "Done" when plugged in.
-
Choose from MenuDone
-
Set Airplane Mode
-
Set Bluetooth
-
Set Brightness
-
Show NotificationDone! If you want to turn Fast Charge off, run the shortcut again.
-
Choose from MenuDisable Ultra Battery Saver Mode / Fast Charge
-
Set Airplane Mode
-
Set Brightness
-
Set Volume
-
Set Low Power Mode
-
Show NotificationLow Power Mode turned off.
-
Choose from MenuShare Shortcut
-
URLhttps://www.icloud.com/shortcuts/6ca78ac8cbfe4b99b6e93fa872cb3498
-
Share
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/sharing'
#define mac false
#include 'actions/device'
#define color green
#define glyph battery
// Made by @Ammrmuhmmed on RoutineHub
menu "What do you want to do?" {
item "Enable Ultra Battery Saver Mode":
setBrightness(0.038922157138586044)
setLowPowerMode(false)
setBluetooth(0)
setVolume(0.09865470975637436)
showNotification("Enabled Low Power Mode")
item "Enable Fast Charge":
menu "Put your phone in charge. Click \"Done\" when plugged in." {
item "Done":
setAirplaneMode(false)
setBluetooth(0)
setBrightness(0.011976048350334167)
showNotification("Done! If you want to turn Fast Charge off, run the shortcut again.")
}
item "Disable Ultra Battery Saver Mode / Fast Charge":
setAirplaneMode(0)
setBrightness(0.7514970302581787)
setVolume(0.7488788962364197)
setLowPowerMode(0)
showNotification("Low Power Mode turned off.")
item "Share Shortcut":
const URL = url("https://www.icloud.com/shortcuts/6ca78ac8cbfe4b99b6e93fa872cb3498")
share(URL)
}
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