Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,458 Members 46,775 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Shortcut Shutdown Screen

Tip us?
 
Theberge43
Old
#1  
Senior Member - OP
Thanks Meter 85
Posts: 150
Join Date: Jul 2010
Location: Montreal
Question [Q] Shortcut Shutdown Screen

Hi,

I'm currently using Nova Launcher which has a settings to remap the home button when on the homescreen.
You can map it to a Nova settings, an app or a shortcut.

I currently have it mapped to a Secure Settings shortcut that lock my phone.

The issue I'm having with this settings, it's that it does not respect the delay locking option I have set on my security settings (5 min).

I'm looking for a way to map the home button to something that would shutdown the screen but respect the locking delay like the real power button does.

Any suggestions ?

Thanks.
Nexus 5 - 32 GB - White
>> +++ <<
Paranoid Android 4.6 & Franco Kernel Powered
>> +++ <<
Home Screen Inspiration | Submit your design | Follow me
 
rootSU
Old
#2  
rootSU's Avatar
Senior Member
Thanks Meter 11,377
Posts: 22,403
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
Its because you're locking the phone in secure settings. Power button turns of the screen. So its a different action.

Which are you using by the way? Dev admin action > lock device or root actions > power button lock?

Not sure how different they are. Essentially you need to look to turn off screen not lock device

Sent from my Nexus 5 using Tapatalk
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!

**Sticky Roll-up: All Guides snd Info Threads linked here**



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
 
Theberge43
Old
#3  
Senior Member - OP
Thanks Meter 85
Posts: 150
Join Date: Jul 2010
Location: Montreal
Quote:
Originally Posted by rootSU View Post
Its because you're locking the phone in secure settings. Power button turns of the screen. So its a different action.

Which are you using by the way? Dev admin action > lock device or root actions > power button lock?

Not sure how different they are. Essentially you need to look to turn off screen not lock device

Sent from my Nexus 5 using Tapatalk
Hi haven't payed for the Pro Upgrade so Power button lock is not available to me.
I know it's because I'm using the Lock Device feature, that because I cannot find another option that simply simulates the power button press.

Can someone confirm to me that "Power button lock" in Secure Settings would provide me with the right feature ?

Thanks.
Nexus 5 - 32 GB - White
>> +++ <<
Paranoid Android 4.6 & Franco Kernel Powered
>> +++ <<
Home Screen Inspiration | Submit your design | Follow me
 
rootSU
Old
#4  
rootSU's Avatar
Senior Member
Thanks Meter 11,377
Posts: 22,403
Join Date: Aug 2010
Location: Oxenhope, West Yorkshire, UK
I don't have pro. You're rooted though I guess? Dalvik or ART?

Can use xposed + gravitybox in nova as a shortcut to set device to sleep. This allows the delay to work

Sent from my Nexus 5 using Tapatalk
Want to root/unroot? All important guides and info threads are contained within the "Sticky Roll-up" thread in General. Click the link below to get there!

**Sticky Roll-up: All Guides snd Info Threads linked here**



Philz Touch Recovery with passkey secure lock

I do NOT reply to support queries over PM.
 
Theberge43
Old
#5  
Senior Member - OP
Thanks Meter 85
Posts: 150
Join Date: Jul 2010
Location: Montreal
Quote:
Originally Posted by rootSU View Post
I don't have pro. You're rooted though I guess? Dalvik or ART?

Can use xposed + gravitybox in nova as a shortcut to set device to sleep. This allows the delay to work

Sent from my Nexus 5 using Tapatalk
Yes ! Thanks a lot !
Nexus 5 - 32 GB - White
>> +++ <<
Paranoid Android 4.6 & Franco Kernel Powered
>> +++ <<
Home Screen Inspiration | Submit your design | Follow me
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes