January 4th, 2014, 03:47 PM
Premium Guide Member
Join Date: Feb 2011
Location: Keene, NH USA
Device(s): Droid Maxx 4.4.4, Droid Bionic 4.1.2, Droid X 2.3.4
Thanked 2,471 Times in 1,635 Posts
Pretty straight forward ...
State: Proximity Sensor
A1: Variable Set [ Name:%DTOUT_Pocket To:%DTOUT Do Maths:Off Append:Off ]
A2: Display Timeout [ Secs:7 Mins:0 Hours:0 ]
A1: Display Timeout [ Secs:%DTOUT_Pocket Mins:0 Hours:0 ]
If the sensor is covered it saves timeout value in DTOUT_Pocket and sets the timeout to 7 seconds (the smallest amount acceptable).
If the sensor is uncovered it restores the saved timeout value from DTOUT_Pocket.