Battery Saver For Omate Trusmart - Ornate TrueSmart

Hi Guys ,
My last two months of Omate Trusmart usage , i could see most battery drain was happening when u always keep your data / wifi / bluetooth on.
So i developed a app that switches off / on your wifi and data radios at user defined intervals(3 min On and 6 min Off in my case ) .
As for Bluetooth it gets switched on only when there is a incoming or outgoing call.This really increased by battery performance by 30-40% more.
play.google.com/store/apps/details?id=com.sts.dataonofflite
This app was developed for all android systems so i'm trying to develop an alternate UI that may be easy for trusmart users.
User Suggestions are welcome.

UI updated
I updated the UI to fit omate trusmart

thanks for that!
by the way would there be any plan for update where Wi-Fi can be turned off at set time and turn on at the set time?
For example I'd like the Wi-Fi off during the time I travel to and from work as I drive.
cheers

Can't you do that and loada of other similar stuff using Llama app?

simple1i said:
Can't you do that and loada of other similar stuff using Llama app?
Click to expand...
Click to collapse
Llama works well (the llama factoids can occasionally be a little too big though).
Tasker users are satisfied too.
With those you can do a lot.
What maybe is missing is sharing the Llama "profiles", it can be difficult for some users to get started with Llama.
This app looks OK though, competition is good. Simpler to get started.

I use this app called "LeanData"

dj898 said:
thanks for that!
by the way would there be any plan for update where Wi-Fi can be turned off at set time and turn on at the set time?
For example I'd like the Wi-Fi off during the time I travel to and from work as I drive.
cheers
Click to expand...
Click to collapse
Sure.I have plans to implement a timed profile kind of tab for the next update.Thx for the input

Not trying to steal your thunder, but for those who use mobile data and wifi to be connected most/all of the time and are already using the Xposed framework, there is also Intelli3G. It has a good range of switching logic to help save battery usage.
http://forum.xda-developers.com/nexus-4/themes-apps/app-intelli3g-2g-3g-4g-toggle-battery-t2580234

Related

Turn GPS On only when needed

Is there a way to have the GPS Radio only turn on if I open Waze or some other GPS Aware program? Trying to conserve power here.
TIA
CradleRob said:
Is there a way to have the GPS Radio only turn on if I open Waze or some other GPS Aware program? Trying to conserve power here.
TIA
Click to expand...
Click to collapse
To my knowledge, having GPS on standby barely uses any battery. Only when an app updates your location.
I'd just leave it on. Maybe Juice Defender could manage it though
That's how Android works. The GPS isn't actually on unless you see the icon in the top bar. Try it yourself - open Google Maps and you'll se the icon, then close Maps and you'll see it go away.
How is it like with bluetooth? Is it a big battery hog?
Eric-1987 said:
How is it like with bluetooth? Is it a big battery hog?
Click to expand...
Click to collapse
Haven't tried out bluetooth yet.
But again, Juice Defender can now manage that too.
Thanks for the info...I'll be sure to play with the GPS a bit more.
Juice Defender is my new best friend.
Maroon Mushroom said:
To my knowledge, having GPS on standby barely uses any battery. Only when an app updates your location.
Click to expand...
Click to collapse
Thanks, I wasn't aware of that, I've always turned it off because I thought that it would drain my battery.
I know for a fact that the BT will drain your battery even if you have nothing connected to it so turn it off if you don't use it.
Saelee said:
Thanks, I wasn't aware of that, I've always turned it off because I thought that it would drain my battery.
I know for a fact that the BT will drain your battery even if you have nothing connected to it so turn it off if you don't use it.
Click to expand...
Click to collapse
No, it doesn't. Nor does GPS.
khaytsus said:
No, it doesn't. Nor does GPS.
Click to expand...
Click to collapse
Reason people think that I bet is because when Bluetooth was new tech and only in it's first revision it didn't have any power saving features and was constantly pinging the radio if devices were connected or not. That was fixed with Bluetooth 1.3 onwards if memory serves right.
Bluetooth will not use battery unless its connected to a device, and then only will if the phone and the device get out of range from each other. I think but don't quote me, that the connecting device is in charge of pinging and staying pared and not the phone.
Gps can actually cause battery drain of you do a ton of web browsing and are using googles locstion sharing feature...it shares your location each time you load a page in the browser...so not only uses gps but the maps app as well.
This is the only scenario where I have seen it measurably effect battery
Sent from my hand using XDA App
I use Bluetooth in my car for voice and music. As you can see by my screen grab it does not use much battery.
CradleRob said:
Is there a way to have the GPS Radio only turn on if I open Waze or some other GPS Aware program? Trying to conserve power here.
TIA
Click to expand...
Click to collapse
Pull down status bar, toggle GPS on/off.
Sent from my SAMSUNG-SGH-I727 using xda premium
CradleRob said:
Is there a way to have the GPS Radio only turn on if I open Waze or some other GPS Aware program? Trying to conserve power here.
TIA
Click to expand...
Click to collapse
I use a program called Tasker and created a rule that turns on GPS only when I open Maps and Navigation. Tasker is a paid app but well worth it. i used it to turn on bluetooth and Nav when I get in my car in the morning, it also shuts off wifi and starts streaming Pandora. When I get to my office, it shuts off the ringer and turns on vibrate mode, shuts off the data network and stops streaming Pandora. It checks my personal email twice per day at scheduled intervals so I am not distracted.
When i plug in my headphones, a menu appears asking if I would like to launch music, pandora or phone.
Though it's a paid app, it is worth the money. Tasker is awesome.
--Mike
Sent from one of many Samsung devices.
MobileData said:
I use a program called Tasker and created a rule that turns on GPS only when I open Maps and Navigation. Tasker is a paid app but well worth it. i used it to turn on bluetooth and Nav when I get in my car in the morning, it also shuts off wifi and starts streaming Pandora. When I get to my office, it shuts off the ringer and turns on vibrate mode, shuts off the data network and stops streaming Pandora. It checks my personal email twice per day at scheduled intervals so I am not distracted.
When i plug in my headphones, a menu appears asking if I would like to launch music, pandora or phone.
Though it's a paid app, it is worth the money. Tasker is awesome.
--Mike
Sent from one of many Samsung devices.
Click to expand...
Click to collapse
I just bought and paid for Tasker for the GPS one click workaround.
Tasker has a learning curve, but it's like any other macro editor.
You basically make a macro that says
IF app_being_opened = Navigation
AND gps status = off
THEN Open Location Settings
DPAD Down
DPAD Down
DPAD Enter
^-- Tasker does these for you, you sit there and watch.
OPEN Navigation
And you can do the same thing for Maps or any other apps requiring GPS.
Note that I also just made one for one click 4G, too.
Works well.
Note that I'm sure the macros can be cleaned up and made more idiot-proof, but I'm nowhere near proficient with Tasker yet. There are A LOT of options.
+1 for Tasker. I am by no means an expert with it, but it definitely has a lot of functionality.
I've used it to only turn on GPS when opening certain apps (like maps, foursquare, etc.)
Sent from my SAMSUNG-SGH-I717 using xda premium
I don't understand the need to pay for an app to turn GPS onff. Tasked has a lot more uses but to purchase it for an answer to a nonexistent problem is so...meh.
Sent from my SAMSUNG-SGH-I727 using xda premium
jamesd86 said:
I don't understand the need to pay for an app to turn GPS onff. Tasked has a lot more uses but to purchase it for an answer to a nonexistent problem is so...meh.
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Troll keep on trolling.
There is obviously a problem if multiple threads have been started to address the problem and if all the GPS widgets on the Market have to have a disclaimer saying "1 click won't work on 2.3.x devices."
Have tasker, just waiting for my note to use it actually
Sent from my INFUSE powered by ZEUS
I made this tutorial for anyone having difficulty making their one-click GPS solution.
http://www.youtube.com/watch?v=fg56IgNHA0Y
theleetbeagle said:
Troll keep on trolling.
There is obviously a problem if multiple threads have been started to address the problem and if all the GPS widgets on the Market have to have a disclaimer saying "1 click won't work on 2.3.x devices."
Click to expand...
Click to collapse
If you read what I wrote you'd realize that I understand there's a small problem but c'mon..almost 7 bucks when all you have to do is pull the notification down and hit the GPS toggle? If that's all someone is buying tasker for...its a waste. Now if they are going to use it for more stuff that's cool.
Sent from my SAMSUNG-SGH-I727 using xda premium

