Tasker help. - General Questions and Answers

Hello I currently have a nexus 7 in my car I have tasker set up to turn offy tablet when power state is off... I want to add a "IF" profile. Example.
If power off for more than 5 seconds than perform task...
Sent from my GT-I9505 using XDA Free mobile app

Related

[Q] android phone/application for turning off the phone by timer

hello everybody. in need an application that turns the phone off by timer.
i am listening the radio late at night before i go to sleep. i use SLEEP TIMER application in order to turn off the radio when i fall asleep but i noticed that it doesnt stop the radio-it just turns it to "mute".
is there any application that can turn off or turn off the phone with timer??
thanks in advance
Mmm try sweet dreams on the market
Sent from my GT-P1000 using XDA App
Tatatank you my man
Sent from my Desire HD using XDA App

Tasker profile

Hello, ive been trying to make an app that turns mobile data off if screen has been off for x minutes and turns data back on if screen comes on when data is off. Is that possible? I cannot seem to do it.
Thank you in advance!
Sent from my ADR6400L using Tapatalk
This might work:
1st Context, State: Screen off with the following tasks:
1. Variable set %SODATA = 1
2. Wait 30 mins
3. Mobile data = off IF %SODATA = 1
4. Variable set %MODATA = 0
2nd Context, State: Screen on
1. Variable set %SODATA = 0
2. Mobile data = on IF %MODATA = 0
Important
Screen off context must have a lower priority than Screen on context. Also, collision handling of Screen off context must be set to "Abort existing task".
Also, the Tasker userguide says
Mobile Data
Set mobile data status without affecting incoming calls.
This action has the disadvantage that Android may manipulate it internally when certain things happen e.g. wifi disconnected.
Note: this action requires that Mobile Data is intitially turned *on* in Android System Settings.
When Mobile Data is *off* in System Settings, this action will have no effect.
It has been reported that many Google apps reenable the setting.
Click to expand...
Click to collapse
So you might consider using APNdroid or JuiceDefender tasks instead of Mobile Data task.
P.S. I haven't tried this out (and can't at the moment). Just thought of this off the top of my head. So they might not work at all.
State screen off means event display off right?
Sent from my ADR6400L using Tapatalk
Yup, that's right.
Ok thank you but no, it didnt work
Sent from my ADR6400L using Tapatalk
Which part didn't work? Let's try to make this work
Lol well im not sure, i changed the delay to ten seconds to test it and the data never went off. Idk what about that didnt work because im an idiot at tasker but the data doesnt go off. lol
Sent from my ADR6400L using Tapatalk
How are you checking that data is off when the screen turns off?
How about try to change the event from display off/on to something else. Like headset plugged/unplugged.
Ok, ill try that when i get a chance.
Sent from my ADR6400L using Tapatalk
Did not work with headset plugged and unplugged either, data still not turning off
Sent from my ADR6400L using Tapatalk
If i leave the vaiables out it works perfect
Sent from my ADR6400L using Tapatalk
Hmm interesting. I placed the variables there as sort of a "safety net". I've been trying out the profile on tasker (finally got my phone back ) and got it working but I used APNdroid+Tasker because I couldn't get the data back on once it automatically disabled using the 'mobile data' task.
Glad to hear you got it working by yourself.
Thank you sobmuch for your help
Sent from my ADR6400L using Tapatalk

(Q) how do you turn off screen timeout?

On gingerbread there was an option to turn off the screen timeout in display settings but in ics they removed that option. Can anyone tell me if there is a way to disable the screen timeout? My phone spends all day in the car dock and I like to see what is going on with it without turn it back on every 10 minutes.
Sent from my SCH-I535 using xda app-developers app

Extreme power saving mode

