Login About Gallery
View Battery Cycle
Accepts
Files
SCRIPTING
‎If ‎Shortcut Input ‎does not have any value
SCRIPTING
‎Show ‎No "log-aggregated" file found. Go to Settings > Privacy > Analytics & Improvements > Analytics Data.
SCRIPTING
‎Exit shortcut with ‎Result
SCRIPTING
‎Otherwise
SCRIPTING
‎If ‎Shortcut Input ‎does not contain ‎log-aggregated
SCRIPTING
‎Show ‎No "log-aggregated" file found. Go to Settings > Privacy > Analytics & Improvements > Analytics Data.
SCRIPTING
‎Exit shortcut with ‎Result
SCRIPTING
‎End If
SCRIPTING
‎End If
SCRIPTING
‎Set name of ‎Shortcut Input ‎to ‎Shortcut Input ‎.txt
DOCUMENTS
‎Get text from ‎Renamed Item
TEXT
‎Match ‎(?<=BatteryCycleCount<\/key>).*\n.*.\d+ ‎in ‎Text
Case Sensitive
TEXT
‎Match ‎\d+ ‎in ‎Matches
Case Sensitive
TEXT
‎Match ‎(?<=MaximumCapacityPercent<\/key>).*\n.*.\d+ ‎in ‎Text
Case Sensitive
TEXT
‎Match ‎\d+ ‎in ‎Matches
Case Sensitive
SCRIPTING
‎Get the ‎Device Model
SCRIPTING
‎Show ‎Your ‎Device Model ‎ battery is at ‎Matches ‎ cycles and the battery is at ‎Matches ‎%

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 10 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0