Using Tasker along with Juice Defender - Android Q&A, Help & Troubleshooting

Hello,
I have Juice Defender for managing battery life and it toggles of Wifi and bluetooth when screen is off to save battery. I created a Tasker profile than checks if the phone is connected to a trusted wifi and if so to disable the pin protection on the lock screen. However, since Juice defender turns off wifi Tasker frequently turns on the pin protection on the lock screen and only once I enter the pin and enter the main screen does Juice Defender turn on wifi defeating tasker's purpose. Does anyone know as to how battery does toggling wifi save? Juice Defender usually reports upto 70-100% savings which is a lot. Is there a Tasker profile that will recognize that it is near a wifi rather than connected to it when the screen is switched on and disable the lock screen?

Related

App to turn off data from lock screen

Is there something I can do to turn off data while my phone is in sleep mode then when I turn it on the data connection is restored or maybe a lock screen widget where I can manually toggle data on/off.
I tried Juice Defender but it seemed to drain my battery by 11% in 30 minutes! Since I uninstalled it the battery seems to be better without it.
I use Data enabler
Try "Green Power" from the market. Top results & very light!
Widetlocker + Widgetsoid?

[Q] Sleep/awake

Hey, at times, I have noticed that when I go to check my battery status, the "awake" part shows as a completely solid bar. That means there are lots of applications running in the background zapping my battery power. I have tried using task killers to stop those applications, but it still shows my phone being awake all the time, even though I have had my screen off for most of it. I think I read somewhere that when the phone has the screen off for a while, it would put itself in idle mode, shutting down other applications to save battery, that that never happens to me. I press the power button and the screen turns off, but that is the only battery saving I am doing with that. Is there any way I can put the phone into a sleep like state when I want? I do not want to turn my phone off all the time as I obviously need to use it, but I just do not want that much battery loss when I have the screen off. Thanks in advance for your help!
install betterbatterystats and bad ass battery monitor and find the app that sucks battery. disable or uninstall that app.

[Q] Wifi wakeup delay with Power Saver

I noticed that with Power Saver turned on, when I woke up my phone, the wifi was off and it took about a full 5 seconds for it to turn on.
That is a long lag time, isn't it?
With Power Saver turned off, the wifi stays on. I just turned it off, so I don't know how this will affect my battery usage.
But my battery usage has been reasonably good so far, I usually go two days between charges. I've got Battery Widget Reborn installed, set up so that it automatically puts phone in airplane mode overnight. I've disabled the bloatware, twitter, etc.
How is wifi acting for other folks, if you have Power Saver turned on? How long does it take for your wifi to come back on?
Thx, Vicki

[TASKER] Help with proximity sensor conditionals and wifi profiles

Hi
Tasker begginer here.
I'm having some minor issues with Tasker that I was hoping you could help me sort out:
I use Greenify and I was having a little problem with autohibernation feature in my unrooted Nexus 5: The screen has to turn on in order to automatically greenify something. This is a problem when the phone is in my pocket or facing down on the table because it conflicts with Gravity Screen (this app turns the screen off -and keeps it off- when the proximity sensor is active and the device is in a particular orientation), so when the phone is in my pocket or laying face down on a surface, Greenify can't finish its job because Gravity Screen will quickly turn the screen off.
In light of this, I disabled the autohibernation feature in Greenify and made a rather simple group of profiles to control it from Tasker. The main profile, the one that calls the "Hibernate now" shortcut from Greenify, is triggered when the screen turns off and has and If condition. This is the logic of that if:
- If
Proximity sensor: Not active
AND
Screen off
- Then
Run task
I do this to make sure that the hibernate action is not triggered while the screen is on or while the proximity sensor is active. Since Tasker doesn't have a variable for monitoring the proximity sensor, I made a profile that sets a variable (%PROX) to 1 when it's covered and 0 when its uncovered. So the if conditional uses the value of %PROX.
The problem is that if I turn the screen on WHILE the proximity sensor is active, Tasker skips the if statement (as it should), but if I turn the screen off with the proximity sensor uncovered and then cover it, it'll run the task. It's as if the profile that sets the variable %PROX to 1 does not work while the screen is off. Is this normal behaviour? How can I make this work better?
I managed to sort this out by deactivating Gravity Screen at the beggining of the task and reactivating it at the end (with a little waiting to give Greeenify time to finish), but I still want to keep my screen off while the phone is in my pocket.
My other doubt is regarding a group of profiles (that I got from here) that turn Wi-Fi on whenever I'm near two locations using the cell tower and Wifi near state in Tasker. I made some minor adjustments to these profiles, but they're still basically the same. The problem I'm having is that, most of the times, these profiles won't do anything if the screen is off. For example, I have it set to recognize cell towers near my house (and of course my Wifi connects automatically). Let's say I get home and I haven't used my phone in a while (screen off), I'd expect to see my Wi-Fi on and connected some time after I arrived, but this is not the case. It is not until I turn the screen on AND unlock the phone that I see the profiles doing their thing. I see wifi connecting, flash alerts and so on. This probably have something to do with the fact that, for some reason, my phone will not connect to a network while the screen is off. Same example, I get home with wifi on and the screen off, and I'll only see the wifi connecting after I turn the screen on (this happens with or without Tasker and with any wifi) regardless of how long I've been home.
Could it be that the near wifi profile cannot toggle wifi or can't recognize any network while the screen is off due to this bug I have with Wifi connections in my phone (Which I haven't been able to sort out)?
Thanks in advance and sorry for the long post!
Help with wifi profile
Hi, i saw your post in here and i think i can help, do you still have that problem or you managed to fix it? I think I might be able to help you

Prevent Doze maintenance window wakeup

I'd like my tablet to use as little battery as possible when the screen is off. I already set it up to goto airplane mode when the screen turns off, restricted background data use, and have grennify set for aggressive doze.
However, when I examine battery usage, I see that it is only in "deep doze" for about 50% of the time and there are wakeup events which I assume are the doze "maintenance windows".
I have xposed and root.
Is there an app or tweak I can use to force it to goto "deep" doze when I turn the screen off and prevent any maintenance windows while the screen is off?
I realize I can just turn off the tablet, but I'm using it for a car nav device and don't wait to wait for it to boot up and settle down every time.

Categories

Resources