• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.
If you use Tasker, the following profile does what you want ...

Profile: tlaPocket
State: Proximity Sensor
Enter: Anon
A1: Variable Set [ Name:%POCKET To:%DTOUT Do Maths:Off Append:Off ]
A2: Display Timeout [ Secs:7 Mins:0 Hours:0 ]
Exit: Anon
A1: Display Timeout [ Secs:%POCKET Mins:0 Hours:0 ]

It will timeout after 7 sec when out in your pocket and return the timeout to the previous setting when removed from your pocket.

... Thom
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones