ShareShortcuts

Battery Health Tracker

Help you to save your battery health

ammrmuhmmed
Fork “Battery Health Tracker”

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 ammrmuhmmed 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
42K
Saved
0
Actions
27
Category
Utilities
Version
1.0
Language
EN

Help you to save your battery health.

What's New

Version 1.0

First release

Version History
1.0 May 6, 2022

First release

What it does

27 actions
  1. Show Alert
  2. Wait
  3. Choose from Menu
  4. Choose from Menu
    Start track battery.
  5. Ask for Input
    Enter the number you would like to notify about the battery.
  6. Number
  7. Repeat
  8. Get Battery Level
  9. If
  10. Vibrate Device
  11. Show Notification
    Battery charged up to …
  12. If
  13. Wait
  14. Choose from Menu
    Shortcut Menu.
  15. Choose from Menu
  16. Choose from Menu
    Send Feedback
  17. Choose from Menu
    Share Shortcut
  18. URL
    https://www.icloud.com/shortcuts/3c4f1ce54b0c483b81625709d4380b3a
  19. Share
  20. Send Email
  21. Choose from Menu
    Credits.
  22. Show Alert
  23. Choose from Menu
  24. Choose from Menu
    𝑰𝑵𝑺𝑻𝑨𝑮𝑹𝑨𝑴
  25. Open URLs
  26. Choose from Menu
    𝑹𝑶𝑼𝑻𝑰𝑵𝑬𝑯𝑼𝑩
  27. Open URLs

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement