location based task doesn't switch on - Tasker Tips & Tricks

I've created a do not disturb profile that should start when I get to work. Managed to get it to work yesterday. However today it has not activated. I thought first my OnePlus 3T had deactivated tasker but opening the app up hasn't kickstarted it. I have switched off battery optimisation as recommended. Running OOS 9.0.3. Any ideas why it doesn't work?
Edit: restarted the phone and the GPS dot now appears on the screen but it doesn't trigger the event. I've set the radius to 30m

Related

[APP] Wireless Power Chief needs some advanced testing!

Hi guys! We have had reports of the app having issues controlling the wifi scanner and background data schedules on some devices.
We really need testers with root (but its not necessary if you just want to test the wifi scanner).
You can get some info on the app below. But what we really need is some testing! You can download it for free and then try using the wifi scanner and intervals, as well as the background data schedules.
If you find your device has issues, click "Write to us" to send logs. Please make sure you describe which issues you have - scanner or background data!
Thanks very much!
-----------------------------------------------------------------------------
Wireless Power Chief
Wireless Chief is an application designed to control the wifi and data radios in your device, as well as many related functions like background data and autosync.
It can be used to save power or minimize data usage, and works either by reading the screen state, the battery state or on a completely custom schedule.
All data and sync options require root access. There is no other may to manipulate the radios.
Features:
- Turn features on or off depending on screen state
- Disable wifi if no known network is available
- Change wifi scan intervals and scan attempts
- Schedule autosync and background data
- Force autosync on wifi only
- Disable wireless radio features according to battery level
- Watched active download state, disabling the service until a download completes
If you have any issues, please leave comments in this thread or better yet use the "Write to us" dialog in the application's settings.
Versions:
Locked: All Screen state options are free
Unlocked: Full functionality, including Battery and Scheduled profiles
Market link:
https://market.android.com/details?id=fahrbot.apps.wirechief
Screens:
sounds neat .. will give it a shot ...
Did you have a chance to test as described above?
I've purchased the app and have been testing it for a about a week with root access enabled.
Currently using only the screen profiles since working with multiple profiles enabled seems to overwrite my screen profile settings. It would be nice to have some more options like for example only using the scheduler settings when the screen is OFF, this way I could use both.
I'm currently having a lot of problems with the app though which is making it not as useful as it could be.
Biggest problem would probably be that the app loses focus after a while. It just stops working all together until I reopen the app, then it works fine again for a while before I have to repeat the procedure. Similar apps use a notification in the status bar to keep the app alive, maybe this could fix it?
Another big problem I've come across is some weird behavior with syncing. First I had my "Screen Off" profile set to "Sync Disabled" and "Screen On" "Sync Enabled". This would result in my phone starting to sync as soon as my screen would get turned on. I noticed similar behavior with setting it to "scheduled". So now I just disabled sync on all profiles because this is costing my almost as much battery as the app is saving.
I've also noticed some issues when I spent a long time configuring the settings. For example yesterday I was testing some different configurations. I then got to playing with the "Activation times" for enabling or disabling wifi/data and when I set it to 30 seconds it would still use the previously set 0 seconds value. I then cleared app data from Android application settings, set the value to 30 seconds again and it would work. This is a minor issue because I will probably just set these once and not fiddle around with it anymore.
I will continue testing for now but if the first 2 problems remain I will have to fall back to using Easy Battery Saver app. I would love to keep using the Chief though, I really like the concept.
I'm using a SGS2 running on CheckRom RevoHD6 (GB2.3.6), tried different kernels with similar results (stock, neak, redpill). Also wiped my phone and did a reinstall of CheckRom but also this didn't help.
If you need more details on my testing let me know.
Hello,
I bought this one hoping it would do what I wish... But now I am not quite sure.
I just want an application that toggles on/keeps it for a while/toggles off autosync in given periods. Yes, this program can do it but I am unable to prevent it to switch my Wifi on.
Wifi checkboxes are unchecked, only scheduled autosync state is set as I wish. But it keeps turning Wifi on while I am at home, I can't override it off manually.
Hi, I've just downloaded this, I'll try it out as much as I can tomorrow. Hopefully if this conserves battery well enough I'll want to keep this phone more
Sent from my Desire HD using xda app-developers app
What happened...Any testing still goin on?
MyCanSeeYou said:
Hi, I've just downloaded this, I'll try it out as much as I can tomorrow. Hopefully if this conserves battery well enough I'll want to keep this phone more
Sent from my Desire HD using xda app-developers app
Click to expand...
Click to collapse
Just saw this app...looks like it may be making a comeback with some new developers. I just DL it and am in the process of testing it out... will post some results soon...

