any app/script to enable the watch to connect wifi/bluetooth ? - Huawei Watch 2

looking for soem help in having an app/script enable the wifi/bluetooth at a set time? ie: every 3 hrs or something like that? connect for say 1 min then disable again?
the idea is to save battery by not having those connections live all the time?
is there anythng that could help?

creative idea, did you find anything?

There was a tasker app I am not sure what it does on wear os but there is something like this.

adas4190 said:
There was a tasker app I am not sure what it does on wear os but there is something like this.
Click to expand...
Click to collapse
that is a good idea - I recall Juice Defender doing that for phones several years back - maybe search for that for the watch?

Should be possible to make something like that. Let me see if autowear can turn those things on and off etc. Ill get back to you

Related

[Q] Tasker or Juice Defender?

Does anyone have both of these and so able to comment on whether Juice Defender is necessary if Tasker is installed? IE Can Tasker do all that Juice Defender ultimate can? (Such as turn off wifi when the screen is off *IF* there is no traffic/downloading occurring?
Thanks.
jimbob1971 said:
Does anyone have both of these and so able to comment on whether Juice Defender is necessary if Tasker is installed? IE Can Tasker do all that Juice Defender ultimate can? (Such as turn off wifi when the screen is off *IF* there is no traffic/downloading occurring?
Thanks.
Click to expand...
Click to collapse
If you're good enough about setting up your rules, there's very little that you can't setup Tasker to do. I'd have to check, but I'd imagine you can have it do something like that or close to it. If I have time later, I'll see if I can reproduce that functionality in my copy of Tasker
Thanks. I know that Tasker can put the device into flight mode when, say, the screen is off, but what I'm interested in is whether it can be made smart enough to only do so when no data is being downloaded.
cheers!
I have both and decided to use Juice Defender because I wasn't sure how to set that up within tasker. I bet it's possible though.
Yeah, that is why I'm asking. There are a few profiles on Task Wiki, but they all seem to involve 3g cell towers too, I'm after a wifi only one (perhaps they will work, I don't know).
It is quite easy just to turn on airplane when the screen is off, but we really need one that knows when data is being downloaded so only switches airplane on when nothing is happening - plus It'd be nice to be able to set it to enable wifi etc for a short period of time every so often to keep things updated.
I'm fairly sure all of this is possible (maybe not checking if anything is being downloaded?). Anyone who is a Tasker regular able to provide one that does this?
Incidentally, Ad1980 - Are you using JuiceDefender free, or one of the paid ones? If paid, do you find it makes a difference?
you really use such programs on a tablet? mine sits all night and only drops a couple (1-3%) overnight. Wifi and data flowing that whole time
howarmat said:
you really use such programs on a tablet? mine sits all night and only drops a couple (1-3%) overnight. Wifi and data flowing that whole time
Click to expand...
Click to collapse
Mine drops about that much too, but I guess it all depends on how much data is being downloaded. Still, those 1-3% percent could be saved, and could add as much as 30% to the battery if, say, the tablet wasn't touched for 3 or so days.
It isn't all about battery saving though - Some people don't want/require mail to arrive at night, for example, so Tasker can be setup to automatically stop wifi during certain hours when the screen is off.
good point about the email and such. i use mine 3-4 hours a day probably so its gets charged every other day i would guess no matter what
I'm using Ultimate, though I've been using it for so long that I couldn't tell you the difference between it and the free version. The market description isn't all that helpful either. I'd go with the free version and if there are capabilities that are greyed out that you want to use then go ahead and upgrade.
I'm pretty sure that an appropriate Tasker profile would have to make use of Variables. Talks a little about it here.
http://tasker.dinglisch.net/userguide/en/variables.html
I'm going to assume you're looking into streaming music while the screen is off. Maybe create a task to start Pandora. Then you might be able to use the "Tasks Running" variable. So the wifi goes off when the screen is off unless unless %Pandora variable is on.
After using Juice Defender for a couple of weeks now on my HTC one X I have to I haven't really notice a whole of difference. What I have noticed that it cuts off wifi and mobile data when i am not using it but when i want to use it, it takes a while for it to reopen and connect and some times it doesnt even open so i have to manualy open wifi or mobile data connection. But i guess it better than having an constantly on connection which can eat your battery life is 1-2 hours.
It is not possible with tasker
jimbob1971 said:
Does anyone have both of these and so able to comment on whether Juice Defender is necessary if Tasker is installed? IE Can Tasker do all that Juice Defender ultimate can? (Such as turn off wifi when the screen is off *IF* there is no traffic/downloading occurring?
Thanks.
Click to expand...
Click to collapse
Me too looking for the answer for this question.... so for no quite good answers.... Somebody have to develop a plugin for tasker to find out the data/wife downloading speed.. if it can be found, then we can definitely replace JD with tasker...
There is no plugin in the Play Store regarding this..
if any one find anything like this please share with this post..
Yes, JD is must have app, Tasker can't replace it until the availability of above said plug-in. JD makes it possible, switching off mobile data once the download is finished or a threshold is met...
Try Deep Sleep Battery Saver and LeanData.
jimbob1971 said:
Does anyone have both of these and so able to comment on whether Juice Defender is necessary if Tasker is installed? IE Can Tasker do all that Juice Defender ultimate can? (Such as turn off wifi when the screen is off *IF* there is no traffic/downloading occurring?
Thanks.
Click to expand...
Click to collapse
Tried JD and others on my phone and tablet. I found that Deep Sleep Battery Saver and LeanData work the best for me.
Deep Sleep Battery Saver:
https://play.google.com/store/apps/details?id=com.rootuninstaller.batrsaver
LeanData
https://play.google.com/store/apps/details?id=com.teqtic.leandata
Rodger
Juice defender is good for battery saving.
Sent from my COLOSSUS Ver 4.0.0507 using xda premium
Just check if its going correctly under deep sleep. Try cpu spy on play store. If not going on deep sleep, look inside battery stats which app is stealing juice (may be some apps are synchronizing too much and waking up cpu/wifi).
Juice defender dose not reconnect my data connection when screen unlock.
Sent from my A116 using xda premium

[Q] Tasker - Force Fitbit Update on Bluetooth Connect

I have a tasker profile set up to turn on my Bluetooth for 5 minutes every 90 minutes from 6:30am - 10pm each day. The only bluetooth thing i own is my fitbit, which syncs directly to my GS4. However, I noticed that even though my profile turns bluetooth on and off every 90 minutes, it doesn't automatically sync to Fitbit. Is there a way, through tasker, that I can force the update when bluetooth turns on?
Thanks for any help you can give!
Jeremyawilliams said:
I have a tasker profile set up to turn on my Bluetooth for 5 minutes every 90 minutes from 6:30am - 10pm each day. The only bluetooth thing i own is my fitbit, which syncs directly to my GS4. However, I noticed that even though my profile turns bluetooth on and off every 90 minutes, it doesn't automatically sync to Fitbit. Is there a way, through tasker, that I can force the update when bluetooth turns on?
Thanks for any help you can give!
Click to expand...
Click to collapse
Hello, any luck with that? I have the same issue and wasn't able to solve it.
mrc87 said:
Hello, any luck with that? I have the same issue and wasn't able to solve it.
Click to expand...
Click to collapse
No such luck. I just ended up keeping Bluetooth on all the time and resorted to Juice Defender (which does a pretty good job) to help with battery life.
Too bad... I'll probably resort to create a tasker setting that turns Bluetooth on when I open the fitbit app and turns it off when I exit. Or even just have it automatically open every x minutes and then close it.
mrc87 said:
Too bad... I'll probably resort to create a tasker setting that turns Bluetooth on when I open the fitbit app and turns it off when I exit. Or even just have it automatically open every x minutes and then close it.
Click to expand...
Click to collapse
I did that too, but it too too long to boot up and then I ended up manually refreshing anyway. I just don't sit there and open my Fitbit app and sit there with it for a few minutes waiting for it to sync.
Did you try to have it do it only when the screen is off and without having it turn the screen on?
mrc87 said:
Did you try to have it do it only when the screen is off and without having it turn the screen on?
Click to expand...
Click to collapse
I think I set it up to turn bluetooth on every 2 hours for 5 minutes and when that happened, open up the fitbit app and leave that on for 5 minutes, only when the screen was off. However, inevitably, I always ended up turning the phone on when it was in the middle of the 5 minute window and I just got annoyed and scrapped it.
I just set it up to turn bt on for 15 minutes every 45 and nothing else. It seems to work, I have the fitbit widget on the home screen and it is updating even though I haven't accessed the app since this morning.
Nice. Glad you got that working. I'll probably stick with what I've got because I also use Dash along with a bluetooth OBD sensor in my car to monitor my driving and engine health, etc. If I had BT turn on and off, Dash wouldn't work.
Side note, have you ever used Llama?
Ok!
I had used llama once, I think back on gingerbread and wasn't too much into it. Frankly, I don't even remember exactly what it was for! Changing settings based on location maybe? I use tasker for that already, though.
Ok, I'm totally hijacking this thread now, I've used Llama since my old gingerbread phone and it does a great job at 99% of what I want. It's primarily location-based profiles or tasks, but it can also do other things like manage profiles and tasks based on whether a headset is plugged in or other device states.
The thing I can't figure out in Llama (and am trying to figure out in Tasker) is I want my phone to go to silent, with no vibration or sounds overnight, but I want my weather radio app and a few select contacts to be able to ring through. Any idea how to accomplish those exceptions within Tasker?
Jeremyawilliams said:
Ok, I'm totally hijacking this thread now, I've used Llama since my old gingerbread phone and it does a great job at 99% of what I want. It's primarily location-based profiles or tasks, but it can also do other things like manage profiles and tasks based on whether a headset is plugged in or other device states.
The thing I can't figure out in Llama (and am trying to figure out in Tasker) is I want my phone to go to silent, with no vibration or sounds overnight, but I want my weather radio app and a few select contacts to be able to ring through. Any idea how to accomplish those exceptions within Tasker?
Click to expand...
Click to collapse
I'm sorry, it doesn't sound too complicated, but I've never used tasker like that. There must be a tasker thread or subforum on xda, no?
mrc87 said:
I'm sorry, it doesn't sound too complicated, but I've never used tasker like that. There must be a tasker thread or subforum on xda, no?
Click to expand...
Click to collapse
I ended up figuring it out with a combination of the Tasker group on Google+ and some other forums.

powersaving app idea

I know there are already a lot of power saving apps out there, but i was looking for one that would do the following:
turn data and wifi off and only turn one of them (user selectable or depending on connection availability) every N minutes (lets say 15), leave it turn on for 2 minutes just enough to sync and receive messages, then tur it off again, and a way to disable (toggle) this functionality in a widget or toggle button, or if this functionality could be called by LLAMA, it would be great.
i think this would greatly save battery specially when you are at work and dont need the wifi turned on everytie, just enough time for short periods to sync data and get messages.
any ideas if theres an app like this?
well...
arana1 said:
I know there are already a lot of power saving apps out there, but i was looking for one that would do the following:
turn data and wifi off and only turn one of them (user selectable or depending on connection availability) every N minutes (lets say 15), leave it turn on for 2 minutes just enough to sync and receive messages, then tur it off again, and a way to disable (toggle) this functionality in a widget or toggle button, or if this functionality could be called by LLAMA, it would be great.
i think this would greatly save battery specially when you are at work and dont need the wifi turned on everytie, just enough time for short periods to sync data and get messages.
any ideas if theres an app like this?
Click to expand...
Click to collapse
You have a Google market... LOL. I dont really use them because phone consumes more power then without it. Try v6 supercharger instead
dont think so
every one thinks different....
noxieieie said:
dont think so
Click to expand...
Click to collapse
i like scripting.... and those apps from market just turns off the wifi and other stuff.... and i have brains to do that by my self you know )

App I can use to automatically turn on/off stuff?

Like let's say I connect to my home WiFi, I want to automatically sync on and lower the brightness to 1/4 of the way (just an example lol). Is there any app out there BESIDES TASKER that can do stuff like that? Tasker is really complicated IMO and I don't know how to use it. I'd prefer a much simpler app that I can use to do stuff like in the first sentence. Thanks to any suggestions!
PS- Just got a $25 Play Gift card, so it can be a paid app
Try an app called "Trigger".
Works for me
Sent from my SM-N9005 using XDA Premium 4 mobile app
Buy tasker.
Said it before and I'll say it again.
You can use Llama for this.
bharat4ever said:
Buy tasker.
Click to expand...
Click to collapse
I did and thought it was really complicated :/
Maybe I'll give it another shot. But always open to other suggestions. Just got a $25 Google Play gift card to, so rally open to anything.
Once you get to use it, it's pretty straight forward.
Tell me what you want to do, I'll guide you.
bharat4ever said:
Once you get to use it, it's pretty straight forward.
Tell me what you want to do, I'll guide you.
Click to expand...
Click to collapse
I want to create simple stuff such as.... Connect to my home Wifi shuts off mobile data and turns off my pattern unlock security. Connected to work Wifi puts my phone on mute and turns off pattern unlock security. Battery drops below 20% and power saving mode gets enabled automatically (Galaxy S5)... Etc. Just stuff like that.
Also on a side note... How is tasker on the RAM, resources and battery? Just curious.
You can use NFC Tools and NFC Tasks
Joe0113 said:
I want to create simple stuff such as.... Connect to my home Wifi shuts off mobile data and turns off my pattern unlock security. Connected to work Wifi puts my phone on mute and turns off pattern unlock security. Battery drops below 20% and power saving mode gets enabled automatically (Galaxy S5)... Etc. Just stuff like that.
Also on a side note... How is tasker on the RAM, resources and battery? Just curious.
Click to expand...
Click to collapse
Tasker is pretty light on battery and resources.
I'll create the steps for the tasks you've mentioned and post them here tomorrow.
bharat4ever said:
Tasker is pretty light on battery and resources.
I'll create the steps for the tasks you've mentioned and post them here tomorrow.
Click to expand...
Click to collapse
Wow that's awesome, thanks man!
Any more suggestions?!
I just wanna do simple things like when connected to home wifi kill mobile data, turn on wifi calling and turn volume all the way up.
Just Me said:
Said it before and I'll say it again.
You can use Llama for this.
Click to expand...
Click to collapse
Can't get Llama to turn on wifi calling when conncted to my home wifi lol.

Cyanogenmod bugs

Can someone please explain to me whats meant by cdma bug? And also what wifi mac adress is? I mean how will these affect the device.. Not looking for technical info simple and short
Thank you
The CDMA thing is just if your mobile network uses CDMA, and that's just an issue where you have to set preferred network type on first boot.
The MAC address is the address that your device uses on a wifi network (a bit like an IP address). The issue is that it's randomised every time you reboot, so some router things like QOS and whitelisting won't work, but for normal use it doesn't really matter.
Hope this helps ☺
SniperShotgun said:
The CDMA thing is just if your mobile network uses CDMA, and that's just an issue where you have to set preferred network type on first boot.
The MAC address is the address that your device uses on a wifi network (a bit like an IP address). The issue is that it's randomised every time you reboot, so some router things like QOS and whitelisting won't work, but for normal use it doesn't really matter.
Hope this helps
Click to expand...
Click to collapse
THANK YOU I will give CM A try then I thought the CDMA meant no signal lol and the MAC address thing meant no wifi or would limit both the capabilities
b3ava said:
THANK YOU I will give CM A try then I thought the CDMA meant no signal lol and the MAC address thing meant no wifi or would limit both the capabilities
Click to expand...
Click to collapse
Well if you don't set the thing at first boot it is no signal, so remember
I have another thing to report:
The headphones are set to VERY high volume. Even if i turn the volume to the minimum during a call, it is still too loud.
I often have awake and screen on, but i dont actually have screen turned on. How can i see which process is doing this or fix it?
AgiZ10 said:
I have another thing to report:
The headphones are set to VERY high volume. Even if i turn the volume to the minimum during a call, it is still too loud.
I often have awake and screen on, but i dont actually have screen turned on. How can i see which process is doing this or fix it?
Click to expand...
Click to collapse
Does the "double tap to wake" set to on ?
it maybe because of that
tomhtg90 said:
Does the "double tap to wake" set to on ?
it maybe because of that
Click to expand...
Click to collapse
It is, yes. But i was most active on phone that day from 8-16, and in that time you can see that awake and screen-on just kept increasing and didnt "shut off" at all later that day even though not much was going on with the phone. If i remember i even restarted the phone (that sliver missing on the graph).
Right now i have this kind of usage, the way it is supposed to be (ok, not sure whats wrong with the signal, but lets leave that alone for now)
Could it be some app not letting the phone go to sleep or what?
AgiZ10 said:
It is, yes. But i was most active on phone that day from 8-16, and in that time you can see that awake and screen-on just kept increasing and didnt "shut off" at all later that day even though not much was going on with the phone. If i remember i even restarted the phone (that sliver missing on the graph).
Right now i have this kind of usage, the way it is supposed to be (ok, not sure whats wrong with the signal, but lets leave that alone for now)
Could it be some app not letting the phone go to sleep or what?
Click to expand...
Click to collapse
I dont know what happen. But what i saw from your 1st SS, the screen doesn't go to sleep.
U can see what apps that use much battery by simply go back from History details.
On my Battery use stat, Screen always be gonna be the biggest usage (and that's normal). If l lock the phone, the phone does go to sleep (means screen is off and not using the battery until i turn it back on).
On Cyanogen dev thread for our device, some people have bad battery life when double tap to wake is on (me too).
Maybe it's not well implemented yet. So that's why i rather choose not to use that feature for a while until it well implemented.
Ok, thanks for your thoughts. I didnt chech which app used the most power, but perhaps it was Exchange not being able to sign in. I will monitor the behavior (during weekend it should be a lot longer battery life).
Yeah, i think dt2w is not optimised. As long as i have full day of battery it should be enough and for now that is the case.
The volume bug is annoying though.
is it only me that has an issue with Notifications on this phone? It seems that when I am on wifi my internet stops or something.. is there a setting or something I have missed?
No, a lot of users are reporting this bug. I suggest you try the app "Heartbeat fixer for GSM" or "PNF Root" which could fix this. I install one or the other as soon as I get a new phone, and I don't have issues with push notifications that I've noticed so far, but I haven't tested the Mi4C on WiFi yet.
b3ava said:
is it only me that has an issue with Notifications on this phone? It seems that when I am on wifi my internet stops or something.. is there a setting or something I have missed?
Click to expand...
Click to collapse
xdadevet said:
No, a lot of users are reporting this bug. I suggest you try the app "Heartbeat fixer for GSM" or "PNF Root" which could fix this. I install one or the other as soon as I get a new phone, and I don't have issues with push notifications that I've noticed so far, but I haven't tested the Mi4C on WiFi yet.
Click to expand...
Click to collapse
Did you try from scratch?
I put on TWRP, deleted EVERYTHING (system, data, cache...) then put on CM and gapps (opengapps - ARM64 - pico) in one go and for me it works like it should.
About my awake problem: I have left the phone more or less alone during the weekend and it seems it works like expected. I will observe if i find any more strange behaviour like i did a few days ago.
Seems that it sometimes works and sometimes it doesn't the two apps that are mentioned above don't seem to be making a difference.. The funny thing is when I am not connected to WIFI the phone seems to be running fine (notification wise). But when the screen is off and I am on wifi the device seems to be going into some sort of deep sleep most of the times. I think after 2-3 days it hasn't been as bad, but I do get 1 or 2 random hangout notifications not appearing at all..

Categories

Resources