ShareShortcuts

BatteryKiller

Don’t work for iPad

widowild
Fork “BatteryKiller”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so widowild gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
70K
Saved
0
Actions
22
Category
Fun
Version
1.0
Language
EN

Don’t work for iPad.

What's New

Version 1.0

First release

Version History
1.0 Mar 29, 2019

First release

What it does

22 actions
  1. Vibrate Device
  2. Set Flashlight
  3. Vibrate Device
  4. Set Brightness
  5. Vibrate Device
  6. Set Volume
  7. Vibrate Device
  8. Set Wi-Fi
  9. Vibrate Device
  10. Set Bluetooth
  11. Vibrate Device
  12. Set Airplane Mode
  13. Vibrate Device
  14. Set Cellular Data
  15. Vibrate Device
  16. Set Low Power Mode
  17. Vibrate Device
  18. Get Battery Level
  19. Show Notification
  20. Vibrate Device
  21. Set Flashlight
  22. Vibrate Device

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define mac false
#include 'actions/device'
#define color red
#define glyph battery

vibrate()
toggleFlashlight(0.5)
vibrate()
setBrightness(1)
vibrate()
setVolume(1)
vibrate()
setWifi(true)
vibrate()
setBluetooth(true)
vibrate()
setAirplaneMode(false)
vibrate()
setCellularData(true)
vibrate()
setLowPowerMode(false)
vibrate()
getBatteryLevel()
showNotification("", "Battery: {}%", true)
vibrate()
flashlightOn(0.5)
vibrate()
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 widowild

See All

You Might Also Like

See All
Advertisement