One Marshmallow user's impressions

http://tomhorsley.com/rants/doze-mode.html
I'm definitely reverting back to 5.1.1 when I get the time and energy to fool with it .
sounds like that was written by someone who hasn't even tried marshmallow yet. I have yet to experience any missed notifications, alarms or any issues relating to time in any way. If some apps are being affected by this then its a sign to the developer to fix their ****ty code because all of my apps relating to time at all have been working just fine and alot of them are still the same version they were on lollipop. Doze has improved my batter significantly. It sounds like this article was probably written by a developer who cant code properly and instead of improving his skills he'd rather complain and convince everyone to stay away from updates because he is unwilling to evolve. Even the article looks like it was written in paint...
I had indeed a wrong time bug some days ago...really strange and worrying, a reboot fixed it. First time ever since Android Froyo that I experienced something like that.
That author seems to think that Marshmallow's Doze is a horrible thing that breaks all apps that rely on background services, namely alarms and notifications, and couldn't possibly be fixed in 10 years (rather than a few months) due to Google's horrible mistake (rather than devs not fixing their code).
Frankly, it sounds like a bunch of hyperbole.
Sent from my ALCATEL ONE TOUCH Fierce using Tapatalk
He's wrong about how doze works. And if he's in the camp that doesn't understand it nor wants to rewrite his app. Then yeh he's the idiot group that Google is targeting and was writing garbage code anyway.
lol complete nonsense, my alarm has worked everyday since i flashed M, even on dev previews...the only issues i have with M are really the "slow to connect wifi when using toggles" and the weird wifi consumption on battery stats
Another annoying issue on M is that if your leave your phone longer in standby mode (display off), wifi turns off and you stop recieving notifications until you turn your phone on again. This is with wifi set to "never turn off", etc.
Kustaa said:
I had indeed a wrong time bug some days ago...really strange and worrying, a reboot fixed it. First time ever since Android Froyo that I experienced something like that.
Click to expand...
Click to collapse
This actually happened with me a couple of days back, I was travelling, so I put my phone connected to a power bank and went for a nap, woke up to see phone switched off, switching it on throws me a 2nd September date set on my device. Had to manually set the date as no network was available to automatically set the date from servers.
Ubichinon said:
Another annoying issue on M is that if your leave your phone longer in standby mode (display off), wifi turns off and you stop recieving notifications until you turn your phone on again. This is with wifi set to "never turn off", etc.
Click to expand...
Click to collapse
This I had been noticing these days just because of WhatsApp Web. When in standby, WhatsApp Web shows phone not connected error. Just waking the phone reconnects to the WiFi, but happens every 30-40mins.
I have a feeling that folks who never see these problems have their phones charging at night and doze mode doesn't happen when you are charging. I have no convenient way to charge my phone near my bed, so it is not charging and totally idle all night. Email and messaging completely stops. Only the stock alarm clock works. My medication reminder stops working. It might as well be turned off completely. Plus when you do wake up and turn on the phone, all the pent up alerts come through and scare the hell out of you. I hate doze mode.
Settings -> Battery -> ... (menu)-> Battery Optimization --> All apps --> Select whatsapp, etc... and select not optimized.
Test again.
You're welcome.
I already disabled optimization in the battery settings for all the apps that weren't working. They still don't work after sitting overnight. It looks as if that setting has absolutely no effect.
Claghorn said:
I already disabled optimization in the battery settings for all the apps that weren't working. They still don't work after sitting overnight. It looks as if that setting has absolutely no effect.
Click to expand...
Click to collapse
This is a real problem. I tested this on a Nexus 5. The device seems to enter Doze after about 1 hour and this is what happens.
What does work in Doze mode:
- Telephone: call can be heard.
- Alarm: alarm can be heard
What does NOT work in Doze mode:
- Receiving mail notifications directly: it seems to wait for the maintenance window. There is no "ping" from my GMail. No lock screen notification until I picked it up. I turned off battery optimalization as suggested. Like Claghorn says, it doesn't make a difference. When I was sleeping, the time difference between sending the mail and getting a notification can be hours. That is not acceptable: I want to determine whether or not I get a message. I got no control over Doze, except plugging it in. Also, when it sits on the desk at work I need to pick it up or turn the screen on every so often, because I don't know if it "dozed" off again.
Works partially:
- Notification light: It works once mail passes through the maintenance window. It does NOT work before the maintenance window.
I tested all of this with a unrooted, updated Nexus 5. Topic Starter and Claghorn have good points. Why can't I turn this off? I don't want this. I want notification on time, with ping, right now. If I don't I will turn the volume off or set priorities. They could have told me this behavior in a mail or during the update. Important mail from work, family comes in hours late. Not happy with this at all.
Tried all sorts of things, nothing seems to help. And no, battery optimalization is either not enough or has nothing to do with it. I love the Nexus 5. Marshmallow seems to be much smoother than Lollipop. I was happy with the update until I discovered this. Now, I am fustrated. I expect the phone to inform me when I need to be informed. Most days I don't need to save 10% of power anyway. For the first time I want to either root the phone and go back to Lollipop or even Kitkat. I don't know what else can be done. Fustrated.
Dennis de Swart said:
This is a real problem. I tested this on a Nexus 5. The device seems to enter Doze after about 1 hour and this is what happens.
What does work in Doze mode:
- Telephone: call can be heard.
- Alarm: alarm can be heard
What does NOT work in Doze mode:
- Receiving mail notifications directly: it seems to wait for the maintenance window. There is no "ping" from my GMail. No lock screen notification until I picked it up. I turned off battery optimalization as suggested. Like Claghorn says, it doesn't make a difference. When I was sleeping, the time difference between sending the mail and getting a notification can be hours. That is not acceptable: I want to determine whether or not I get a message. I got no control over Doze, except plugging it in. Also, when it sits on the desk at work I need to pick it up or turn the screen on every so often, because I don't know if it "dozed" off again.
Works partially:
- Notification light: It works once mail passes through the maintenance window. It does NOT work before the maintenance window.
I tested all of this with a unrooted, updated Nexus 5. Topic Starter and Claghorn have good points. Why can't I turn this off? I don't want this. I want notification on time, with ping, right now. If I don't I will turn the volume off or set priorities. They could have told me this behavior in a mail or during the update. Important mail from work, family comes in hours late. Not happy with this at all.
Tried all sorts of things, nothing seems to help. And no, battery optimalization is either not enough or has nothing to do with it. I love the Nexus 5. Marshmallow seems to be much smoother than Lollipop. I was happy with the update until I discovered this. Now, I am fustrated. I expect the phone to inform me when I need to be informed. Most days I don't need to save 10% of power anyway. For the first time I want to either root the phone and go back to Lollipop or even Kitkat. I don't know what else can be done. Fustrated.
Click to expand...
Click to collapse
A quick suggestion -
You may use Doze Mode Editor and edit the script so that your phone never enters Doze mode.
That way you can enjoy Marshmallow without Doze.
Sent from my Nexus 5
Achilles. said:
A quick suggestion -
You may use Doze Mode Editor and edit the script so that your phone never enters Doze mode.
That way you can enjoy Marshmallow without Doze.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, I will look into that. I'd like to keep Mashmallow as a whole if possible. I think it is a good update in general.
OK, I've looked at the doze mode editor thread and I find that the descriptions of the parameters I can set to be totally confusing, however, the flowchart pointed at in that thread seems to indicate that if I set the "inactive_to" value to something like 24 hours, then all the other doze mode nonsense is unlikely to ever happen (because I'll probably turn on my phone at least once every 24 hours). Does that seem like the best way to essentially turn off doze mode?
Claghorn said:
OK, I've looked at the doze mode editor thread and I find that the descriptions of the parameters I can set to be totally confusing, however, the flowchart pointed at in that thread seems to indicate that if I set the "inactive_to" value to something like 24 hours, then all the other doze mode nonsense is unlikely to ever happen (because I'll probably turn on my phone at least once every 24 hours). Does that seem like the best way to essentially turn off doze mode?
Click to expand...
Click to collapse
I will look into this over the weekend. I find it odd that there isn't simply a switch to turn Doze off, which is a pity. It seems to me it's part of saving energy in general. A switch under Battery would do nicely. It should not be this complicated. That said, I think the UI of Marshmallow is silky smooth, much better than Lollipop. Marshmallow in general in good. It' just this that annoys me.
i'm baffled by google's aversion to end user config. This kind of b.s. is how I found xda and drove me to become a chronic flashaholic. All or nothin I guess.
ElwOOd_CbGp said:
i'm baffled by google's aversion to end user config. This kind of b.s. is how I found xda and drove me to become a chronic flashaholic. All or nothin I guess.
Click to expand...
Click to collapse
I get the feeling Google assumes the customer is a developer. A few examples:
- The Nexus 5 does have a notification light: I didn't know until I read 5 reviews and even then I couldn't find any documentation on it. Needed an external app to get it working.
- Battery indicator: I like to have small numbers indicating battery charge: it could be done by hacking KitKat and Lollipop I think. Then at Marshmallow finally there's a (hidden) switch.
- I don't recall having any user guide in the Nexus 5 package. Not that I needed one. But some landing page doing a walkthrough would have been nice. Although there are some walkthroughs in every app
Not fatal flaws, but you wonder why does it need to be that difficult. It scares people away. Not me. I handed the Nexus 5 to some friends on numerous occasions and most found it too "empty". As for me, I want all developer stuff on. So it suprised me, there is no Doze fine tuning. Again, overall I give the Nexus a 8 or 9 out of 10. It fits me. In general I like it. So it's just constructive criticism. The empty layout and raw speed of the Nexus 5 works good in development of apps afterall.
Last night I ran an adb command (generated by the doze mode editor app) to set inactive_to to 24 hours (86400000 milliseconds). I then set an alarm for the next morning in the "Alarm Clock Plus" app (which completely ceased to function after Marshmallow showed up). This morning, the alarm actually went off on time, but the big "Dismiss" button it draws on the screen was totally non-functional. I had to hit the power button to get control (which then caused a popup saying alarm clock plus was non-responsive). I have no idea what caused all that behavior, but at least the alarm actually went off.
Also, with doze mode essentially disabled (in theory anyway), the power dropped from 100% in the evening all the way down to 97% in the morning.
With the exception to facebook and game type apps, Google's apps are the only ones I find that excessively waste resourxes and need to be forced to sleep. If they would get off the constant location polling, media scanning, and logging or at least tone it down a bit some they wouldnt need to implement thier half baked versions of solutions that they hijacked from xda devs

Note SM-N920C No notifications until I wake screen. Tried Heartbeat fix. Doesn't fix!

This has been happening randomly for a few months. I can go days when notifications are fine and they come through on my phone immediately. Then, for no reason, there are days when no notification show at all until I wake my phone.
They're clearly being blocked and my phone only attempts to pull them in when I wake it. Like a doze setting
It all started around the time Marshmallow 6.01 landed on the phone.
All battery saving optimisation settings are off.
All notifications are set to on.
I have tried EVERY app that I can find to set the Google heartbeat interval to a lower time. None solve the issue.
Factory reset doesn't fix it.
I have (always on) fiber internet so idle timeout settings on the router cannot be to blame for killing the Google heartbeat check.
I have tried it on mobile data only and it is the same
Other people online have had the same issues on other Samsung devices but I can't find anyone suffering from this on the Note 5.
Could it be an issue (somehow) with my Google account, since all notifications have to be pushed through this?
Worried that if I get a new phone I'll still have the same issue.
Any help would be appreciated.
are u using greenify??? what android u have 6.0.1 ??? did u try on smart manager / battery / to not optimize app u want get notification????
N920c/64g/cc n7 port v3/ arise sound/ doulby /xposed greenify+powernap+amplify
Not got Greenify.
Not enabled any power saving at all.
All apps are set to notify
Either the phone is blocking notifications randomly, or my Google account is.

