Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <TaskerData sr="" dvi="1" tv="4.7u3m">
- <Task sr="task318">
- <cdate>1446877334612</cdate>
- <edate>1446886740337</edate>
- <id>318</id>
- <nme>Current SOT</nme>
- <pri>100</pri>
- <Action sr="act0" ve="7">
- <code>123</code>
- <Str sr="arg0" ve="3">dumpsys batterystats | grep -m 1 "Screen on:"</Str>
- <Int sr="arg1" val="0"/>
- <Int sr="arg2" val="1"/>
- <Str sr="arg3" ve="3">%out</Str>
- <Str sr="arg4" ve="3"/>
- <Str sr="arg5" ve="3"/>
- <ConditionList sr="if">
- <Condition sr="c0" ve="3">
- <lhs>%SDK</lhs>
- <op>7</op>
- <rhs>18</rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act1" ve="7">
- <code>123</code>
- <Str sr="arg0" ve="3">dumpsys batteryinfo | grep -m 1 "Screen on:"</Str>
- <Int sr="arg1" val="0"/>
- <Int sr="arg2" val="1"/>
- <Str sr="arg3" ve="3">%out</Str>
- <Str sr="arg4" ve="3"/>
- <Str sr="arg5" ve="3"/>
- <ConditionList sr="if">
- <Condition sr="c0" ve="3">
- <lhs>%SDK</lhs>
- <op>6</op>
- <rhs>19</rhs>
- </Condition>
- </ConditionList>
- </Action>
- <Action sr="act2" ve="7">
- <code>598</code>
- <Str sr="arg0" ve="3">%out</Str>
- <Str sr="arg1" ve="3">(?<=Screen on: )([0-9hms ]+)(?= .)</Str>
- <Int sr="arg2" val="0"/>
- <Int sr="arg3" val="0"/>
- <Int sr="arg4" val="0"/>
- <Str sr="arg5" ve="3">%matches</Str>
- <Int sr="arg6" val="0"/>
- <Str sr="arg7" ve="3"/>
- </Action>
- <Action sr="act3" ve="7">
- <code>550</code>
- <Str sr="arg0" ve="3">%matches(#)</Str>
- <Str sr="arg1" ve="3">%matches1</Str>
- <Str sr="arg2" ve="3"/>
- <Str sr="arg3" ve="3">Popup</Str>
- <Int sr="arg4" val="5"/>
- <Int sr="arg5" val="1"/>
- </Action>
- </Task>
- </TaskerData>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement