Problem with tasker application - General Questions and Answers

Hey guys,
I recently downloaded the tasker application. Currently I am trying to get the brightness to 100% when it is receiving power (plugged in), and 25% brightness when it is removed. I tried enabling the check box which says "Immediate Effect." However, I still have to turn the screen on and off for it to work. I also tried using automateit, same problem, I must turn off and on the display. I did make a crude workaround by having tasker turn off and on the display so the brightness would adjust, but I would rather have it adjust without turnong on/off the screen. Are there any apps that could be interfering with it? I am using an unrooted ICS Droid Razr.
If there are any other posts which could help with this problem please link? (I couldn't find any)
Thanks

Related

[Q]How to Keep Proximity Sensor on?

Mods, please move if this isn't the right section (I contemplated the development section but opted against it).
I'll try to be short while providing enough background to get the more knowledgeable people here the info they need to help me with this problem. Essentially, i have a 32gb P6210 that I'm going to flush mount in my dash to use for in car entertainment. With no access to the hardware buttons I did some research on what would realistically meet my needs (especially getting the screen back on without the power button).
I found Tap Tap App on the market and the widget allows me to turn the screen off and waving my hand in front of the proximity sensor four times turns the screen back on. The issue is that, randomly (has ranged from 10 minutes to 17 hours), the proximity sensor is turned off when the screen is off, making the app inconsistent, even with "never turn off sensor" checked within the app. I'm in talks with the developer and he mentioned that the proximity sensor turning off with the screen off is dependent on the underlying rules built into individual ROMs. I'm on the stock ROM.
I need to know if anyone has info on how to keep the proximity sensor on indefinitely with the screen off so Tap Tap App has the input needed to continuing working as designed. I dont care about battery drain at all, the tab will have constant power. I'm rooted with clockwork mod recovery so if anyone has a system file I can edit, a zip i can flash, a tasker profile you know will work, etc, please post it up. Thanks in advance!
Kinda lonely in here...anyways, as an observation update, the app i was using, Tap Tap App, worked far less reliably using the Power button widget vs having the button in the notification area.
Conversely, I found a very similar app called "Soft Power" and have been using it the past 3 days with no issues. It has no widget option and only has the option for turning off via notification area. I'm thinking that always running the notification area by default means a background service is running to keep it there. I have not yet been able to not wake it up by waving my hand over the prox sensor. So for anybody with similar needs to mine in terms of not wanting or being able to access the power button, this has been a good alternative thus far.
I tried it on my phone. It does not work at all.
LG Optimus 2X 2.3.4
It looks like a promising application.
Perhaps it works on ICS ?

Any way to disable soft key lights on One S?

I have moved to the HTC One S from the Galaxy S2. One of the most annoying things of the S2 was the soft key lights when using the phone in the dark. I solved this by using the "Screen Filter" app from the Market. I have also seen that Samsung has put the option to disable the light on those buttons in the Settings menu.
Now, on the HTC One S, the problem is back. Screen Filter does not kill the light on the buttons (it says that this won't work on all phones...) and I can not find a setting to do this.
Is there a way to kill the lights on those buttons?
Am I the only one that finds this annoying? I find the phone impossible to use while in bed or in a dark lit environment...
jadajada said:
Am I the only one that finds this annoying? I find the phone impossible to use while in bed or in a dark lit environment...
Click to expand...
Click to collapse
yes
I'll be getting the ONE S tomorrow, but on my SGSII you can go into settings > display > touch key light duration. I'm not sure if the one s has it but hopefully that helps.
I know about the S2, I have one myself. I am not sure if this is a "samsung feature" or a stock ICS feature. If it is an ICS feature, then it should be possible to dim or turn off those lights on the ONE S also in one way or another? The best solution would be to switch them off permanently.
I have no use for those lights since I know where the three buttons are.
And the fact that they light up, full blast, and stay lit, when I watch movies via Mirage (Air Video client) in bed is just annoying at best.
jadajada said:
I know about the S2, I have one myself. I am not sure if this is a "samsung feature" or a stock ICS feature. If it is an ICS feature, then it should be possible to dim or turn off those lights on the ONE S also in one way or another? The best solution would be to switch them off permanently.
I have no use for those lights since I know where the three buttons are.
And the fact that they light up, full blast, and stay lit, when I watch movies via Mirage (Air Video client) in bed is just annoying at best.
Click to expand...
Click to collapse
Did anyone ever find a solution to this problem. I use my phone as an alarm clock, and now leave the display turned off as those pesky little lights on the buttons blaze away all night
What alarm clock do you use that the lights stay on? That doesnt make any sense. I use my phone as an alarm. Screen shuts off as normal and when the alert comes in it turns on like normal.
Sent from my HTC one sex
elracing21 said:
What alarm clock do you use that the lights stay on? That doesnt make any sense. I use my phone as an alarm. Screen shuts off as normal and when the alert comes in it turns on like normal.
Sent from my HTC one sex
Click to expand...
Click to collapse
Sorry, I'm maybe not explained it clearly. I use Gentle Alarm that has a night time display of the time. My old phone the button back lights (4) used to turn off. With the HOS they stay on and there seems to be no option to turn them off. There is only 3 of them of now on the HOS but they are quite bright. If the light is bright enough they turn off during the day but at night they blaze away regardless. I currently just turn the screen off and Gentle Alarm still works of course but with no time display. Not a big issue as only useful if you happen to wake in the night and wonder what time it was. I only ask because I wonder if I've missed an option somewhere. Screen Filter has the option to turn them off but does not work with the HOS.
I understand now. I didn't know people leave their displays on for alarm clock use. As far as I know there is no way to completely disable the capacitive buttons. Sorry bud.
Sent from my HTC one sex
You can turn off the button lights in LeeDroid's ROM. It's in the tweaks settings.
You could also manually set the brightness of the display just bright enough that the phone disables the softkey lights.
Edit: nvm. It only works while using auto brightness.
Sent from my HTC VLE_U using XDA
i would also like to know if anyone finds a fix i was watching a movie on my phone last night to keep it quiet and them lights satyed on all the time i also looked for the settings like they had on the sgs2 but no dice
I wrote a tasker task that will disable the lights on the capacitative buttons. You can use it to automatically disable the lights when in whichever app your want or set it up to have a toggle. I use both.
The task does require root. And Tasker, obviously.
If anyone else is interested I can export it and post it.
jayelbird said:
I wrote a tasker task that will disable the lights on the capacitative buttons. You can use it to automatically disable the lights when in whichever app your want or set it up to have a toggle. I use both.
The task does require root. And Tasker, obviously.
If anyone else is interested I can export it and post it.
Click to expand...
Click to collapse
I'm in
Sent from my Ville using xda premium
Main Task
Example Toggle Task
To use: ensure that you have root. If you have not already granted Tasker root access before, you will have to when using this task. Import at least the main task (called button light) into Tasker. To use it, either create your own task to reference it, or import the toggle task.
Using the toggle task: Just run the task (for example, create a shortcut to the task on your homepage), and select if you want the task on, off or on system default.
Using your own task: In your task, use the Perform Task action. Var1 should be either On, Off, or System. (For example, create a profile for MX Player, Enter action is Perform Task with var1 Off, and Exit Task is Perform Task with var2 system. This task can be downloaded here for you to edit from.)
All files are also attached.
Click Thanks if it works for you.
You can go to sys/class/leds/button-backlight/ then open the "brightness" file in a text editor and change "255" to "0" then save.
In essence, that is what the Tasker task does, but if you just change the value of that file, then Sense will just restore it as soon as it detects that the light values have changed. I couldn't get it to stick without root. The Tasker task also changes the permissions for that file, thus preventing Sense from changing it until you unlock the file again.
Perfect
Thanks jayelbird, your brilliant. The Tasker do the job very nice.
OT: can you make a task wake up volume?
The most that Tasker can do right now is detect if there was a volume change and wake the phone, although I can et you a profile for that if you want it.
Button remapping might be a better avenue to take. Try changing the codes for the button remapping.
Try changing the codes for the button remapping
Thanks.How can i change the code for the button remapping?

[Q] Power saving through Tasker

I consider our Tablet to be different than a phone, in the sense that when we turn off the screen, we dont need all the background functions still running. Currently I see TF101 deep sleep battery drain caused by many different functions running in the backend...for example the location services api.
I was thinking of creating a Tasker script that turns off as many different things as possible a few minutes after the screen is turned off.....And turns them back on when the device is unlocked.
I didn't want to spend time reinventing the wheel if this has already been done....
Anyone already try this? Results?
thanks.
I decided I was over-thinking it...and went with tasker scripts to
a) Auto Turn on Airplane mode when the screen goes off
b) Auto Turn off Airplane mode when the device is unlocked.
(This involved using the "Secure Settings" plugin app to allow Airplane mode via tasker on 4.2 JB)
So far the results have been good. i don't see those map api's being called during deep sleep.

[Q] Z3 Dual D6633 + Lollipop: from heaven to Hell

Sony xperia Z3 Dual D6633 Android 5.0.2 Build 23.1.1.E.0.1
Hi there,
Upgraded my Z3 to lollipop last week and, despite the fact that the upgrade itself was flawless, I think I went from a device that used to work like a charm to one full of annoyances.
On day #1, noticed the batt drain skyrocket. 3h after disconnecting it, it was at 68%, half way through the morning. WTF? was my first thought. On a typical day on kitkat, I was able to end the day at 40% at least.
The second thing I´ve noticed was the phone app. It starts giving me errors, saying that the "network could not be reached" when I try to dial a number. If I insist for 4, 5 more times, it crashes. Dialing is only possible again if I reset the phone.
The third thing is the lock screen. It seems that lollipop has a drop down menu that makes it possible to enable/disable lots of things, like communications and even setting the phone in airplane mode. Imho that´s a huge liability / security risk and it appears that there is no way around that.
Still about the lock screen, it seems to have a bug: if you have any activesync account setup, not notifications will show up, no matter how you configure it (to show all or hide sensitive content).
So, I had only one thing to do, after reading forums etc... factory reseting it.
Surprise! All problems are still there.
Does any1 have any tips on those?
Thanks in advance.
There will be a widget on one of the screens which keeps refreshing itself and I found that to be the battery killer on my 6603.
Did you use any specific app to pinpoint the culprit?
1. It is possible that the battery levels are calibrating and will be imprecise for a while after the update, using the device normally for a couple of days will fix it, or at least this is what I observed in many phones I owned.
2. This is very weird and I can't help you with. If not even factory reset did help you may have some corrupted data on one of your contacts maybe? Try to make a thread about this issue on the Sony forum.
3. I noticed that as well, but even on pervious versions you could turn off the phone so I don't think it changes anything. Make sure to disable the multi user options that would allowanyone to add a new user from the lock screen.
4. Another weird thing, I use exchange accounts on my phone and I don't have any problem on mine. See point 2.
Under
settings>sound and notifications>when device is locked
Set to hide sensitive notification content or don't show notification content at all.
This should fix lock screen displaying email notifications from your exchange account.
Also, unlock phone, pull down notifications, pull down again to reveal quick settings, hit the edit button (pencil) and remove icons but clicking and holding and drawing them to the top. Unfortunately this removes them even when phone is unlocked but of your worried about unauthorised toggling of things on off its the best you can do I think.
As for battery drain, check the battery usage in
Settings>power management
Make sure stamina mode is on, toggle it off then on to make sure.
Select battery usage and check to see if any apps are using more than they should. Make sure brightness is set low but enable adaptive brightness under display settings.
ozzy lion said:
Under
settings>sound and notifications>when device is locked
Set to hide sensitive notification content or don't show notification content at all.
This should fix lock screen displaying email notifications from your exchange account.
Also, unlock phone, pull down notifications, pull down again to reveal quick settings, hit the edit button (pencil) and remove icons but clicking and holding and drawing them to the top. Unfortunately this removes them even when phone is unlocked but of your worried about unauthorised toggling of things on off its the best you can do I think.
As for battery drain, check the battery usage in
Settings>power management
Make sure stamina mode is on, toggle it off then on to make sure.
Select battery usage and check to see if any apps are using more than they should. Make sure brightness is set low but enable adaptive brightness under display settings.
Click to expand...
Click to collapse
That's not a smartphone anymore, with all functions shut down and brightness low.
This phone has the best screen, use it at least 50% brightness.
I have no issues with the brightness down. It bumps up nicely in brighter conditions and will even max out in daylight. If I ever need it brighter then it's easy to boost temporarily. It's a small price to pay for nearly 24 hours of battery with 5 hours screen on time.
I never mentioned shutting down functions. The only thing I mentioned removing was the toggles that concerned the op on the quick settings. Removing mobile data and aeroplane mode from quick settings hardly cripples the device, I never use these anyway.
I don't think it very useful that there's not more customisation available here such as a complete set of separate lockscreen settings. But if all you can do is comprise then what else can you suggest?
I don't think unlocking the bootloader and installing a custom ROM is something the op wants to do.
ozzy lion said:
I have no issues with the brightness down. It bumps up nicely in brighter conditions and will even max out in daylight. If I ever need it brighter then it's easy to boost temporarily. It's a small price to pay for nearly 24 hours of battery with 5 hours screen on time.
I never mentioned shutting down functions. The only thing I mentioned removing was the toggles that concerned the op on the quick settings. Removing mobile data and aeroplane mode from quick settings hardly cripples the device, I never use these anyway.
I don't think it very useful that there's not more customisation available here such as a complete set of separate lockscreen settings. But if all you can do is comprise then what else can you suggest?
I don't think unlocking the bootloader and installing a custom ROM is something the op wants to do.
Click to expand...
Click to collapse
You said stamina.
Stamina means already some functions off.
Update:
1. Batt drain
Remains without an explanation. My daily use profile is basically the same as before the update. 3PM and I am at 28%, with stamina on. I can´t recall a day, running kitkat, that I would hit the charger at night with 28% of batt remaining (and I still have 4h to go). It was always on 40% ish. GSAM is reporting that 47% of the batt drain is caused by apps and, from that, 30% is represented by android core apps + android system + kernel. I might be wrong, but I think it is related to reindexing, contact + agenda sync etc and it will probably get lower eventually (I hope!)
2. Phone App giving errors
I think I have isolated the problem. It seems to be caused by TrueCaller.
3. Lock screen
Regarding the drop down menu, It is clear now that what I think is a problem is, in fact, by design and there is no way around it without rooting. But regarding the notifications, I just removed both activesync accounts and I started getting notifications in the lock screen again. So, my guess is that there is a policy of some sort that is being interpreted by the phone as it should hide all notifications from the lock screen.
In fact, there are lots of things that got blocked / disabled because of those policies. Here is a list of things that were disabled and now appear to be working again, after the removal of the activesync accounts:
. notifications are showing again in the lock screen;
. smart lock;
. screen lock options (none, swipe, pattern);
note: I thought that I would be able to enable services in Accessibility, like LastPass or App Advisor by Norton, but it still does not work (I try to enable any of them, but pressing "ok" on the warning dialog does nothing and the only option working is "cancel").
Thinking about resetting it again...
Hi, if problems are persistant you can always downgrad software at KitKat by using FlashTool and wait Lollipop 5.1 (5.1 will probably solve many problems).
StealthNet said:
Update:
1. Batt drain
Remains without an explanation. My daily use profile is basically the same as before the update. 3PM and I am at 28%, with stamina on. I can´t recall a day, running kitkat, that I would hit the charger at night with 28% of batt remaining (and I still have 4h to go). It was always on 40% ish. GSAM is reporting that 47% of the batt drain is caused by apps and, from that, 30% is represented by android core apps + android system + kernel. I might be wrong, but I think it is related to reindexing, contact + agenda sync etc and it will probably get lower eventually (I hope!)
2. Phone App giving errors
I think I have isolated the problem. It seems to be caused by TrueCaller.
3. Lock screen
Regarding the drop down menu, It is clear now that what I think is a problem is, in fact, by design and there is no way around it without rooting. But regarding the notifications, I just removed both activesync accounts and I started getting notifications in the lock screen again. So, my guess is that there is a policy of some sort that is being interpreted by the phone as it should hide all notifications from the lock screen.
In fact, there are lots of things that got blocked / disabled because of those policies. Here is a list of things that were disabled and now appear to be working again, after the removal of the activesync accounts:
. notifications are showing again in the lock screen;
. smart lock;
. screen lock options (none, swipe, pattern);
note: I thought that I would be able to enable services in Accessibility, like LastPass or App Advisor by Norton, but it still does not work (I try to enable any of them, but pressing "ok" on the warning dialog does nothing and the only option working is "cancel").
Thinking about resetting it again...
Click to expand...
Click to collapse
A new firmware version has dropped for the Z3 which I think fixes your issues with notifications.
I received it OTA yesterday, I'm running the Balkans customisation.
Thank you for the tip! I hope it does! Will keep it posted here just for the reference. I am starting to feel other "symptoms" as well, like bluetooth instability (you pair a device and it stops working, have to pair again).
.
Just hit another weird thing.
I am not being able to create a new vpn connection. I am trying to use the PureVPN and IPVanish client software, but when I try to setup the conection, I receive a disclaimer, saying that my traffic might be monitored, with a "CANCEL" and "OK" options. The OK doesn´t work, only "CANCEL".
My device is encrypted and I have also noticed that I am not able to decrypt it.
Also, If I go to Accessibility and try to enable a service, the same thing happens: a disclaimer appears, saying that the service might observe my actions, with a "CANCEL" and "OK" options. The OK doesn´t work, only "CANCEL".
Any ideas?
Ok, just a quick fup: the ability to create VPNs from apps is disabled if you encrypt the phone. It seems that if you create if before encrypting, it won´t be disabled; but you wont be able to create a new vpn from an app downloaded, after encryption.
Regarding the Accessibility > Services, after a *lot* of research, I have found that Twilight was the culprit. For the reference:
https://code.google.com/p/android/issues/detail?id=79637

