yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] IlFritz:
You are right, my only problem is with Bluetooth, everything else works fine. BTW I'll wait for the update. Thank you again and again great app.
[Android Apps and Games] ferotakis:
Not work on stock 4.1.1 JB :'( Alcatel onetouch idol 6030x MTK 6577
[Android Apps and Games] Flyview:
Yes, that is correct. You can swipe it away, as long as you aren't on KitKat 4.4.2 which has a bug regarding services with "START_STICKY" flag. Because of this bug, the service won't be able to automatically restart, so I would avoid it.

More details? What doesn't work?
[Android Apps and Games] hp420:
Sort of. I basically need what this app offers, but also a way for google voice to be whitelisted so any incoming calls can still come through. Since google voice still uses data for a split second when it forwards the call from my google voice phone number to my tmobile one. The rest of the call uses absolutely no data, and only voice connectivity after the initial call forwarding.
[Android Apps and Games] Flyview:
Oh I see. Yea that would be difficult to do, since once the data is off, we will never know that Google Voice is calling. I'm afraid you need constant data connectivity!
[Android Apps and Games] mwrobe1:
This is a great utility. I can verify its shutting down Wifi/Mobile/BT and turning Wifi/Mobile back on as set in the settings on my GS3...and improving standby battery drain.

I'm going to test BT staying on/waking up later today (my vehicle gives me an in dash notification when it pairs to it)

If I may so suggest (yet still realizing its your app and you'll do w/it as you please) please...keep it simple. About the only other feature that would make this total zen, is a SleepMode slider/or inputs (i.e. specify a period of time where Wifi/Mobile/BT are turned off completely...overriding the "wake for sync setting".

I realize this is just laziness on my part...I COULD just set the wake for sync setting for 6-8 hours before I turn in for the night...but I'm a big fan of "set it and forget it". If that could be done...COOL...if not...its still a great utility.
[Android Apps and Games] oll0:
+1 to this suggestion. It would be amazing if you could set the turn-off and re-enable delay, and then define periods/time intervals in which those apply. Sort of like in the stock android alarm app, where you can choose to repeat the alarm on specific days of the week.

For example: no checks between 1am and 7am, frequent checks between 7am and 9am, infrequent checks between 9am and 5pm, frequent checks between 5pm and 1am. I hope this makes sense.

As mwrobe1 already said tho, this is your app - and it's a great one :)

cheers mate

P.S.: for anyone who wants to avoid unnecessary syncs within the time-window LeanData opens - simply use Greenify.
[Android Apps and Games] Flyview:
I just published an update. It should be available on Google Play in a couple of hours. Enjoy!

P.s. Please let me know of any bugs, I did it a bit too quickly :P

Changelog:

1.1.0 (May 9, 2014):

-Will not disable connections if tethering (through WiFi or Bluetooth)

-Bluetooth functionality only available on ICS+ (cannot check connected devices)

-Removed wake-lock during sync

-Increased time over which it checks data usage to 5s

-Increased significant bandwidth to 2kB/s

-Will not allow sync interval times of <10min

-Note interval times may not be followed exactly due to inexact alarms! (battery efficient)
[Android Apps and Games] hp420:
Yup, basically. I just wish there were a way to do this. If we could have a whitelist/blacklist for data connections I think that would be an enormous battery saver!! I'm sure there are a ton of really popular apps that poll every couple minutes, like fb or twitter types, for example. Slowing them down or stopping them entirely until we want to use them would be a huge benefit.
[Android Apps and Games] fidorulz:
Great app. Reminds me of green power which I use now and juice defender which I used to use prior.

Had a few questions. For the sync is the app waiting for all the syncing to compleat or checking for traffic?

Any chance of maybe adding 2 options

Day and night mode. Same options available for both except depending on hours selected app would react differently

Some people like me at night don't need data or sync unless I unlock my device

Maybe add an option for the sync duration so let's say for the interval selected have an option for the duration so 2min 5min or 10min

Might replace green power completely
[Android Apps and Games] RobboW:
I would not combine LeanData with Sony Stamina.

I'm not toggling wifi with LeanData now. I was testing with it and it worked but my phone works efficiently on wifi already, so now I unchecked wifi and will mostly use it to limit 3G data use when I'm out.

The suggestions of having a time period to stop it from auto connecting are good. I turn off wifi and 3G when sleeping so that emails and notifications don't disturb us, but a call can still be received on 2G.

---------- Post added at 07:48 AM ---------- Previous post was at 07:37 AM ----------

Any Thoughts of making an Xposed module alternative for this :)

I won't use Greenify in conjunction with this. Every time I use Greenify I have weird issues with the phone and now will not install it.
[Android Apps and Games] mamouton:
I was having great results with one minute though. I will use it report back. If we Purchased via play store will the prevously purchased functions still be available?
[Android Apps and Games] Flyview:
Of course, all current and future premium options.
[Android Apps and Games] mamouton:
Yes I thought the 5 min was a premium feature since it wouldn't change. Thanks for responding! Great app!
[Android Apps and Games] TrueFriend-cz:
Please add support for enable/disable fly mode. And delay option... If screen on/unlocked X sec. then re-enable.
[Android Apps and Games] Darke5tShad0w:
Nice update :)
[Android Apps and Games] Flyview:
And after a couple more quick updates (thanks everyone for the quick bug reports):

2.0.2 August 20, 2014

-Fixed not scrollable on some devices

-Option to not disable WiFi if uses web login

-Option to toggle notification

-Option to not disable if charging (previously always true)

-Option to donate

-Recognizes wireless charging

-Removed data option for devices without radio

-24h time format

-Changed default time to disable to 10min

-Changed minimum time to disable to 5min (better for battery!)

-Premium features more obvious

-Layout changes

-Added Ukrainian, Dutch, Polish, Hungarian translations
[Android Apps and Games] maniac2403:
Very nice update!

FYI, did you mean August 2014? :D
[Android Apps and Games] Flyview:
Yes I did, thanks.
[Android Apps and Games] macia10:
Hi,

It bothers me that now min time to disable data is 5min. I always had it set to 1min
[Android Apps and Games] Flyview:
Hi there,

You aren't the only one. I might add it back. Here's the reason for the change:

It is better not to toggle the connections on and off too much. If you are checking your phone every few minutes, this constant re-connection may use up more battery than leaving connections on. 5min ensures enough idle time away from the phone. It also gives LeanDroid a longer time to figure out ongoing activity for the "except if active" option. This is tricky with some "streaming" services that actually download sporadically instead of constantly streaming.

If I do add it back I will need a warning dialog if using "except if inactive" and a time to disable of less than 5 minutes.
[Android Apps and Games] macia10:
Well you could leave it at 5min as default but at least let people change it to less than that :)
[Android Apps and Games] Flyview:
The restrictions have been lifted with 2.0.3!
[Android Apps and Games] tmacher:
If I am not wrong in android 4+ applications can't change the fly mode status.
[Android Apps and Games] Flyview:
Let's talk about this. When would you want LD to toggle flight mode?
[Android Apps and Games] TrueFriend-cz:
1.fly mode: If screen off or lockscreen then activate fly mode (next line as others disable - wifi, data). Example: Add next line as Disable WiFi, Disable Data, and new line Enable Fly Mode (or for better name, Disable All).

2.delay reenable: if screen on, delay xx sec. after xx sec., reenable. Example: If set reenable screen on delay 5 sec. and screen on less 5 sec. reenabling not running.

Sorry my bad english
[Android Apps and Games] tmacher:
Fly mode can activate in pre-set hours for example in the night.
[Android Apps and Games] Flyview:
I'm looking into it. Trying to add Airplane mode and GPS, but after 4.2 it's more difficult and will certainly require root.
[Android Apps and Games] TrueFriend-cz:
Thank you very much. Root no problem. Many/advanced users have root. Simple users simply basis. Other products as LD no have simply advanced functions as Airplane mode, GPS, etc. You can add root detect and functions for rooted phones use/show only on rooted phones.
[Android Apps and Games] Flyview:
How are you guys liking the new options? If you haven't left a review, please do so :) , sitting at 999 five star reviews right now.
[Android Apps and Games] MajorWinters:
Ok 5 star review in google play is done! :good::laugh:
[Android Apps and Games] Darke5tShad0w:
Im liking it very much, once again its an awesome app.
[Android Apps and Games] sohojmanush:
"Disable except time" option not working :( I set it to 0800 hr to 0245hr.But, keep disabling when screen goes dark
[Android Apps and Games] Darke5tShad0w:
Could you post a screenshot of your settings?
[Android Apps and Games] sohojmanush:
Here is an screen shot :D
[Android Apps and Games] Darke5tShad0w:
So if i read that right you are using 24hr time?

From what i see leandata will only work between 2:40am in the early morning until 8am in the morning. The rest of the time leandata is off and the connections will stay active. Is this what you are trying to achieve? Just trying to work it through in my head.
[Android Apps and Games] d8v8n8:
Hi Flyview,

Just to let you know that I like very much that version 2.0.3 seems to reconnect faster than pre-version 2. Bravo. I like the fact that LeanDroid is still so light and not bloated. I hope you'll keep it that way so it continues to work smoothly.

Regards
[Android Apps and Games] sohojmanush:
Yes :D
[Android Apps and Games] Flyview:
I will check it out and try the same settings. Please make sure no other apps are toggling connections. I see lamma up in status bar?

Sent from my Nexus 5
[Android Apps and Games] sohojmanush:
yes but all llama profiles are ringer profile related and I have smart wifi toggler too,i tried turning that off too,but no luck..wifi keep turning off after screen goes down
[Android Apps and Games] Flyview:
The exception works for me (and everyone else or I would have hundreds of emails). Please check the following setting.

Settings, WiFi, advanced, Keep WiFi on during sleep. Should be set to always. Careful though sometimes this is worded the other way around.

If that's OK, please try uninstalling that WiFi toggler and try again.

Sent from my Nexus 5
[Android Apps and Games] sohojmanush:
My case problem starts after 12am. Here is a screen shot of my wifi settings and I tried to provide a logcat of 1.10 min,where leandata set to turn off wifi after 1 min
[Android Apps and Games] Flyview:
Unfortunately the log does not help since I turned off debugging calls in the production apk. I will test again with your time interval and see if connections are disabled right after midnight. Thanks for checking the WiFi settings.
[Android Apps and Games] Flyview:
Bug confirmed! Thanks a lot for reporting this.

Looks like there's a problem in my logic when the exception spans two different days and the FROM time is greater than the TO time.

I will fix this for the next update, please be patient.

Sent from my Nexus 5
[Android Apps and Games] Darke5tShad0w:
[MENTION=2584205]Flyview[/MENTION]

Thanks for the new update, the GPS option will be awesome.

By the way can I ask for the reason for the 2 new required phone and access all data/feature permissions?

The last one I assume is for the GPS but what about the phone one?

Thanks.
[Android Apps and Games] Flyview:
Hey,

Good question.

New permissions:

MODIFY_PHONE_STATE - Needed to control data on Android 2.2.

ACCESS_SUPER_USER - This is for the root (superuser) requirement in order to control GPS on KitKat.

The superuser permission sounds scary, but it in no way means the app has access to all your data/features. All LeanDroid does with superuser is toggle the GPS radio.

Sent from my Nexus 5
[Android Apps and Games] Darke5tShad0w:
Thanks.

Im not worried about the superuser bit, I guessed as I knew it needs root to operate that and I trust your work. It was the modify phone state that had me curious lol.
[Android Apps and Games] Flyview:
Let me know how version 2.1.0 works for your scheduling. It should be fixed.
[Android Apps and Games] TrueFriend-cz:
Thank you for GPS support. Can you add airplane mode?
[Android Apps and Games] Flyview:
It's coming.

Sent from my Nexus 5
[Android Apps and Games] Flyview:
Having said that I'm still not sure how I'll implement it. I probably don't want to add "Disable phone" after the same time out as the rest. More useful as a setting between a certain time of day?

Sent from my Nexus 5
[Android Apps and Games] spanish33:
Yes should be a separate timeout from the rest.
[Android Apps and Games] kalans:
Liking this!
[Android Apps and Games] makkie88:
Thanks!

Thanks for this great app, i was looking for doing this in tasker, but this is much easier.

extended my batterylife from 9 hours to 36 hours :D (also by not nerviously checking my Phone after be buzzed every minute)

I payed for the advance settings
[Android Apps and Games] cschmitt:
I can't think of a reason for enabling airplane mode after a timeout, but maybe on a schedule would be useful to some.

And I see no need to disable GPS as doing so doesn't save any power at all and it interferes with Google Now.

Honestly, what attracted me to LD was the simplicity of the app but it seems to be departing from that lately.
[Android Apps and Games] Flyview:
It still works just as simply, but yes there are more options since people have different needs. For example I added the except while charging to allow the device to charge more quickly. Although I admit that's only probably needed for USB / wireless charging. Disabling GPS helps if you have any apps that randomly turn on the GPS btiefly, as I've seen happen on my phone. I suspect it's Google's location services. I don't use Google now since it's a major battery drain. How does it work with data turned off?

Sent from my Nexus 5
[Android Apps and Games] cschmitt:
Google Now's main cause of battery drain is frequent wake ups and wakelocks so I use CM's Privacy Guard to disable wake up and wakelocks of Google Play Services and Google Search, that way they can still do their thing but only if the device is already awake for some other reason, like when LD periodically wakes to enable mobile data.

This is also why I'm not concerned with disabling GPS because if play services can't wake my device then it also can't randomly turn on GPS to use battery.

Overall Google Now still functions well, but it's just reined in to behave in a more battery friendly way.
[Android Apps and Games] Flyview:
Good stuff, but see most users of the app don't do what you do to tame Google Now, so GPS toggling may still save battery.
[Android Apps and Games] rogxd:
"Disable except web login" often doesn't works well: with "Disable -> WiFi -> Except web login" the WiFi is always active also for connections without web login.

I have the paid version with a non rooted stock Nexus 4.
[Android Apps and Games] Flyview:
Can you please post a screenshot of the other settings as well? If you use "except if active", it's possible the background activity is over your set limit. If you can show that on the same network, with " Except web login" it never disconnects and without it it disconnects that would help.

Sent from my Nexus 5
[Android Apps and Games] rogxd:
I use "Except if active: limit 1 kB/s (default value)". If I simply deselect "Except web login" the WiFi on/off works well.
[Android Apps and Games] Flyview:
Does the WiFi network you use have the same name as the last guest network you used?
[Android Apps and Games] rogxd:
No, the free network with web login that I used and the network of the Company where I work (without web login) have different names.
[Android Apps and Games] Flyview:
Weird, I haven't had a problem with it. I'll look over the code carefully.
[Android Apps and Games] Flyview:
Can you check if you can ping google.com and get a positive response from the network where you are seeing the problem (i.e. the network that isn't open but LeanDroid thinks it is)?
[Android Apps and Games] Darke5tShad0w:
I two noticed this today when connected to my work wifi just standard wpa2 but did not take much notice till his post.

Once my phone is charged ill do some testing for you
[Android Apps and Games] sohojmanush:
Its fixed but ..think I found a new one..will test more and post a new screen shot ( may be its not a bug) lets wait for my battery to drain :D
[Android Apps and Games] Flyview:
What did you notice? It's not disconnecting WiFi?

Let me know!!!
[Android Apps and Games] Flyview:
So I'm thinking of creating a "Root Helper" app that you would need to install alongside LeanDroid if you wanted the root-only features. This would allow me to remove the SUPERUSER permission from LeanDroid itself as this probably scares some people away. What do you guys think?
[Android Apps and Games] JerryGNYC:
I think that's a reasonable strategy.
[Android Apps and Games] d8v8n8:
+1
[Android Apps and Games] Darke5tShad0w:
Yes this is a good idea.

Yes, i toggled the on/off switch and it is now working fine.
[Android Apps and Games] Flyview:
OK but what was the problem initially? I think I need to increase the ping count, I only ping once and I happened to come across some documentation today where android itself pings and it says sometimes depending on the network the first two attempts might not work.

Sent from my Nexus 5
[Android Apps and Games] Darke5tShad0w:
The wifi was staying connected all the time. I have it set to activate after screen unlock but it was always active. Un ticked the weblogin option and it came right. After toggling the main option it all started working fine.
[Android Apps and Games] kalans:
[MENTION=2584205]Flyview[/MENTION] I use Llama with most of what you are doing here but a few other things, would you like for me to post the events from it?

Sent from my SM-G900A: ExtremeDebloat 2.3b
[Android Apps and Games] tomdreammi:
Good app, use it frquently.
[Android Apps and Games] Flyview:
Sure you can post them. Doesn't mean I'll necessarily like them for LeanDroid's purpose. I'm always open to ideas. :)

Sent from my Nexus 5
[Android Apps and Games] kalans:
[MENTION=2584205]Flyview[/MENTION] I guess the image will do :) idk why the xda app won't upload photos for me..

Sent from my SM-G900A: ExtremeDebloat 2.3b
[Android Apps and Games] Flyview:
Yea all those either already exist or have been suggested and I don't agree with. Thanks!

Sent from my Nexus 5
[Android Apps and Games] Flyview:
Just published version 2.1.1. Look for an update within the next hour or so!

2.1.1 (September 4, 2014)

-Fixed bug for Disable WiFi except if web login (sometimes incorrectly identified WiFi as having web login when it didn't)

-Colored layout based on options associated with connections ON or connections OFF

-Bug fixes for displaying of layout options

-Miscellaneous bug fixes and code improvement

-GPS toggling improvement
[Android Apps and Games] Darke5tShad0w:
Thanks, i was just about to tell you i tried the weblogin option enabled for 24 hours and it failed to disable on 2 networks, home one for the whole night and work one all day, one is a static ip setup the other dhcp but other than that standard setups. Verified by bbs.
[Android Apps and Games] GBxD:
This app replays Tasker which consumes more battery
[Android Apps and Games] Flyview:
No, this app does not use tasker.

Sent from my Nexus 5
[Android Apps and Games] Flyview:
Thanks for the debugging! Let me know how version 2.1.1 works out.

Sent from my Nexus 5
[Android Apps and Games] JerryGNYC:
+1
[Android Apps and Games] odavans:
+1 :)
[Android Apps and Games] Flyview:
Haha you guys are hard to please. Android "style" is moving back to light and I liked the dark action bar+light theme.