Juice defender

Hi! Is worth it to use juicedefender on ics?
I personally haven't tried it myself, but due to it's downloads and ratings in Google Play, it seems really good and legit. I read it can multiply your battery life x4, but i don't need it atm so test it yourself.
joaopereira_19 said:
Hi! Is worth it to use juicedefender on ics?
Click to expand...
Click to collapse
Do u always use sync and use live updates from app like fb,g+,news app and the like then the answer is yes!! (Net always turned on)
It definitely improves battery a lot!!:good:
U could get more juice out of it!!!
What it does basically is reduce ur wifi scan frequency and connects the edge or 3g only in specified intervals (say every10mins or the time u set)..
Disable bluetooth & wifi automatically when not available NIght modes (All these can be done manually itself)
So ull get the live updates from ur app as well as save battery alot. .
If u turn on net only manually when browsing or for other purpose ... Then the app has no use for it!!!
ssanjay19 said:
Do u always use sync and use live updates from app like fb,g+,news app and the like then the answer is yes!! (Net always turned on)
It definitely improves battery a lot!!:good:
U could get more juice out of it!!!
What it does basically is reduce ur wifi scan frequency and connects the edge or 3g only in specified intervals (say every10mins or the time u set)..
Disable bluetooth & wifi automatically when not available NIght modes (All these can be done manually itself)
So ull get the live updates from ur app as well as save battery alot. .
If u turn on net only manually when browsing or for other purpose ... Then the app has no use for it!!!
Click to expand...
Click to collapse
How about wifi signal strength or stability after using this app ?

NetworkLocationLocator Wakelock

Hello all,
I am more than happy with my SIII but I'm finding a wakelock rather disturbing. It happens as soon as i turn on the "Use wireless networks" under the Location services settings.
If it's turned off, the wakelock disappears. But you know, it's hard to live with it turned off, as it greatly helps the GPS set a location way faster than it would do on its own... So using location based apps while it's off is a pain in the ass.
Any suggestions?
Thanks
Alphadan said:
Hello all,
I am more than happy with my SIII but I'm finding a wakelock rather disturbing. It happens as soon as i turn on the "Use wireless networks" under the Location services settings.
If it's turned off, the wakelock disappears. But you know, it's hard to live with it turned off, as it greatly helps the GPS set a location way faster than it would do on its own... So using location based apps while it's off is a pain in the ass.
Any suggestions?
Thanks
Click to expand...
Click to collapse
Nothing can be done about it really. Applications poll location data constantly when this option is ticked. It even tells you data is collected in the background regardless of what you are doing. To be honest many can cope with the 5-10 second wait for a GPS fix. Either deal with the drain or disable it.
5-10 seconds?? Most of the time I get message saying current location is temporarily unavailable, especially when I'm indoors.
I can't believe I have to deal with this problem. Am I the only one with this problem?? I was expecting a better answer.
just deactivate it. if you use a gps-app it will tell you to activate GPS anyways and while doing that you can then activate the network location as well.
with lbe privacy guard you can Block it if you are rooted
Sent from my GT-I9300 using xda app-developers app
So basically there's no proper fix for this. All I can do is work around the issue? Coming from an iphone I feel this is a bit frustrating.
Thing is that the option I have to disable does not use GPS. It uses mobile signal and WiFi radios, so turning off GPS is useless.
Can anybody else help?
disable Google now,I think you will find that is what is polling your location
slaphead20 said:
disable Google now,I think you will find that is what is polling your location
Click to expand...
Click to collapse
It's been disabled all along, as I am Spanish and the current support for that language is nonexistent.
Any other ideas guys?
Alphadan said:
So basically there's no proper fix for this. All I can do is work around the issue? Coming from an iphone I feel this is a bit frustrating.
Click to expand...
Click to collapse
coming from iPhone then you should know that the 4S had a similar problem when it came out, and the workaround was about the same...how you felt back then??
edit
how do you check if you have partial wakelock on an iphone btw??
Disable location in general and use Tasker or make a profile on AOSP rom to turn on location service when you're going out. After all you don't need location indoors right?
Sent from my GT-I9300 using xda premium
Tokarin said:
Disable location in general and use Tasker or make a profile on AOSP rom to turn on location service when you're going out. After all you don't need location indoors right?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Well, in theory, your solution sounds awesome. But as i stated earlier, there's a small problem: battery drain is not caused by the GPS itself, but by the other "tricks" the phone has in order to find a location (wifi and radio).
I don't know about that problem with the 4S, but as you said, it occurred when it came out. The SIII has been out for 6 months now, and there's been several updates, yet the issue is still there.
BTW, i check the partial wakelocks with Better Battery Stats (you can find it for free here on the forums)
Just a general question... Does anyone else have this issue? If any of you guys do, then i'll learn to live with it, but being the only one would really make me feel silly.
Well, I just don't use that option, AFAIK the new cm10 build changed the GPS so that it no longer favor the North America but search for the nearest satellite instead. I notice this change already make my gps quick enough so I don't bother..
Sent from my GT-I9300 using xda premium
I have the same problem. The only solution I found was to disable networks location. Is there any app to identify clearly what is the app that it's requesting location from Google services? It is not maps because with 3g watchdog installed it reports separated (maps and Google services) the leak is on Google services.
Ps: I have found that this problem only exists when connected to a WiFi network. On 3g the requests are less intensive.
Sent from my GT-I9300 using Tapatalk 2
Well I've just been doing some investigating with Better Battery Stats to find out why my battery was so bad with JB compared to ICS, then googled the NetworkLocationLocator as that seems to be the problem which brought me here (I'm a member anyway).
I must say it's pretty disappointing that this problem is occurring because surely the same option was being used in ICS and it never drained my battery back then. The only thing I can think of is Google Now has something to do with this. I have Google Now disabled anyway as (although it's a brilliant feature) it doesn't really benefit me as I don't travel around much, but I get the feeling that is the root of this problem because that's the biggest change in coming from ICS to JB (other than cosmetics and UI) right?
This is not even a problem.
People tick all kind of options or fail to go to see their apps properly starting from Facebook, Google+ , Google now, weather apps... And then complain how come they get excessive polling.
Problem lies in those same people wanting those services to record their location , but don't want any battery drain... At least case with all those around me that asked.
Trust me without WiFi and network triangulation the same services when allowed waste way more power using real GPS.
Testing JKay alpha on GT-I9300
Idan73 said:
This is not even a problem.
People tick all kind of options or fail to go to see their apps properly starting from Facebook, Google+ , Google now, weather apps... And then complain how come they get excessive polling.
Problem lies in those same people wanting those services to record their location , but don't want any battery drain... At least case with all those around me that asked.
Trust me without WiFi and network triangulation the same services when allowed waste way more power using real GPS.
Testing JKay alpha on GT-I9300
Click to expand...
Click to collapse
Thanks for the sweeping generalisation but I had the exact same option ticked in ICS and it was never a problem. Fact is in JB it causes a problem for some reason. It may be Google Now, who knows, but one things for sure, I should be able to have that option ticked and not have it keep my phone awake all night.
Sent from my GT-I9300 using xda app-developers app
Maybe I misunderstood. Sorry.
I use Google now and maps for network location as well as fancy widget polling every 2 hours. All other apps I individually where permitted set to off.
This setup does not keep my phone all night. I see where it wakes the phone in intervals and does its thing and goes back to sleep. Combined with my exchange email polling every hour overnight, I don't see any excessive battery usage compared to what I had with ICS.
Testing JKay alpha on GT-I9300
Turn of location history, leave the rest on. Wakelock is still there but less.

[Q] no push notifications on wifi with KK