Moto G6 notifications during sleep

Got my moto g6 amazon exclusive model a few days ago. I started to notice while the phone was just sitting on my desk and gone to sleep / doze? my notifications were not coming through (around 5-10 mins after screen off). Any notifications within that time would be fine. After that if I had any new notifications, I would get them all in one go after I turned the screen on or moved my phone with moto display. (I turned off the motion sensor feature)
Just trying to get an understanding of whats going on. I have played around with some settings and currently seem to have got it back to normal by setting all my important apps (gmail/whatsapp/twitter...) to not be battery optimised. I also found some notification setting elsewhere that gave the default launcher permissions. I used nova launcher so I gave that permission too just in case, but I think the main fix was battery optimisation.
Just find it odd that I have never had to go into battery optimisation before on my previous phones (nexus 4, wileyfox swift) and notifications have come through fine after long periods of time in sleep mode.
Anyone able to suggest something else that may be causing this, or I could try. I wouldnt have noticed this problem if it wasnt for being at my PC and seeing new emails/fb messages coming in and not getting notification on my phone after the phone had gone into sleep.
-------------
As of typing this I recieved an email that also did not notify on my phone. Only when I picked up the phone I got it instantly. Battery optimisation for apps may not have worked.
Hi,
Could you solve this issue? If so, how?
Thanks.
I had the same issue a few weeks ago after playing around and disabling apps/services I didn't think i needed . I had to re-enable the "Moto" app, go into "Moto Display" and enable "Peek Dsiplay". That fixed notifications coming through the locked screen for me.

Scheduled do not disturb