Sent from my Nexus 5
[Android Apps and Games] odavans:
Back to light but not ugly
[Android Apps and Games] JerryGNYC:
Well... yeah, we're a tough bunch of customers, ain't we? :p

How about the option for a dark theme? (please, please) From what I understand, my GS4's display will use less battery with a dark theme because it won't have to power up so many pixels... :D If that's not keeping in the spirt of LeanDroid's raison d'etre, I don't know what is... :good:
[Android Apps and Games] Flyview:
Yea I'll put in an option. Really though, how often do you guys open up LeanDroid?? I just set it and forget it pretty much.

Sent from my Nexus 5
[Android Apps and Games] Darke5tShad0w:
I like the new colour scheme!

It failed to turn off again during the night.

This was a 3rd diff network but again standard dhcp home setup. I will try again later when i pop home.

Rebooted phone and wifi on matched since reboot time again by bbs. Anything else you would like me to do? Would a logcat help in this situation?
[Android Apps and Games] Flyview:
So this network you hadn't tried the day before? Yea it would be but I'll have to send you a debugging version. Can you try pinging google.com on this network (or any other that doesn't work) and tell me what happens?

Sent from my Nexus 5
[Android Apps and Games] Darke5tShad0w:
Yes it is a diff one thats why ill test with my home one later today when I go there.

Just did acouple of other tests, with option enabled i turn on screen, wifi signal is there, as soon as I unlock I activate ping google in terminal and the network connection kinda works but is unstable sometimes getting response unreachable. I left it like this for a few minutes and confirmed by not being able to reach google in the browser and not being able to access google play and only fixed by manually turning off wifi for a few minutes then reactivating.

This is how the phone has been operating the last few days since I enabled the option but thought it was network issues and never linked it to this until now

With option disabled the wifi logo is not there when screen is turned on (Like how my settings are set), unlocked screen and could not ping google for the few seconds it took the wifi to connect then the connection was good as gold.

I had terminal setup ready to ping google as soon as the screen was unlocked.
[Android Apps and Games] Flyview:
Thanks... Well having the option enabled will definitely not change the way your network works. It sounds to me like the network is kind of unreliable. I test if a WiFi "requires web login" based on an unsuccessful ping response. There is another way that checks for a redirect in the expected and actual URL from a page request, but that doesn't work if the guest page doesn't actually change to its own URL when displaying the test page. This was the case with a random Belkin router I tried.

Keep in mind once LeanDroid thinks its a web login, it will remember the name as the "last WiFi with web login" and not check it again. Only one is stored however. I need this in case the service restarts after you've already logged in.

Sent from my Nexus 5
[Android Apps and Games] sohojmanush:
New version was working great,then it stopped working..now the time exception doesnt work at all.Besides that low battery exception also doesnt work either.
[Android Apps and Games] Flyview:
? More details? Which time exception? For disable or for sync?

Sent from my Nexus 5
[Android Apps and Games] Flyview:
The price for the premium upgrade has been reduced in many smaller countries. If you've been on the fence about the purchase, this is the time!

Sent from my Nexus 5