I upgraded my phone to KK back in late december and have been on it ever since but one problem has plagued me since then and I'm hoping to get some insight here. heres the problem...
When im connected to wifi (and this is only with wifi, not MD) I don't get my push notifications (gmail,fb,words,hangouts,etc) when the screen is off.Often i turn my screen on and get a barrage of notifications that i should have gotten hours ago. Ive tried all the sleep modes and Ive tried turning off wifi optimization.Nothing works and I know for fact it did not do this on JB.
I DO get text messages and phone calls instantly though but nothing else will wake my phone up. While i do enjoy the deep sleep, i would like to get my notifications in a reasonable amount of time without having to turn the phone on to check them.
Has anyone else had this "problem"?
Nope. Have you looked into what is and isn't checked in your Google Settings? There's a Play Games tab that allows you to mute certain games, essentially stopping their notifications. I don't suppose you've messed with that, have you?
It's strange, I've not really heard of this, especially since you're getting texts and such.
SteveMurphy said:
Nope. Have you looked into what is and isn't checked in your Google Settings? There's a Play Games tab that allows you to mute certain games, essentially stopping their notifications. I don't suppose you've messed with that, have you?
It's strange, I've not really heard of this, especially since you're getting texts and such.
Click to expand...
Click to collapse
Yeah i know and I've googled it to death for a few months now. I'll check g settings but idk why that would stop gmail. It's like when I'm on Wi-Fi w/ the screen off its just a plain old dumb phone. I turn the screen on and the notifications just flood in.
Edit: nothing in g settings is muted. The only thing i can think of is i don't have app data synced in accounts.
I think i figured it out. I had "sync app data" unchecked in accounts. So far I've been getting notifications screen on and off. Now if someone will just play back to me on wwf...
EDIT: i may have spoke too soon. It still doesnt wake up without turning on my screen
hey @SteveMurphy do you by chance use the active display?
razen_kain said:
hey @SteveMurphy do you by chance use the active display?
Click to expand...
Click to collapse
I did when I was using Omni and it worked great. I haven't used it since running RR, however.
So you're wifi connected, and have actively turned mobile data off? I have never even tried that...
If, however, you mean that this happens only when you're connected to WiFi, then no, I have not experienced this issue.
The only other setting that I can think of that pertains to sync is in system settings > Data usage > settings > [ ] auto-sync data, but I don't think that would cause the awake-vs-sleep sync issues that you're describing.
I used to use Active display, I currently use AcDisplay, I'll likely go back to using the baked-in active display.
razen_kain said:
[...](and this is only with wifi, not MD) I don't get my push notifications (gmail,fb,words,hangouts,etc) when the screen is off.[...]
Click to expand...
Click to collapse
cyril279 said:
So you're wifi connected, and have actively turned mobile data off? I have never even tried that...
If, however, you mean that this happens only when you're connected to WiFi, then no, I have not experienced this issue.
The only other setting that I can think of that pertains to sync is in system settings > Data usage > settings > [ ] auto-sync data, but I don't think that would cause the awake-vs-sleep sync issues that you're describing.
I used to use Active display, I currently use AcDisplay, I'll likely go back to using the baked-in active display.
Click to expand...
Click to collapse
No i never turn mobile data off. I just meant that notifications come as expected when I'm on mobile data but on Wi-Fi, once the phone hits deep sleep (<a minute) i won't get notifications unless i turn the screen on.
I ask about active display because i remember when on resurrection ROM i was using it and getting notifications then and kind of forgot about it but I'm on PAC 4.4 now and it's doing it again. However i was using the init.d scripts they have baked in but have them all turned back off now to see if that fixes it.
It's the strangest thing I've seen. It's like when I'm on Wi-Fi and turn the screen off it just disconnects from all data even though i can plainly see that it is not. Angela has the same phone with the same settings as mine but on RR 5.0.5 and she gets notifications fine.
@cyril279 I knnow this is off topic but have you tried this AD app? Its got some other features/customizations that aren't on the built in AD
https://play.google.com/store/apps/details?id=com.greatbytes.activenotifications
That was actually one of the first active-display variants that I tried. It worked well, but there were a couple hiccups that kept me shopping. The add-on AD clones have great features, but they don't play well with the stock lockscreen, or they leave the [home] button active, or involve significant lag when evoking the notification. The baked-in clones operate fluidly, but without the cool-stuff. I haven't tried active notifications recently though, maybe the updates have smoothed things out. I'm definitely down to try it again.
AcDisplay's development has been re-directed by Motorola. It's still my favorite of the clones, the beta version is boss, but it still isn't as fluid as the built-in boring-ol Omni AD.
razen_kain said:
@cyril279 I knnow this is off topic but have you tried this AD app? Its got some other features/customizations that aren't on the built in AD
https://play.google.com/store/apps/details?id=com.greatbytes.activenotifications
Click to expand...
Click to collapse
cyril279 said:
That was actually one of the first active-display variants that I tried. It worked well, but there were a couple hiccups that kept me shopping. The add-on AD clones have great features, but they don't play well with the stock lockscreen, or they leave the [home] button active, or involve significant lag when evoking the notification. The baked-in clones operate fluidly, but without the cool-stuff. I haven't tried active notifications recently though, maybe the updates have smoothed things out. I'm definitely down to try it again.
AcDisplay's development has been re-directed by Motorola. It's still my favorite of the clones, the beta version is boss, but it still isn't as fluid as the built-in boring-ol Omni AD.
Click to expand...
Click to collapse
Well all my testing so far has lead me no where with the exception of using that app. So far, I've not been able to reproduce the problem while using it. The question is,"what is it doing" to make it work....
EDIT: The app does not fix it....
just thinking out loud herebut, could this be a kernel issue? Im currently using PAC's kernel that comes packaged in the rom. Maybe I should try @RenderBroken 's kernel...?
Edit: Using RB's kernel breaks some of the PAC features and it did not fix my notification issue
https://code.google.com/p/android/issues/detail?id=42272
razen_kain said:
just thinking out loud herebut, could this be a kernel issue? Im currently using PAC's kernel that comes packaged in the rom. Maybe I should try @RenderBroken 's kernel...?
Edit: Using RB's kernel breaks some of the PAC features and it did not fix my notification issue
https://code.google.com/p/android/issues/detail?id=42272
Click to expand...
Click to collapse
PAC uses a modified ramdisk compared to other CM derived roms. Are you only having issues trying to get PAC running on your phone? Is it KK or JB?
RenderBroken said:
PAC uses a modified ramdisk compared to other CM derived roms. Are you only having issues trying to get PAC running on your phone? Is it KK or JB?
Click to expand...
Click to collapse
Its 4.4 and I have faced this issue on every rom Ive tried since switching to KK. Im starting to wonder if it's not an issue with my wifi. Im wondering if maybe my wifi is suspending my connection when my phone goes quiet.
RenderBroken said:
PAC uses a modified ramdisk compared to other CM derived roms...
Click to expand...
Click to collapse
Render, great information as always. razen, I'm no help to you on this - just felt like popping in to say "hi".
SteveMurphy said:
Render, great information as always. razen, I'm no help to you on this - just felt like popping in to say "hi".
Click to expand...
Click to collapse
It's always good to have you around buddy.
[SOLVED] Not Receiving Notifications on WiFi
My suspicions have paid off!! I started suspecting my router was the culprit so i pulled out my old netgear2400 and hooked it up and low and behold my notifications starting lighting my phone up again!!
The problem was the Xfinity router that came from comcast. Apparently it was closing the "heartbeat" line to stay connected when the screen was off before the heartbeat would send again, if that makes sense.
For the time being I'm going to just use my netgear router BUT I was able to fix the problem with the Xfinity router by using an app called Push Notification Fixer. Just install it, follow the instructions, and set the WIFI/mobile data heartbeat to the recommended settings. If that don't work start shortening the heartbeat time. It'll make sense when you see the app.
Hope this helps someone else along the way. I went a LONG WAY down the google rabbit hole before I figured this one out.
Great news, glad it was an easy fix!
razen_kain said:
My suspicions have paid off!! I started suspecting my router was the culprit so i pulled out my old netgear2400 and hooked it up and low and behold my notifications starting lighting my phone up again!!
The problem was the Xfinity router that came from comcast. Apparently it was closing the "heartbeat" line to stay connected when the screen was off before the heartbeat would send again, if that makes sense.
For the time being I'm going to just use my netgear router BUT I was able to fix the problem with the Xfinity router by using an app called Push Notification Fixer. Just install it, follow the instructions, and set the WIFI/mobile data heartbeat to the recommended settings. If that don't work start shortening the heartbeat time. It'll make sense when you see the app.
Hope this helps someone else along the way. I went a LONG WAY down the google rabbit hole before I figured this one out.
Click to expand...
Click to collapse
Great news! Now you just need to install DD-wrt on your router and turn it from a $40 router to a $400. I know you like to tinker but check it out. ITs free and its just firmware for certain routers. It turned my old wrt54g into a baus
razen_kain said:
My suspicions have paid off!! I started suspecting my router was the culprit so i pulled out my old netgear2400 and hooked it up and low and behold my notifications starting lighting my phone up again!!
The problem was the Xfinity router that came from comcast. Apparently it was closing the "heartbeat" line to stay connected when the screen was off before the heartbeat would send again, if that makes sense.
For the time being I'm going to just use my netgear router BUT I was able to fix the problem with the Xfinity router by using an app called Push Notification Fixer. Just install it, follow the instructions, and set the WIFI/mobile data heartbeat to the recommended settings. If that don't work start shortening the heartbeat time. It'll make sense when you see the app.
Hope this helps someone else along the way. I went a LONG WAY down the google rabbit hole before I figured this one out.
Click to expand...
Click to collapse
I'm having the same issue with KitKat CM11 ROM on my HP Touchpad (which is WiFi only), and will have to try this. Notifications come in instantly on my iPhone/iPads, but my Touchpad gets some serious delays...sometimes right away, and sometimes delayed.
By the way, did "Sync App Data" setting for an account have anything to do with push notifications, or is that more for backup purposes?
---------- Post added at 02:32 PM ---------- Previous post was at 02:04 PM ----------
Oh darn, mine is still delayed even with the push notification fixer installed and WiFi heartbeat at 5min. Even after I've just rebooted my Touchpad, actively using it, and not even 5 minutes has passed. Delay was 8 minutes and then the notifications came streaming in.
With Android/KitKat, do you have to have the app open in the background for push notifications to go thru? Or run the app at least once after a reboot?