If I set a schedule, do not disturb turns on, but it does not turn off in the morning, I've only seen it work once.
What about everyone else?
It works fore me as expected. No problems.
Sent from my XQ-AT51 using Tapatalk
Same with me. It often doesn't turn off in the morning.
How can they mess up software between phones lol.
I've had it with Asus on the rog 2. Things don't work for me and perfect for some others, but not all.
It works normally for me. It might related to an application.
Envoyé de mon XQ-AT51 en utilisant Tapatalk
I'd have no idea what app might be doing that.
I've also had issues with scheduled DND not working - turns on normally but doesn't turn off at the scheduled time
If you are like me and migrated from another Android phone to Sony XPeria 1 II and restored your backup onto the new phone, then you probably have issues with the "Do Not Disturb" you had in the old phone. I was going bonkers trying to figure out why it didn't work. Changing the schedule profile didn't fix it either. What finally fixed it was deleting the schedule altogether and then creating a new schedule. Then it worked as intended.
Also, ticking "Alarm can override" option messes up the schedule as well.
I have the same problem even when I set 2 schedules hoping the 2nd one will work as a backup... I don't think I imported the schedule from old phone settings. Anyway i will delete and create a brand new schedule. Fingers crossed.
prindacerk said:
If you are like me and migrated from another Android phone to Sony XPeria 1 II and restored your backup onto the new phone, then you probably have issues with the "Do Not Disturb" you had in the old phone. I was going bonkers trying to figure out why it didn't work. Changing the schedule profile didn't fix it either. What finally fixed it was deleting the schedule altogether and then creating a new schedule. Then it worked as intended.
Also, ticking "Alarm can override" option messes up the schedule as well.
Click to expand...
Click to collapse
The function works properly, it's just that the indicator stays on. Maybe it's by design, to show that a schedule is active, regardless if at that moment notifications are enabled or not. My do not disturb schedule ends at 10 am, at that moment I get all notifications of the night before, but the indicator is still on.
Riona69 said:
I have the same problem even when I set 2 schedules hoping the 2nd one will work as a backup... I don't think I imported the schedule from old phone settings. Anyway i will delete and create a brand new schedule. Fingers crossed.
Click to expand...
Click to collapse
Unfortunately didn't work for me most of the time as phone stayed in DND mode (even though alarm will sound) and frustrating since I missed a lot of calls since I don't get any ring sound or notifications sound.
Sho-Bud said:
The function works properly, it's just that the indicator stays on. Maybe it's by design, to show that a schedule is active, regardless if at that moment notifications are enabled or not. My do not disturb schedule ends at 10 am, at that moment I get all notifications of the night before, but the indicator is still on.
Click to expand...
Click to collapse
As stated above, the phone is on silent mode. Notifications are there but no sound. I have to turn off DND manually and it is frustrating!
Just to report in: I've definitely had issues with DND. I thought it may have been a magisk module or something that I've done, but I think it's clear that it's something going on with the ROM itself. The only things I migrated from my old phone was text messages. Everything else was new data. Unless every random person in this thread happens to be doing the same weird thing that prevents this, the ROM itself has issues.
A user (cmahey) from Reddit mentioned that in the main DND menu there's a 'Default duration' option, just set it to 'Ask Every Time' and problem solved. I have tested for 2 days and seems to be working!
Riona69 said:
Unfortunately didn't work for me most of the time as phone stayed in DND mode (even though alarm will sound) and frustrating since I missed a lot of calls since I don't get any ring sound or notifications sound.
As stated above, the phone is on silent mode. Notifications are there but no sound. I have to turn off DND manually and it is frustrating!
Click to expand...
Click to collapse
You are right, I always have my phone on silent, but I saw the notifications coming through, so I assumed that it worked properly.
I did some reading, many brands seem to have this problem. And I did some testing and found a working solution (at least on my device): If you go to Settings, Sound, Do not Disturb, go to the schedule that you set and go to it's properties. there you will see a setting which translated from Dutch should be something like The clock can ignore the endtime. It's the setting under the Endtime. Disable this setting. Now it should work properly (I tested only one day now, so no guarantees)
Riona69 said:
A user (cmahey) from Reddit mentioned that in the main DND menu there's a 'Default duration' option, just set it to 'Ask Every Time' and problem solved. I have tested for 2 days and seems to be working!
Click to expand...
Click to collapse
Will try this!
Well that didn't work......guess I'll just stick to manually turning DND off. At least it turns on at night time, which is the main thing.
After I installed the latest firmware update (194) it is working correctly since 2 days.
Sho-Bud said:
After I installed the latest firmware update (194) it is working correctly since 2 days.
Click to expand...
Click to collapse
Bummer, on day 3 it didn't turn off automatically

Categories

Resources