View Battery Cycle
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
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
If Result
If Result
SCRIPTING
Set name of
Shortcut Input
to
Shortcut Input
.txt
Renamed Item
DOCUMENTS
Text
TEXT
Match
(?<=BatteryCycleCount<\/key>).*\n.*.\d+
in
Text
Matches
TEXT
Matches
TEXT
Match
(?<=MaximumCapacityPercent<\/key>).*\n.*.\d+
in
Text
Matches
TEXT
Matches
SCRIPTING
Device Name
SCRIPTING
Showcuts