5,596,235 Members 35,989 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Shortcut Shutdown Screen

Tip us?
 
Theberge43
Old
#1  
Senior Member - OP
Thanks Meter 21
Posts: 117
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
>> +++ <<
Franco Kernel Powered
>> +++ <<
 
rootSU
Old
#2  
rootSU's Avatar
Senior Member
Thanks Meter 7405
Posts: 17,938
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
Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
 
Theberge43
Old
#3  
Senior Member - OP
Thanks Meter 21
Posts: 117
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
>> +++ <<
Franco Kernel Powered
>> +++ <<
 
rootSU
Old
#4  
rootSU's Avatar
Senior Member
Thanks Meter 7405
Posts: 17,938
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
Always read the OP's of a thread and the last 2 pages before asking questions, unless there has been an update - in which case, read the last 5 pages!

nexus 5 | SlimKat | ElementalX kernel | Philz Touch Recovery

I do NOT reply to support queries over PM.
 
Theberge43
Old
#5  
Senior Member - OP
Thanks Meter 21
Posts: 117
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
>> +++ <<
Franco Kernel Powered
>> +++ <<
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes