Non-Root Hibernating Methods - Greenify

I am leaving my Mom's phone root free and I saw:
NEW: Auto-hibernation now works in non-root mode, (need to be enabled in experimental features setting, Android 4.1+ required). If you have secure key-guard enabled, try "Hibernate and Lock Screen" shortcut or "Pull up" gesture on Home soft-key.
So instead of the above method, couldn't this just be automated via Llamma or Tasker without root? Say, when Screen = Off, run shortcut Hibernate and Lock screen?
I am posting instead of just doing it because I don't have her phone yet and wanted to see if the above is in theory (or actuality) possible.

Related

How to quickly change user account?

I've setup two user accounts on my tablet, one for me and one for my daughter. The only way I've found to switch accounts is to lock the tablet. However I have it setup not to lock until it has been idle for 30 minutes. This means there seems to be no way to switch users but to leave the tablet alone for said time.
Is there no quicker way to lock the tablet or switch users (widget?)? The quick settings pull-down, menu has no such option.
Sent with Tapatalk that ignores my privacy and tracks my activity
what about power button.. does it lock it
xinfinityoO said:
what about power button.. does it lock it
Click to expand...
Click to collapse
No, I have it set to turn off the screen only (and want to keep it this way). So did Sony remove the change user quick setting?
Sent with Tapatalk that ignores my privacy and tracks my activity
This whole 30-min-timeout thing is not clever.
You should better configure it (e.g. with Tasker or Unlock with WiFi app) so that, when you're at home connected with your own WiFi, there is only the unsecure lockscreen (where you just have to swipe to unlock), but when unconnected from home WiFi, the secure lockscreen appears. In either case, you then have access to the lockscreen features like user switching.

[Q] Lollipop Smartlock on-body detection with Hibernate + Lock screen shortcut

Google has rolled out the new smartlock option which features on-body detection. However, i have tried it and think it only works with the power button on the device (I am on Nexus 5 Android 5.0.1 stock and unrooted) and does not work with Greenify's hibernate now + lock screen shortcut. In other words, once I click Greenify's shortcut, the screen is locked and the on-body detection will be overridden. Can Greenify make the shortcut compatible with the on-body detection ? Thanks
Elias_grodin said:
Google has rolled out the new smartlock option which features on-body detection. However, i have tried it and think it only works with the power button on the device (I am on Nexus 5 Android 5.0.1 stock and unrooted) and does not work with Greenify's hibernate now + lock screen shortcut. In other words, once I click Greenify's shortcut, the screen is locked and the on-body detection will be overridden. Can Greenify make the shortcut compatible with the on-body detection ? Thanks
Click to expand...
Click to collapse
Sorry, it's technically limited by Android system. That's why you need Xposed framework and “Boost Mode" activated in Greenify to get it compatible with "Smart Lock".

[MOD][Xposed][4.0.3+] SwipeUpToSleep

Background
I am using HTC-E8. The power button is on the top of device which is difficult to turn screen off by using its power button. So I write this mod to let me turn of screen by just swipe up from home button
Function
This mod allow you swipe up from home button to turn off your screen.
Since swipe up from home button normally will trigger Google Now. This mod default will disable this gesture for trigger Google Now. However, you can have an option to enable Google Now by long press the home button.
Notes:
1. You must reboot your device to make your preference take effect.
2. I only test it on my HTC-E8 device with HTC Sense 6.0
Changes History:
2015-04-27 v0.83
1. Fix package name issues while download from Xposed repository
2. Add a function to completely disable "Google Now"
3. Add function on turning the threshold for triggering "Google Now"
Contributors
looklookson
Xposed Package Name: looklookson.swipeuptosleep
Great work!!
Will test this module for sure~
If Dev can consider on including this swipe up gesture to run other actions or shortcuts will be even more fantastic!
Thanks for the great module!
It works but the threshold is too short, very easy to accidentally tutn off screen. Therrs no swiping up animation like woth google now but i just press on the home button a little longer than usual then the screen turns off. Please implement the now-like popup and ability to adjust threshold
"Package name is incorrect" on Xposed repository (aka can't download from xposed app)
I would also like to see the ability to change the threshold before screen turns off, and adding some kind of visual, whether it's Google's own one or a custom one, would be nice.
For me it works by swiping up on the home, menu, app drawer and back buttons on my LG G3. I like it that way since it's easier to toggle the screen off.
Nice module I believe the same thing can be achieved with greenify which lets you default "hibernate and lock" to the swipe up shortcut. You don't need xposed for that.
Diaphragma said:
Nice module I believe the same thing can be achieved with greenify which lets you default "hibernate and lock" to the swipe up shortcut. You don't need xposed for that.
Click to expand...
Click to collapse
Well I dislike that greenify always locks the phone and I only want my screen turned off. With greenify it always prompts me to enter my unlock pattern and ignores Googles smart lock and for this is an annoyance.
But with this module it works like a charm.
the_Calen said:
Well I dislike that greenify always locks the phone and I only want my screen turned off. With greenify it always prompts me to enter my unlock pattern and ignores Googles smart lock and for this is an annoyance.
But with this module it works like a charm.
Click to expand...
Click to collapse
Alright I did not know greenify disables smart unlock.
It disables only Googles smart lock but not the app smart unlock ^^
Can this be done by swiping up the 'Recents' button instead of Home button?? *Idea!
the_Calen said:
It disables only Googles smart lock but not the app smart unlock ^^
Click to expand...
Click to collapse
Are you sure? Just tested it and smart lock does still work.
Great! It's always good to have more options.
htr5 said:
Are you sure? Just tested it and smart lock does still work.
Click to expand...
Click to collapse
Yes, at least on paranoid android rom, I have an unlock pattern and trusted faces enabled and it always asks for the pattern when I use the greenify hibernate and screen lock function
Holy. Xposed installer tells me that the package sign is not correct. You should check iy.
the_Calen said:
Yes, at least on paranoid android rom, I have an unlock pattern and trusted faces enabled and it always asks for the pattern when I use the greenify hibernate and screen lock function
Click to expand...
Click to collapse
Okay well, you can't really complain to the dev here if your using a custom ROM.
htr5 said:
Okay well, you can't really complain to the dev here if your using a custom ROM.
Click to expand...
Click to collapse
I don't complain about the module, which works perfectly, it was about greenify and it's similar function.
Is this possible using hardware navigation keys? I guess it's not, since it just replaces the Google now shortcut..
PixelPatrik said:
Is this possible using hardware navigation keys? I guess it's not, since it just replaces the Google now shortcut..
Click to expand...
Click to collapse
It does work in hardware navigation keys.
And your equipment
If you're trying this package post the type of device it worked on, OS, custom ROM etc... so others will know..
HELP OTHERS WHILE OTHERS HELP YOU
Good stuff! Although swipe [down] to sleep & swipe up to wake, just make more sense to me as swipe gestures.

[Q} Tasker profile to enable hibernate when hitting the power button?

Hi,
As the title says, I have tried to make a Tasker profile that activates the hibernation action from the awesome Greenify. Haven't been able to create something working. Granted, I suck at Tasker, I mainly play around with it for fun.
I am aware of the swipe up nav-bar hibernation option, but I would like to have it fully automated. Does anyone know of any Tasker profile that could achieve this effect?
Thank you in advance!
TiVON said:
Hi,
As the title says, I have tried to make a Tasker profile that activates the hibernation action from the awesome Greenify. Haven't been able to create something working. Granted, I suck at Tasker, I mainly play around with it for fun.
I am aware of the swipe up nav-bar hibernation option, but I would like to have it fully automated. Does anyone know of any Tasker profile that could achieve this effect?
Thank you in advance!
Click to expand...
Click to collapse
You don't need Tasker for this.
The simplest way to activate Hibernation and lock the screen, which is what will happen when you set it up as described by you, is to create a shortcut for this from Greenify itself and put on the home screen. By using this, you will also save your power button.
The swipe up nav bar action involves two steps but what I described above involves merely clicking the shortcut.
TiVON said:
Hi,
As the title says, I have tried to make a Tasker profile that activates the hibernation action from the awesome Greenify. Haven't been able to create something working. Granted, I suck at Tasker, I mainly play around with it for fun.
I am aware of the swipe up nav-bar hibernation option, but I would like to have it fully automated. Does anyone know of any Tasker profile that could achieve this effect?
Thank you in advance!
Click to expand...
Click to collapse
You can create a Tasker profile which will hibernate all greenified apps when the display is off :
New event -> Display -> Display Off (choose the priority you want)
And then create a new task :
Plugin -> Greenify -> Hibernate now, and Configuration I choose "All greenified apps"
And that's it, it works like a charm

Can't auto hibernate on MIUI without root?

On MIUI, "Power Button instantly lock" does not apply but there's another setting that does the same thing. It's in Settings > Lock Screen & Password > Set Screen Lock > Require Password. Because of this, Greening when running on non root mode, auto hibernation doesn't want to work even though the MIUI equivalent to "Power Button instantly lock" is not set to on. Is there anyway to bypass this?

Categories

Resources