ShareShortcuts

배터리 상태 (충전 시작)

First shortcut of 배터리 상태 series

guinea
Fork “배터리 상태 (충전 시작)”

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 guinea 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
9K
Saved
1
Actions
46
Category
API
Version
1.0
Language
EN

First shortcut of 배터리 상태 series.

What's New

Version 1.0

First release

Version History
1.0 Dec 24, 2025

First release

What it does

46 actions
  1. Get Device Details
  2. Text
  3. Find Notes
  4. Get Text from Input
  5. Split Text
  6. Count
  7. Get Item from List
  8. If
  9. Get Battery Level
  10. If
  11. Nothing
  12. If
  13. Text
  14. Find Notes
  15. Get Text from Input
  16. Split Text
  17. Set Variable
    메모
  18. Count
  19. Calculate Expression
  20. Repeat
  21. Calculate Expression
  22. Get Item from List
  23. Add to Variable
  24. Calculate Statistics
  25. Round Number
  26. Get Battery Level
  27. If
  28. Text
  29. Date
  30. Append to Note
  31. Get Battery Level
  32. Get Text from Input
  33. Append to Note
  34. Text
  35. Append to Note
  36. Calculate Expression
  37. Round Number
  38. Date
  39. Adjust Date
  40. Format Date
  41. Text
  42. Show Notification
    …
  43. If
  44. Nothing
  45. If
  46. Nothing

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/device'
#define color blue
#define glyph battery

getDeviceDetail("Device Model")
rawAction("is.workflow.actions.filter.notes", {
	"AppIntentDescriptor": "",
	"WFContentItemFilter": ""
})
const 1 = getText()
const 2 = splitText(1)
const 3 = count(2)
const 4 = getListItem(2, 3)

if 4 == "충전 종료됨" {
	const 5 = getBatteryLevel()
	if 5 == 100 {
	} else {
		rawAction("is.workflow.actions.filter.notes", {
			"AppIntentDescriptor": "",
			"WFContentItemFilter": ""
		})
		const 7 = getText(6)
		splitText(7)
		@
		count(@)
		const 8 = (-1)/3
		repeat _ for 8 {
			const 9 = 3*@RepeatIndex+1
			getListItem(@, 9)
			@
		}
		const 10 = statistic("", nil)
		round(10)
		const 11 = getBatteryLevel()
		if 11 ==  {
			const 12 = "배터리 사용 ({})"
			currentDate()
			appendNote(12)
			const 13 = getBatteryLevel()
			getText(13)
			appendNote(12)
			appendNote(12)
			const 14 = ((100-5)/100)*
			round(14)
			currentDate()
			adjustDate(, "")
			formatDate(, "None", "HH시 MM분")
			showNotification()
		} else {
		}
	}
} else {
}
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 guinea

See All

You Might Also Like

See All
Advertisement