Hey, I was curious if anyone knew a way to make it so that extreme power saving mode would automatically kick in when I turned my screen off. Now I know this may not be helpful for some people but as this is my personal phone I really don't need emails to be pushed to me right away and what not.
I've searched throughout tasker to find a way to do this but I cannot find a way for the life of me.
Any ideas or suggesting a would be appreciated and helpful. Thanks!
Sent from my HTC6525LVW using XDA Premium 4 mobile app
MattCropley said:
Hey, I was curious if anyone knew a way to make it so that extreme power saving mode would automatically kick in when I turned my screen off. Now I know this may not be helpful for some people but as this is my personal phone I really don't need emails to be pushed to me right away and what not.
I've searched throughout tasker to find a way to do this but I cannot find a way for the life of me.
Any ideas or suggesting a would be appreciated and helpful. Thanks!
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You could just use Greenify and hibernate the GMail app.
dadams312 said:
You could just use Greenify and hibernate the GMail app.
Click to expand...
Click to collapse
Well it's not just the email app. I was just using that as an example. It's just when it's on extreme power saving mode my phone can last for days. And I often forget to turn it on when I'm done with my phone. I wish it was possible to use it with tasker. It be so easy just to turn screen off and it automatically kick in
Sent from my HTC6525LVW using XDA Premium 4 mobile app
There has got to be a way... I'll play with it and let u know
Edit
so i got it to work pretty simple too. and of course you can add any additional variables. such as only do during certain hours and so forth, or if you seriously want it in extreme power saving mode all the time that the screen is off, then its rather simple.
open tasker,
add profile for event, click display, and display off
click new task for this case name it EPSM or what every you'd like
click the + and select action category script, then Run Shell
under command enter this
Code:
am start -a android.intent.action.MAIN -n com.htc.htcpowermanager/com.htc.htcpowermanager.extremepowersaver.ExtremePowerSaverConfirmActivity
and check the box for "use Root"
back out ensure you now see a profile for Display Off and its on and the task is set to EPSM and we are all good.
now when every you screen is off the phone will enter extreme power saving mode.
turn screen back on and you will be in EPSM, and just click exit to get out,
**
a few notee / things to point out, is that you could also add a timer, so that if the display is off, for X amount of time then it triggers the script, or only run between the times of 11 pm - 8 am... the possibilties are endless.
Have fun with this.

[APP][4.0+] Battery Use Manager with custom auto brightness

I am looking for any and all feedback, bug reports, suggestion, or feature requests on my first real app. I know battery managers and screen dimmers have been done before, but I wanted something that was lightweight and simple to understand for non-power users. BUM is a battery manager that includes:
*Battery drained x percent in y hours alert
*Custom auto brightness with temporary bright control
*Wifi enabled or disabled based on location
*Mobile data turned off with screen, background updates on fixed intervals (except on 5.0+ - I'll add support for rooted devices if that's something you guys think would be useful)
*Low battery alerts
*Extra savings settings when alerts occur
*Custom screen timeout (any value between 0 seconds and 60 minutes)
* Coming soon - network activity detection before turning off wifi or mobile data
* Coming soon - expanded screen dimmer notification bar controls
A select few customization options are paid features but all of the core functionality is free. The only non free feature is the temporary brightness notification button for the screen dimmer.
Play Store link: https://play.google.com/store/apps/details?id=com.compass.bum
Thanks to everyone for taking a look at my app. Any feedback would be greatly appreciated.
What auto brightness notification bar controls would be most useful to people?
Sent from my XT1080 using XDA Free mobile app
Man, if you could implement something like this for rooted users, It would be awesome
When WiFi = Off Then
Mobile Data on for 2 minutes, then Mobile Data off for 8 minutes - Repeat routine, only happens when screen off
Mobile Data on when screen On
I could definitely do that. I'll work on that soon.
Two minutes is actually the time it re-enables mobile data when screen is off, and the paid version let's the interval go down to 15 minutes but I could easily change that to go as low as 10 minutes. That would give the exact cycle you requested. Every ten minutes it enables mobile data for two minutes, give or take. I use inexact timing to save power.
Sent from my XT1080 using XDA Free mobile app
If you're willing to test it, send me your Gmail account associated with your Google play. I don't have a rooted device to verify it's working so I'll need some help testing.
Sent from my XT1080 using XDA Free mobile app
Alright, I have a build with possible android 5+ mobile data operation. I'll post it this evening.
If anyone with android 5 and android 5.1 rooted phones could let me know if it works for them that would be greatly appreciated. Thanks, everyone.
Sent from my XT1080 using XDA Free mobile app
It doesn't state explicitly for rooted users right? So I assume that non-rooted users will be able to test out as well?
eden1988 said:
It doesn't state explicitly for rooted users right? So I assume that non-rooted users will be able to test out as well?
Click to expand...
Click to collapse
Correct, root would only be needed for people on android 5+ and only for the mobile data option due to Google locking down programatically managing mobile data. Everything else is this app does not require root.
Published root mobile data access for 5.0+ but I don't have a rooted android 5 phone to test. Can someone verify, please?
I also added a check for network traffic before disabling. There is a 10 second delay after screen goes off and then it checks network traffic every 20 minutes until it can shut down data. This let's you stream music.
I'm experimenting with some Bluetooth management as well.
Sent from my XT1080 using XDA Free mobile app
So I added functionality to turn bluetooth on when driving and off when no longer driving. Hoping to help out the people who tend to leave bluetooth on all the time so they can sync with their cars stereo. Please let try it out and let me know what you think.

Categories

Resources