• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Power Button Alternative

zetroc

Android Enthusiast
I'm hoping someone can help...

I got a RhinoShield CrashGuard bumber case, and I love it. It add minimal bulk, based on reviews it should provide awesome protection for falls, and it allows the phone to be mostly naked so I still get to feel the phone's back textures, which I enjoy. Downside, the buttons aren't as easy to press.

I'm trying to find a way to mimic the power button, or turn off the screen (as opposed to letting it time out) through software. I looked at some apps, but it seems that most use up more resources than they are worth. I do have Tasker, but I have to be frank, I'm not very knowledgeable on how to use it. I considered the system lock option, but then to unlock I can't use the fingerprint reader, I have to type in my PIN.

I'm looking for an option that will be quick and easy for when I'm driving and I want to turn off the display (or put the phone to sleep) without having to fiddle much with it. Thanks!
 
Use Gravity Screen to replace your power button, it can turn on the phone when you hover your hand over the phone's top where the proximity sensor is located.

To turn your phone off, use the Screen Off app, it will add a button to your home screen allowing you to turn the phone off.

I've used these two apps for years on several phones, none of them needs rooting.
 
I did it differently.

I use a macro to sense the phone being "shaken" and the macro then locks the screen.
I don't like the other methods suggested.

MacroDroid - Device Automation - Android Apps on Google Play

for the Trigger, just select "shake"
for the Action, select "Lock Screen"

I am using a folder type case for my phone, and it hides the power button.
The app you said above is good, but it's not free unless you are willing to see ads. My method uses two free apps that only do what they are supposed to do.
 
The app you said above is good, but it's not free unless you are willing to see ads. My method uses two free apps that only do what they are supposed to do.

We have a different attitude and approach to helping out developers it seems.

To me, if I use an app, and I really enjoy that app, I pay the developer for the Premium version.
As I have about 18 or so macros working for me, the trifling bit charged for MacroDroid is a pittance and I have not looked back.

Look at the ads? once MacroDroid is programmed to do what you want, you never have to look at it again, so the free version with 5 macros should be more than sufficient for what you want.
 
We have a different attitude and approach to helping out developers it seems.

To me, if I use an app, and I really enjoy that app, I pay the developer for the Premium version.
As I have about 18 or so macros working for me, the trifling bit charged for MacroDroid is a pittance and I have not looked back.

Look at the ads? once MacroDroid is programmed to do what you want, you never have to look at it again, so the free version with 5 macros should be more than sufficient for what you want.
How can you pay for an app if the developer doesn't want you to pay for it? It's kind of common apps, if you don't make it free, others will do.

I also have a couple of paid apps, those apps are unique and they don't have competitors.
 
Team, I appreciate the discussion, but don't fight! Lol :)

I don't mind paying for an app if it's a well built app that will use minimal resources. I guess I don't need to care so much about resources and battery but I've seen that some apps take up a lot in the background.

Because the phone is on a air vent mount, shaking it is not a good approach - sorry, I should have provided that detail. Thus, an app or widget I can place on the screen would be ideal. I'll take a look at the suggestions above.

If anyone has other methods, I'm all ears!
 
sigh, just trying to help.... MacroDroid is free for the 1st five macros.

then you have to divy up for more macros.
and I don't see any adverts on mine.
 
Unfortunately, without root I don't think you're going to find an app which can turn off the screen without requiring you to enter your PIN. As you've found, apps which use the Device Administrator function to lock the screen override Smart Lock and Nexus Imprint, requiring full user interaction to unlock the device the next time.

You could try using something like Tasker (or MacroDroid) to decrease the screen timeout period to the minimum (I think 7 seconds) at the press of a button, and then have another Task/Macro to set the timeout back to your desired interval when the screen turns on.
 
You don't have to root your phone to turn it on or off using an app. Those apps were initially developed to replace a broken power button, so if you don't want to physically abuse that button, those apps are what you need.
 
You don't have to root your phone to turn it on or off using an app.
No, root is not required - but as @zetroc mentioned in the first post of the thread those apps use the Device Administrator functionality to lock the device - which prevents you from subsequently unlocking the device with your fingerprint or Smart Lock. The only way around this (that I know of, at least) requires root.

I tested (and confirmed) this with Gravity Screen and a few of the Screen Off apps that came up in a search result. If you know of one which works without using the Device Administrator hook I'd love to know what it is.
 
No, root is not required - but as @zetroc mentioned in the first post of the thread those apps use the Device Administrator functionality to lock the device - which prevents you from subsequently unlocking the device with your fingerprint or Smart Lock. The only way around this (that I know of, at least) requires root.

I tested (and confirmed) this with Gravity Screen and a few of the Screen Off apps that came up in a search result. If you know of one which works without using the Device Administrator hook I'd love to know what it is.

Did you try Gravity Screen's smart lock support to see if you can bypass the PIN unlock ?
 
I have not. I don't need an solution to bypass the power button all the time - I'm ok pressing it. My issue is that because of the case I have, when it's loaded up on my car mount, it's not as easy to turn the screen off. I wanted something that would require very little effort as I want to minimize the amount of time I am focused on my phone while driving. Thus, an app or widget I could put on my home screen to just quickly tap to turn it off would be great! Kind of how the iPhone has that floating home button feature. It's fine. I've opted to simply let it time out. 30 seconds won't kill me.
 
I've opted to simply let it time out. 30 seconds won't kill me.
That's the approach I've adopted as well - though I just started testing an app which is able to use the fingerprint sensor to put the phone to sleep. It kind of takes the Tasker approach I mentioned earlier; it blanks the screen, sets the timeout to 5 seconds, resets the timeout once the screen goes off, and thus allows you to still unlock the device with fingerprint or Smart Lock.

I'll share a link once that feature is ready for public consumption. :)
 
knock on, knock off is the best for what your doing(LG user here waiting for my Pixel to arrive someday). And from what I've been reading we are getting that feature soon. How soon, I don't know. But I keep reading they are adding the Knock feature to these phones.(and i hope i'm right)

If you never used it before you will love. And if you have used in past you'll know exactly what i mean.

I know this doesn't help you now. But help for the future.
 
knock on, knock off is the best for what your doing(LG user here waiting for my Pixel to arrive someday). And from what I've been reading we are getting that feature soon. How soon, I don't know. But I keep reading they are adding the Knock feature to these phones.(and i hope i'm right)

If you never used it before you will love. And if you have used in past you'll know exactly what i mean.

I know this doesn't help you now. But help for the future.
Do you mean the double-tap wake-up feature?
 
I have used that feature on my M8 and G4, it's convenient when you don't have a smart case with cover. But I've heard that this feature requires the screen's digitizer to be powered all the time, which makes the digitizer more prone to failure.
 
Back
Top Bottom