Profile Problems with Android 8.1 - Tasker Tips & Tricks

I recently picked up a pixel 2 and its been updated to android 8.1. I've noticed that my profiles that are triggered by wifi connection will not stay active. They do activate when the phone connects to the AP initially but then a few mins later the profile is not active despite still being wifi connected. This happens with any wifi access point. I've reinstalled, checked accessibility and admins settings...everything looks good.
Anyone else get this problem?

Not that particular one, I have three wifi profiles and two more that check for wifi connected and all of those work as designed.
I am having volume issues changing with night/day, earphone volume not working. I use a locale plugin to change brightness profiles based on sunrise/set that sometimes don't change on time.
I have three profiles for different earphones, one wired, two BT that change volumes with a linked profile for each that lowers volume when the song title / artist is read from Play Music, then goes back to normal during the song for that particular earphone. Finally I have notification, ringer, system, alarm volumes that changed based on sleep or awake triggered by Sleep as Android tracking. Biggest issue is having notification and ringer volumes at varying different levels since the are linked in the Settings, Sound menu.
I've tried G+ Tasker Community, but no complete solution. One suggestion was to make sure "Restore Settings" was not checked in the profile settings for each that helped on one sound profile but not others. I'm still on the quest.

Gator Brah said:
I recently picked up a pixel 2 and its been updated to android 8.1. I've noticed that my profiles that are triggered by wifi connection will not stay active. They do activate when the phone connects to the AP initially but then a few mins later the profile is not active despite still being wifi connected. This happens with any wifi access point. I've reinstalled, checked accessibility and admins settings...everything looks good.
Anyone else get this problem?
Click to expand...
Click to collapse
Have you checked if wifi is always one in standby/sleep mode? Maybe the update had reset this setting and the wifi connection get lost as soon as the Pixel goes into standby/sleep mode. Tasker will then execute the exit task and if you've set up a cool down timer for the profil, the start task will not start directly when you wake up your phone.

JasMan78 said:
Have you checked if wifi is always one in standby/sleep mode? Maybe the update had reset this setting and the wifi connection get lost as soon as the Pixel goes into standby/sleep mode. Tasker will then execute the exit task and if you've set up a cool down timer for the profil, the start task will not start directly when you wake up your phone.
Click to expand...
Click to collapse
An excellent suggestion! wifi sleep mode is no longer a user option in the 8.1 interface, however we still can set the wifi sleep mode via ADB which i went ahead and did. No love

Related

Need help with 2 issues

Moving from the Touch to the Kaiser I love the 3G performance and the built-in GPS however there are two MAJOR issues I have that did not exist on the Touch and I cannot understand why the Kaiser with double the memory suffers from this.
1- Erratic scrolling in IE even after the page has loaded ?
2- My other problem (and this is more serios) is that the device does not turn off after the 1 min settings I set in the Power settings. I do not set the backlight dimming settings. I just want to phone to off itself after 1 min. It does not and if I forget to turn it of it just drains the Batt.
Again, the Touch did not have either of these flaws.
Any help with the power issue would be great.
Thanks in advance
pchronos said:
Moving from the Touch to the Kaiser I love the 3G performance and the built-in GPS however there are two MAJOR issues I have that did not exist on the Touch and I cannot understand why the Kaiser with double the memory suffers from this.
1- Erratic scrolling in IE even after the page has loaded ?
2- My other problem (and this is more serios) is that the device does not turn off after the 1 min settings I set in the Power settings. I do not set the backlight dimming settings. I just want to phone to off itself after 1 min. It does not and if I forget to turn it of it just drains the Batt.
Again, the Touch did not have either of these flaws.
Any help with the power issue would be great.
Thanks in advance
Click to expand...
Click to collapse
There is a known issue that I and others have been reporting regarding scrolling in PIE. We have not yet identified a way to resolve this. However we have discovered that :
Opera Mini a java midlet based application works well and super fast. A great application for straightforward browsing. No frills but good viewing options and due to the way it works may reduce data charges for some and will certainly impress with its speed. (Freeware)
http://www.operamini.com/beta/
OR
Opera Mobile. Works well and fast, no scrolling issues and actually a pretty good full spec.browser. Not free but has a trial period to test it out. Iuse this and am very pleased with it.
http://www.opera.com/download/mobile/?man=Windows+Mobile+5.0+Pocket+PC&ver=8.65&heading=Windows%20Mobile%205/6%20PPC,%20Professional,%20Classic&img=/img/products/mobile/platform/865.gif&extra=
As for your switch off problem, that I think is just a settings issue, but I'd need to check.
Mike
Regarding turning off after 1 minute.
I suggest you go back into:
Start?Settings>system>Power icon>advanced tab
Uncheck turn off device after 1 minute, click OK.
May be best to perform a soft reset.
Now go back and recheck "turn off device" after 1 minute
Perform a test to see if the one minute turn off is now working, and report back here on success or otherwise.
Mike
mikechannon said:
Regarding turning off after 1 minute.
I suggest you go back into:
Start?Settings>system>Power icon>advanced tab
Uncheck turn off device after 1 minute, click OK.
May be best to perform a soft reset.
Now go back and recheck "turn off device" after 1 minute
Perform a test to see if the one minute turn off is now working, and report back here on success or otherwise.
Mike
Click to expand...
Click to collapse
Hi Mike,
Thanks for the feedback. I unchecked the power setting to turn off after 1 min, power cycled the phone and set it again. The phone does NOT power off.
I power cycled one more time and still i does not turn off.
Can you please verify this behavior ?
Nothing is checked in the backlight options and ONLY "Turn off device if not used for" 1 min is checked under "On battery power".
The phone never turns off on its own.
Thanks again,
pchronos said:
Hi Mike,
Thanks for the feedback. I unchecked the power setting to turn off after 1 min, power cycled the phone and set it again. The phone does NOT power off.
I power cycled one more time and still i does not turn off.
Can you please verify this behavior ?
Nothing is checked in the backlight options and ONLY "Turn off device if not used for" 1 min is checked under "On battery power".
The phone never turns off on its own.
Thanks again,
Click to expand...
Click to collapse
I tested this before making the above post. I tried different time settings and it powered off at the set time. So I can only think that either some application is keeping it "alive" ie. not "idle" so the time trigger never starts or this is something that will only be cured with a hard reset.
If you have killed all running applications and it still will not auto sleep then hard reset may be the only option. If you have full backup facilities this should be a painless operation, though if you reinstall the backup and the problem is caused by an installed application then the problem will return on backup installation.
Mike
The only app that is running ( that I can see ) is Activesync due to push email. This was the case with the Touch so I do not think it is Activesync that is keeping the phone from turning off.
Thanks anyway for your efforts...
Found the problem!
Well it looks like Activesync (DirectPush) is the problem.
If I kill ActiveSync the phone turns itself off at the established timeout. If ActiveSync is running (with DirectPush active) it does not turn off. Again, on the Touch this was not the case so it is not proper behavior.
Any ideas or reg settings to correct this?
Thanks.
pchronos said:
Well it looks like Activesync (DirectPush) is the problem.
If I kill ActiveSync the phone turns itself off at the established timeout. If ActiveSync is running (with DirectPush active) it does not turn off. Again, on the Touch this was not the case so it is not proper behavior.
Any ideas or reg settings to correct this?
Thanks.
Click to expand...
Click to collapse
There may be, but I at least don't know them. There are reg keys that tell the device to suspend but keep an application running (sometimes known as "unattended mode". However we know yours does suspend when AS is not running. I just wonder whether there are any "sync" settings within your push mail client that may be running a sync too frequently.
Another, but more remote possibility is that when AS is active it may also be servicing other apps, like weather apps, time sync etc - so perhaps just worth checking there are no other less obvious apps running. AS can also rather stupidly attempt to sync with the PC even if you are not connected to it. So perhaps double check any AS settings.
Mike
I played with the ActiveSync settings and the only way the phone turns off while AS is running is if I disable DirectPush. On manual sync or periodic sync the phone turns off at the proper timeout.
Any idea where DirectPush settings are ?
Thanks
I've this same problem NOW, but I've working over a month with activesync and pushemail active without this issue!!!!! (My configuration was also "as items arrive")
The only thing I can say is that today i suddently saw my exchange settings had been dissapeared without doing anything, then I reconfigured the exchange setting again, and from that moment my kaiser does not suspend if "as items arrive" is selected!
I have the same problem with the phone not switching off, though on mine it doesn't matter whether direct push is on or off, it still won't power down.
Edit: Now that's typical. As soon as I submitted the above and started playing with it, it started working...

Diamond Wifi problem

Hi im having a problem can someone tell me if this is right or not.
When i have wifi turned on conencted to some point and using msn, after a while of not touching the phone the phone goes to sleep mode automatically when i press the side button to get back to the screen menu wifi shows its turned off and msn was already dissconnected the moment my phone went to sleep mode.Is this nromal?If so is there a way of fixing it.Thanks
As my first time using windows mobile not sure if its right or not.
Wifi will not remain active once the phone enters standby mode. If you switch the phone on again, wifi should also automatically wake up, but needs to restore the connection to the wireless network from scratch.
I see thanks.
Is this different for bluetooth even when its in stayby mode it seem to work.
Thanks
That's correct. Bluetooth remains active in standby and therefore a major battery sucker.
I see thanks everyone. So pretty much impossible to have MSN on the whole time unless i set my phone so that it will not go to sleep mode. Hence msn beceoms a big battery sucker as wifi will be on for a long time?
Thanks
Is it really impossible to tell WM to leave Wifi switched on when my Diamond goes to sleep mode?
Has somebody a solution for this?
Yeah I have a similar problem with emails... I'm trying to get emails over wifi/wireless lan, auto send and rec every 15 minutes but the device enters standby before this time... Done a ping to the device and as soon as it enters sleep mode it kill the connection... I would think that if there is an active app (like MSN or EMail) that wants to download data it would reconnect to any setup wlans or stay connected when using a service like msn... Is there any reg hack for this..?
My next question is when the back light dimms (not enter stand by) is it possible to set up keylock? i.e. disable the touch screen/HW keys, then I could standby the device after 30-45 mins (see how the battery goes on that one..!)...
--
Edit: I did a bit of digging around the web found this tool called PocketToolman - http://freewareppc.com/utilities/pockettoolman.shtml - Looks like it has an option to enable wifi in standby mode Seems to work anyone else want to give it a test to see if it works... I'll see if I can find a reg key for this tomorrow, unless anyone knows of one already? Looks like the standby kills the CPU so WiFi packets can be processed etc..? But Win Mobile 6 Pro has an "unattended mode", that should allow wifi to work and emails to s&r and MSN to stay connected... For eg this app calls unattended mode to keep wifi active... http://www.pda-ppc.com/download/communication/content/WMWifiRouter.html
EDIT 2:
I've been able to find the following keys that should work with the wifi...
make sure the 98C5250D-C29A-4985-AE5F-AFE5367E5006 class mataches wifi adapter
Disabled Enabled
HKLM\System\CurrentControlSet\Control\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
HKLM\System\CurrentControlSet\Control\Power\State\Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
HKLM\System\CurrentControlSet\Control\Power\State\Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
Now I'm assuming that HKLM\System\CurrentControlSet\Control\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default will keep the wifi connected in standby mode... I'm going to test, can others also test to confirm?
DWORD Dec values have states 0-4, 0 being full power 4 being off... Just to test it, use vaulue of 1... Need a soft reset... It may be worth changing the vaules to 2 or 3 to see if WiFi still remains connected but what the battery drain is like...
Found another app that may also work - http://freewareppc.com/communication/wifiprofiles.shtml
Creds to http://209.85.175.104/search?q=cach...wifi+unattended+mode&hl=en&ct=clnk&cd=7&gl=au for key locations
Someone else test these and let me know what results you get/what power settings you use...
Given how quickly my phone battery drops with WiFi enabled I doubt you'd get more than 3-4 hours out of it if WiFi was enabled in standby mode.
When you want to use MSN over wifi set the following reg keys to dec value of 2:
HKLM\System\CurrentControlSet\Control\Power\State\ Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
HKLM\System\CurrentControlSet\Control\Power\State\ Resuming\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
HKLM\System\CurrentControlSet\Control\Power\State\ Unattended\{98C5250D-C29A-4985-AE5F-AFE5367E5006}\Default
Power state of 3 doesnt seem to work..? Ideas?
Did some testing using each value as 2 (low power)... For me it drained about 35% of the battery in 4 hours... So you should get a full day (10hrs) out of it before you get to 10% or so...
Be worth making an app that allows you to toggle this...
I know this doesn't really apply to MSN (which needs always-on wifi), but for emails at least maybe there could be a way for the phone to activate wifi instead of the data connection when it wakes up every N minutes to check for new email. And then maybe after a timeout period it could activate the data connection (i.e. if there is no trusted wireless network available) to get the emails. Anyone heard of such a thing?
Also, why does wifi drain the battery so quickly in standby mode but the data connection does not?
Bumping this. Does anyone have any ideas? I might cross-post this in the Touch Pro forum if no one has any thoughts here.
This may help:
http://www.1800pocketpc.com/tag/dontsleep-wifi
Honestly no expert on this, however if you install Advanced Config, under Menu/More Settings/Connections there's an option "Enable Wi-Fi on standby mode" I guess if you tick that you mught have your solution...
I personally haven't tried it.
Yep, just checked it myself and it seems to be do the trick...!
Obviously what sucks there is that you'll need to manually turn your WiFi on and off or otherwise you miht get some serious battery drain...

[Q] Does wifi turn off when phone is locked?

Hi,
When the phone is locked ( pressing down the button on the top of the phone) does the wifi still run in the background?
I'm thinking it is, because soon as I turn it back on the wifi icon is still displayed, meaning that it hasn't turned off.
Is that correct, and is there a way to have it automatically turn off ( like say the iphones) when the phone is locked?.
Thanks
You can set the WiFi sleep policy under wireless settings (advanced), if that helps
There isn't an option to turn it off when in sleep mode, just the following
after 15 mins
never when plugged in
never
Ok, then try settings profiles from the market, you can set that up to do exactly what you are wanting
I have that installed but I am having trouble getting it to turn off wifi when in standby mode.Would you know what to do?
Thanks
Set a new rule up with a condition set for 'screen status' off, and action set for WiFi off. Do another rule for screen status on, WiFi on. I think you may need to buy the full version to allow more than one profile.
There is no 'wifi off' option when i click on add action.
There's only
activate profile
run application
notify
pause
plugin defined.
Make a profile with WiFi set to off, then add an action to activate that profile. I'm doing this from memory so can't be exact with instructions, you need to experiment a bit, it is definately possible to do what you need.
Ok, I think I done it now.Thanks a lot for all your help.I appreciate it.

[Q] Wifi/3G not connected whilst phone is in 'sleep'

Okay. I noticed today that when pressed the power button to wake my phone from sleep the wifi or 3g (depending on where i was and what I was connected to, ie home or away) icon was not showing and thus indicating that it wasn't connected. Hmm, I thought it was odd, maybe it was a display error. But I then noticed that my emails and gmails all came through a few seconds after I unlocked the phone (and the connection icon appeared) and that they had all been sent whilst the phone was asleep. So, it seems to me that the phone is disconnecting from any data source when it goes into sleep mode. Now, I am right in thinking that the whole point of push notifications or setting your email to sync every 5 minutes is that the phone will remain connected even whilst asleep, and then wake up (briefly even) when it picks up an email?
I had no power saver on, no smart sync, wifi set to never sleep. Is this normal? It's pretty important that I get my emails as and when they sent to me. Any advice would be great. I am wondering if it's a bug, and whether I need to take to the phone back to exchange for another one?
Info: not rooted, stock rom software no. 1.28.61.7, kernal 3.4.10-gddcfb8c [email protected] #1 SMP PREEMPT, carrier EE (UK).
Cheers
you're sure power saver in the top menu wasn't on? because that's what it does, turns off wifi and data when the screen is off for an expended period.
maybe cycle it on and off a couple of times and see if the problem persists...
Sent from my HTC One using xda premium
No, isn't normal.
So, can you upgrade to the latest firmware and, maybe, do a full wipe?
Did you install some app for battery?
And check that your power saver isn't on...
Check under power, setting that sleep mode is off. That on by default on mine. It turns data off after extended screen of time and doesn't require the power save to be activated.
Sent from my HTC One
Guich said:
No, isn't normal.
So, can you upgrade to the latest firmware and, maybe, do a full wipe?
Did you install some app for battery?
And check that your power saver isn't on...
Click to expand...
Click to collapse
Hmm, no additional battery apps, power saving toggled and definitely off (I purposefully turned it off because of it's data management policy), and sleep mode set to off.
So, I'm right in thinking that you/others actually get notifications then? and wifi/3g is working fine? Looks like it's a return and hope that the next one works (I only got the phone 7days ago). My software update says no updates available, though this is likely to be EE fault. If I can get the shop to exchange I might just do that. Ho hum, another 3 hours setting the thing up again then...
It seems to be a Wifi switching itself off problem...
padsmcnulty said:
Hmm, no additional battery apps, power saving toggled and definitely off (I purposefully turned it off because of it's data management policy), and sleep mode set to off.
So, I'm right in thinking that you/others actually get notifications then? and wifi/3g is working fine? Looks like it's a return and hope that the next one works (I only got the phone 7days ago). My software update says no updates available, though this is likely to be EE fault. If I can get the shop to exchange I might just do that. Ho hum, another 3 hours setting the thing up again then...
Click to expand...
Click to collapse
So, a quick update in case anyone else is having this problem.
I reset the phone to see if it would make a difference and it kind of has. Now I have noticed that if I am using mobile data it's fine. Things are pushed, notifications come through. But if I use Wifi it's a different matter.
it seems that with Wifi on and connected then it works for around 15 minutes when the phone is sleeping (I have done a few tests). After this it seems to shut wifi down and hence no notifications. So it would seem to me that although Power Saving is set to OFF, and Sleep mode (ie no data in sleep) is set to OFF, the phone is still disconnecting from WIfi regardless of the settings. Which is a bit frustrating as I don't want to be connected to the mobile network all the time, especially at home, but still want to know if I receive emails.
Anyone else experienced this Wifi switching itself off issue (and then switching itself on as soon as you manually wake the phone?)? I have to decide whether to return the phone for a replacement or not. If this is a wide ranging issue it might not be worth it - though I'd have thought a simply thing, like keeping wifi on at all times wouldn't be hard to make sure it worked.
there are a few apps available on the play store such as "keep wifi alive" which might do the trick.
Sent from my HTC One using xda premium
bigshape said:
there are a few apps available on the play store such as "keep wifi alive" which might do the trick.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Okay, now I feel a bit of Doughnut! I think I've found out what was causing this. So, even though I had Power Saver OFF, Smartsync OFF, Sleep Mode (disconnect data whilst sleep) OFF, I hadn't had a proper look in the Wifi settings, and under Advanced I found:
Advanced>Keep Wifi on during Sleep. This hadn't been set to Always and was set to 'Only when plugged in'. So, changed to 'Always' and now it seems to work (and that would explain why I got emails through the night when charging).
So, apart from feeling a little red-faced for not exploring every single menu available, I am happy it (seems) sorted. If anyone has wifi dropping whilst phone is sleeping it seems there are four steps:
SmartSync = OFF [in Mail app]
Power Saver = OFF [in status bar and Power Settings]
Sleep Mode = OFF [in Power Settings]
Keep Wifi on during Sleep = Always [in Wifi>Advanced Settings]
Hopefully this'll help anyone else who has been having a bit of prolonged blond moment with the phone settings. {retreats to corner}
padsmcnulty said:
Okay, now I feel a bit of Doughnut! I think I've found out what was causing this. So, even though I had Power Saver OFF, Smartsync OFF, Sleep Mode (disconnect data whilst sleep) OFF, I hadn't had a proper look in the Wifi settings, and under Advanced I found:
Advanced>Keep Wifi on during Sleep. This hadn't been set to Always and was set to 'Only when plugged in'. So, changed to 'Always' and now it seems to work (and that would explain why I got emails through the night when charging).
So, apart from feeling a little red-faced for not exploring every single menu available, I am happy it (seems) sorted. If anyone has wifi dropping whilst phone is sleeping it seems there are four steps:
SmartSync = OFF [in Mail app]
Power Saver = OFF [in status bar and Power Settings]
Sleep Mode = OFF [in Power Settings]
Keep Wifi on during Sleep = Always [in Wifi>Advanced Settings]
Hopefully this'll help anyone else who has been having a bit of prolonged blond moment with the phone settings. {retreats to corner}
Click to expand...
Click to collapse
I have similar problem. Even when I have everything OFF as you suggest, I get disconnected a second after screen goes off. When I turn phone back on, I can see that wifi is on, but all aps are off and wont connect again. I have to turn wifi off and on and applications like skype go again online. I have this problem at home and also at work on corporate network. I have even tried apps that should keep wifi on, but with no change.
Interesting is that after the phone goes to sleep mode, I can see that speed of wifi is changing on phone. The phone actualy stays connected to wifi, but doesn't send or receive data.
The router at home is TP-Link 1043ND with DD-WRT (flashed to last firmware to see if it fixes this problem). I'm not sure what brand and type are corporate APs, but could be some cisco or similar.
Any advice what else I could try?

Marshmallow location settings?

On my Verizon Galaxy S6 edge, after updating to marshmallow I later got a notification to be able to change different settings based on where I am. I experimented with it and set my phone to automatically turn wifi off, put phone on vibrate, and go into power saving mode when I get to work. I also set it up to turn the ring on and exit power saving mode when I get home. I forgot to set wifi to turn on and have tried unsuccessfully to find the settings for this feature. It's getting annoying and I have no idea how to turn it off. I'm a fairly advanced user of android and have had several rooted phones with custom ROMs in the past, but I'm stumped at this. I've looked through both phone and Google settings with no luck. I also can't find any info on the Web when I search. Has anyone else had this notification pop up and does anyone know where I can go back to adjust the settings?
Widgets?
This same issue has been driving me mad ever since I upgraded to Marshmallow. I was presented with a seemingly useful feature to enable (or disable) features based upon my location - I chose to disable Bluetooth when at home, as I never use it there, right? Wrong! Turns out I use it more than I thought and it's incredibly frustrating when it keeps disabling itself at will!
Anyway, after much annoyance and weeks of trawling through every conceivable phone setting and Google option I finally stumbled upon the solution...in widgets!
Touch and hold any blank area on your home screen, select widgets and look for 'my places'. In there you will be able to find every single option that you wish to undo

Categories

Resources