[Tasker] Profiles to toggle Flash Notification setting automatically

Description
In light of not having a dedicated notification LED I set up some Tasker profiles to toggle the Accessibility setting Flash Notifications. I don't want it flashing while I'm using my phone, or while in my car on my wireless charging mount. This consists of 2 profiles and four tasks.
First profile will disable Flash Notifications when your screen is on and enable it when your screen is off, unless the Car profile says it's in your car and on your charger.
Second profile will disable Flash Notifications when it's connected to your car's Bluetooth (be sure to set it to your cars Bluetooth address), AND it's on the charger, unless the Screen profile says the screen is on, in which case the Flash Notifications will remain disabled until you turn you screen off. In my car, I use a wireless charger, so taking it off the charger disconnects power, and putting it back on the mount reconnects power automatically. My idea was that I don't want the Flash distracting other drivers, cuz they have a hard enough time being competent as it is. If you don't use a wireless charger or don't have Bluetooth in your car, you might have to tweak the activation of this profile to your specific case.
I have never shared a Tasker Profile before, so if anyone's interested in this and it doesn't import or something let me know.
Downloads
I am providing both downloadable attachments, and links to download from Tasker's site. You must also have Tasker and Tasker's helper app "Tasker Settings" installed.
Screen Profile Download Link
Car Profile Download Link
Tasker
Tasker Settings Helper App
I don't recall having to use adb to grant Tasker special permissions, but I will be doing a fresh install of this on my wife's phone tomorrow and will update if you need to.
<Reserved>
Useful. Thanks.
lightmastertech said:
Description
In light of not having a dedicated notification LED I set up some Tasker profiles to toggle the Accessibility setting Flash Notifications. I don't want it flashing while I'm using my phone, or while in my car on my wireless charging mount. This consists of 2 profiles and four tasks.
First profile will disable Flash Notifications when your screen is on and enable it when your screen is off, unless the Car profile says it's in your car and on your charger.
Second profile will disable Flash Notifications when it's connected to your car's Bluetooth (be sure to set it to your cars Bluetooth address), AND it's on the charger, unless the Screen profile says the screen is on, in which case the Flash Notifications will remain disabled until you turn you screen off. In my car, I use a wireless charger, so taking it off the charger disconnects power, and putting it back on the mount reconnects power automatically. My idea was that I don't want the Flash distracting other drivers, cuz they have a hard enough time being competent as it is. If you don't use a wireless charger or don't have Bluetooth in your car, you might have to tweak the activation of this profile to your specific case.
I have never shared a Tasker Profile before, so if anyone's interested in this and it doesn't import or something let me know.
Downloads
I am providing both downloadable attachments, and links to download from Tasker's site. You must also have Tasker and Tasker's helper app "Tasker Settings" installed.
Screen Profile Download Link
Car Profile Download Link
Tasker
Tasker Settings Helper App
I don't recall having to use adb to grant Tasker special permissions, but I will be doing a fresh install of this on my wife's phone tomorrow and will update if you need to.
Click to expand...
Click to collapse
I'm a complete idiot when it comes to Tasker. I have compiled ROMs from source, made many Smali edits, built themes (all many years ago when I had time) but never spent the time to figure out Tasker.
I would like Tasker to disable Holey Light (see screenshot) when Do not disturb is turned on and re-enable it when Do not disturb is turned off. Would you know how to (or could you make a profile) do this?
bp328i said:
I'm a complete idiot when it comes to Tasker. I have compiled ROMs from source, made many Smali edits, built themes (all many years ago when I had time) but never spent the time to figure out Tasker.
I would like Tasker to disable Holey Light (see screenshot) when Do not disturb is turned on and re-enable it when Do not disturb is turned off. Would you know how to (or could you make a profile) do this?
Click to expand...
Click to collapse
I second this!!!!
Tasker looks like a super useful tool, but f*** why make it so complicated and not user friendly.
I recently tried MacroDroid and like it more, but its definitely limited compared to Tasker from what I've learned, but it did work while I used it.
To disable Holey Light while in DND would be very nice to have. Please advise.
elite-fusion said:
I second this!!!!
Tasker looks like a super useful tool, but f*** why make it so complicated and not user friendly.
I recently tried MacroDroid and like it more, but its definitely limited compared to Tasker from what I've learned, but it did work while I used it.
To disable Holey Light while in DND would be very nice to have. Please advise.
Click to expand...
Click to collapse
I'm not sure if Tasker can change the settings of another app without said app already being programmed to be controlled by Tasker. I'll have to see if this is possible.
Also, considering Holey Light is still in beta and being developed, you might try contacting Chainfire and seeing if he can add this setting to the app natively.
lightmastertech said:
Also, considering Holey Light is still in beta and being developed, you might try contacting Chainfire and seeing if he can add this setting to the app natively.
Click to expand...
Click to collapse
He's looking into adding Do not disturb but I already found a workaround for my problem. In Holey Light I just turn off for it to work when charging and screen is off. I charge my phone every night so it works out fine for me.
bp328i said:
He's looking into adding Do not disturb but I already found a workaround for my problem. In Holey Light I just turn off for it to work when charging and screen is off. I charge my phone every night so it works out fine for me.
Click to expand...
Click to collapse
Only way I can think of having Tasker control it as is, would be to enable disable notification permissions or Accessibility service, both of which require root to do and I have the unrootable US Snapdragon variant.
On another note, Sammy has already added a variation of ring notifications that I'm sure they will expand on. As if now, it works with system apps with screen on or off, and with user apps with screen on.
lightmastertech said:
Only way I can think of having Tasker control it as is, would be to enable disable notification permissions or Accessibility service, both of which require root to do and I have the unrootable US Snapdragon variant.
On another note, Sammy has already added a variation of ring notifications that I'm sure they will expand on. As if now, it works with system apps with screen on or off, and with user apps with screen on.
Click to expand...
Click to collapse
I appreciate it, I also have the unrootable US Snapdragon.
Samsung's current implementation of the notification light is just plain useless. It stays on for like 5 seconds.
Holey Light is working perfectly for me the way I have it set up.

Categories

Resources