My Way of Turning Cell Radio off When Wifi Connected

I'm sure this has been done with Tasker etc, but here is my way of turning off the cell radio when connected to my home wifi. Saw just shy of 6 hours screen on time today for the first time so thought I'd share.
When connected to home/work wifi, it turns off the cell radio, thereby relying on Wifi for Project Fi calls and texts. When leaving home/work wifi range, cell radio is re-enabled.
Download and install Automate: https://play.google.com/store/apps/details?id=com.llamalab.automate&hl=en
Open it and click on the people icon on the top right corner of the app. Search Project Fi Airplane Mode. This is my "flow", download it then back out to the main screen.
Click "Project Fi Home Wifi=Airplane Mode". Click the pen icon on top, then Flowchart. Here we will change it from my network to yours. Click on the "when wifi connected" box. When you're connected to your home or work wifi network, select pick a network box and select it. Click done Click check mark on top. Install the permissions listed on this screen. Click start. Enjoy some nice battery savings Project Fi users!
I see, this app uses electrical grid to explain your automation, i use tasker but it requires secure settings to enable flight mode etc. Which has been broken since android L i believe, will try this app as it has the fucntions required
republicano said:
I see, this app uses electrical grid to explain your automation, i use tasker but it requires secure settings to enable flight mode etc. Which has been broken since android L i believe, will try this app as it has the fucntions required
Click to expand...
Click to collapse
I don't do much with Secure Settings, but it's been working fine for what I do with it, which is mostly GPS toggles. I just couldn't do system less root
republicano said:
I see, this app uses electrical grid to explain your automation, i use tasker but it requires secure settings to enable flight mode etc. Which has been broken since android L i believe, will try this app as it has the fucntions required
Click to expand...
Click to collapse
The Airplane Radios feature is still working perfectly from secure settings. I'm using it right now and it's working nicely! The only issue with it atm has been that, like @inzandity stated, Secure Settings does not cooperate with Systemless root, but that's really no big deal if you dont care much for Android Pay.
republicano said:
I see, this app uses electrical grid to explain your automation, i use tasker but it requires secure settings to enable flight mode etc. Which has been broken since android L i believe, will try this app as it has the fucntions required
Click to expand...
Click to collapse
Yes, it's really a great UI. I found the app this week and have had a lot of fun making tasks with it.
hawkswind1 said:
Yes, it's really a great UI. I found the app this week and have had a lot of fun making tasks with it.
Click to expand...
Click to collapse
I want to play around more with this as I like the interface. The only problem I'm having is, currently I'm using phhusson's superuser and it doesn't seem to be getting the su request from Automate. Up until now, I've used Tasker and Secure Settings to do the same and they work fine.
Tasker will do that, GravityBox will do it too, and so will multiple IFTT type apps. Not sure there is much new here.
GroovyGeek said:
Tasker will do that, GravityBox will do it too, and so will multiple IFTT type apps. Not sure there is much new here.
Click to expand...
Click to collapse
I'm aware of Tasker + Secure Settings, but where is this in GravityBox? I don't see anything in Smart Radio that shuts off the radio completely when connected to wifi. Also curious which apps in particular do this.
hawkswind1 said:
I'm aware of Tasker + Secure Settings, but where is this in GravityBox? I don't see anything in Smart Radio that shuts off the radio completely when connected to wifi. Also curious which apps in particular do this.
Click to expand...
Click to collapse
Yes, Smart Radio will not turn off the radio completely, but you can set it to 2G mode where the power consumption drops drastically relative to LTE. Now that you have pointed this out, why would you want to shut off the radio completely when connected to WiFi? That means that you loose phone functionality, and cannot receive or make phone calls.
As for apps that do this https://ifttt.com/ should work, at least before Marshmallow where Google clamped down on some settings adjustments.
GroovyGeek said:
Yes, Smart Radio will not turn off the radio completely, but you can set it to 2G mode where the power consumption drops drastically relative to LTE. Now that you have pointed this out, why would you want to shut off the radio completely when connected to WiFi? That means that you loose phone functionality, and cannot receive or make phone calls.
As for apps that do this https://ifttt.com/ should work, at least before Marshmallow where Google clamped down on some settings adjustments.
Click to expand...
Click to collapse
No phone functionality is lost that I'm aware of, since Project Fi calls and texts will be routed through the wifi connection.
hawkswind1 said:
No phone functionality is lost that I'm aware of, since Project Fi calls and texts will be routed through the wifi connection.
Click to expand...
Click to collapse
Got it, I did not read your OP in sufficient detail. For those that have Project Fi this could be value added. In my experience the 2G radio draws negligible power (standby time in 2G of a phone with a 3000mAh battery will be measured in weeks with the screen off) so the difference between fully off, and 2G only (or even 3G only) will be minor with respect to SOT, which will be dominated by the screen and wifi anyway.
​
GroovyGeek said:
Got it, I did not read your OP in sufficient detail. For those that have Project Fi this could be value added. In my experience the 2G radio draws negligible power (standby time in 2G of a phone with a 3000mAh battery will be measured in weeks with the screen off) so the difference between fully off, and 2G only (or even 3G only) will be minor with respect to SOT, which will be dominated by the screen and wifi anyway.
Click to expand...
Click to collapse
I think that's right. 2g uses very little power, unless you are in a building or house that has low signal. I work in GM factory where I can barely pull 2g data.
Is there any way you could update this to include Bluetooth turning on after airplane mode is activated in addition to wifi, that way my smart watch can always stay connected too. Either way thanks for the post, it works great!
DistortStatic said:
Is there any way you could update this to include Bluetooth turning on after airplane mode is activated in addition to wifi, that way my smart watch can always stay connected too. Either way thanks for the post, it works great!
Click to expand...
Click to collapse
I just uploaded a version that will keep bluetooth on as well. Find it by searching the community for "project fi bluetooth"
hawkswind1 said:
I just uploaded a version that will keep bluetooth on as well. Find it by searching the community for "project fi bluetooth"
Click to expand...
Click to collapse
Thank you so much, this is going to be amazing for my battery life. Toggling airplane mode and wifi and Bluetooth just became too tedious after awhile, but now I can save power effortlessly.

Categories

Resources