yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] sizzlers:
Is there possibility to , let's say put auto sync option in the app when in charge? Would be great to have cause it's the only thing I'm bothering to switch on and off all the time and would suit pretty nicely here
[Android Apps and Games] Flyview:
I think you could reduce the sync interval a bit, or just unlock your phone when you get in your car. That way everything will be restored and it will connect. Your suggestion for enabling BT when a call comes in is good, but I wonder if it would work quickly enough to actually connect the BT device before answering the call. I'll put it on the todo list. I can't detect when the phone is moved after a long idle phase (like Doze does), at least not that I know of.

I've never really found a need to toggle this option. With data off it won't be able to sync anyway. For the longest time I thought this toggle didn't even exist in stock Android but now I see it does under "Accounts" -> "Automatically sync data - Let apps refresh data automatically". It's not really clear what this applies to, and it's separate from the "background data" settings for apps. Anyone know more about this?
[Android Apps and Games] popy2006:
I dont want to reduce the sync intervall to restore all connections, just that BT connects.

That would be not be ideal for battery.

An dedicated option for the BT restore intervall would be great.

Thanks a lot to put it on the todo list. There is an app called Bluetooth AutoConnect, see here: https://play.google.com/store/apps/details?id=org.myklos.btautoconnect

It does exactly the same thing, and yes, at least this app is fast enougth. Afer 2-3 rings BT is connected to the car.

Sadly this app doesnt have an configurable intervall for restoring connections, so my pebble doesnt connect at all.

I dont know if its open source, but such an feature in LeanDroid would be really nice.

Like stated above, maybe an dedicated BT restore intervall would be great.

Thanks for keeping LD alive :)

pOpY
[Android Apps and Games] romasik:
Android Pie not work ((
[Android Apps and Games] Depressed T.Bear:
Thanks for the detailed feedback. Flyview can now track down the issue and provide you an updated version.

Seriously, provide us some more information about your problems. Don't think it's a problem in general, since I'm on pie too :P
[Android Apps and Games] xmzhd:
I like this app when I was in stock 8.0. After flash Lingeaos 16, it keeps stop running.. I have to clear cache or uninstall/reinstall to make it work. But after sometime it will crash again. Any one on Lingeaos has the issue ? Thanks!
[Android Apps and Games] gautamajay52:
Add a feature

Hey there!

How if there is an option to choose the data type we want to restore after screen on instead of restoring to the previous one.

This will also help people to change network to like lte only or 3g only option.

Plzz consider it.
[Android Apps and Games] discodestroyer10:
Hi, good to be back to this app after 2 years of being unrooted:)

On Android 10 (one plus 7 pro) it doesn't seem to turn location back on. Even though the switch in the quick tiles is activated, when I want to use any app that uses location services, I'm promoted to turn it on anyway. Is it just me?
[Android Apps and Games] sonvegeta:
Hi [MENTION=2584205]Flyview[/MENTION], thanks for the excelent work until these days. I bought a Redmi Note 7 and I'm testing the app, but it's impossible to use in the Miui due to the Security app (blasted Baidu!). Since Baidu is unsecure i'm using custom rom in the phone, and it works quite well in the android 9 and 10. I'm using Atom-OS Beta for the test in android 10.
[Android Apps and Games] ZockerFloh7:
Hey guys,

I tried to control leandroid via tasker send intents, but its not working.

Is it broken or where do I have to fill which information?

Thanks!
[Android Apps and Games] rodken:
You can try and play around with this. No guarantees this will solve your issue.
[Android Apps and Games] g000n:
Hasnt been updated in months, any good alternatives?
[Android Apps and Games] rodken:
Can you expound on your explanation regarding "good push notification"?
[Android Apps and Games] djsolidsnake86:
not working on android 10
[Android Apps and Games] sudanking:
It is working like well over here.

OnePlus 7 Pro OOS OB11
[Android Apps and Games] eliezerjk90:
Hey, just want to know if the app is still supported? I found a bug that the WiFi still turned off even if it is connected to the exempted WiFi.
[Android Apps and Games] Technical:
Yeah, I suffer from this bug since last week... :(
[Android Apps and Games] Flyview:
A real push notification which comes in as soon as the device gets Internet, as opposed to something relying on polling, etc.

What's not working?

I'll take a look. Last time I tested this it worked fine. Are you sure it's LD turning off WiFi and not something else?
[Android Apps and Games] Technical:
I'm moving from one ROM to another and will test it again next days. LD is the only app that I'm using to manage WiFi as far I know. Greenify does not change it and I'm not using Tasker anymore.
[Android Apps and Games] eliezerjk90:
As far as I'm aware LD is the only app that control the WiFi. I have naptime installed but I don't set it to turn off WiFi.

Thanks for the support
[Android Apps and Games] yule dee:
Excellent but need more improvement.exactly what we need to save battery time ,works perfectly.
[Android Apps and Games] TarAntonio:
Is possible to grant root permission to leandroid through adb?
[Android Apps and Games] RobboW:
That is a feature I would want if my phone had 4G. I didn't realise it doesn't do this already. Surely you can just turn off 4G yourself though? Wouldn't it be most useful when downloading a file, but not so much for normal use?
[Android Apps and Games] Peikko:
Does somebody know why my connection sometimes just won't turn on again? Or at least not to the time I have set it?

For example - sometimes I get an message which shows it's time 20 (or more) minutes back but I have set LeanData to check every 10 minutes.
[Android Apps and Games] Flyview:
Can you post all of your settings please (screenshot is easy)? What is the messaging app?
[Android Apps and Games] Peikko:
It happened with telegram.
[Android Apps and Games] Flyview:
Any idea how telegram handles its notifications? If it doesn't have push notifications, it might very well not be polling during LeanData's "sync" window of 1 minute, every 10 minutes. Make sense?

If this happened on WiFi, you should be able to see WiFi getting turned on approximately every 10 minutes in your battery usage screen. This is how you could verify if LeanData is in fact briefly re-enabling connections for sync.
[Android Apps and Games] Peikko:
Telegram uses push notifications. I will keep an eye on the battery usage screen. Thanks.
[Android Apps and Games] Flyview:
New version:

1.5.0

- "Disable only if inactive" is now a paid option

- New option: Set the "inactive limit" - the threshold for what you consider insignificant transfer in average kB/s during disable interval

- New option: unlock premium version

- Small bug fix with timing of disable connections when re-enable on unlock is chosen

- New service toggle button

I apologize that an option that was free is now paid. If you have already donated, please email me at teqtic@gmail.com.
[Android Apps and Games] Flyview:
Please let me know if you are still seeing an error in version 1.5.0.

Thanks!
[Android Apps and Games] Peikko:
Oh well. Now it is a app I have to pay for. I respect your choice but for me it is good bye from here.
[Android Apps and Games] occtec:
Well and truly worth every cent, thanks for the awesome app [MENTION=2584205]Flyview[/MENTION] [emoji106]

Just have one question, what is the best way to set 'disable only if inactive' kb's wise? what would you suggest as the best default to set this at?

Cheers
[Android Apps and Games] rogxd:
Why you don't leave for free the basic features? I respect your choice for next premium features, but the basic features that we are already using I think that can stay free.

I give you a tip: please keep the app light and simple, don't overdo with too many extra features... And keep low the price of premium version, please.

An idea: you could make a special edition only forn XDA users, downloadable from OP! ;)

Bye
[Android Apps and Games] occtec:
[MENTION=2584205]Flyview[/MENTION] can you share you recommended settings, since you are the developer ;)

EDIT: by the way I have purchased your premium app and respect your decision, thanks for your time and effort!
[Android Apps and Games] Flyview:
I will try and clean up the description and write up more in depth explanation of features.

Disable interval: LeanData is meant to save power by disabling connections while you are not using the device. This is why I recommend a "disable" time interval of at least 10 minutes. If you set it to 1min, but you check your phone ever 3 min, LeanData will be constantly toggling connections, and this might prove to be more inefficient than just leaving them on for a longer period until you are less likely to be using the phone in the coming period.

Sync interval: I would set this to at least 15minutes.

Briefly, "only disable if inactive" will only disable WiFi/Data if the average transfer (upload + download) during the "disable" period of time is less than the "inactive limit". What you want your device to consider insignificant transfer is up to you and your usage pattern.

For example, say you are streaming audio. Usually the transfer from a 128kpbs stream is about 16-17kB/s. If you would like LeanData to maintain streaming, set the limit to <16kB/s. However, keep in mind some apps use less data (partly because they may not use it continuously). That is why the default is 1kB/s. So for example, you have a navigation app running in the background downloading data once in a while. Throughout your disable period (say 10min), it might use 500kB. If you average that per second, that's 900kB in 600s, or 1.5kB/s.

P.S. With this option enabled, Bluetooth is only disabled if there are no devices connected. If there are connections set to disable and they haven't been disabled because they are in use, LeanData will keep checking again and again at the set Disable interval until it is able to disable everything you have selected for disabling.

My personal settings:

Disable interval: 12 min

Sync interval: 30 min

Disable only if inactive, limit: 4kB/s
[Android Apps and Games] Flyview:
If there was a way to offer in-app-purchases for free in Google Play I would certainly do so for XDA members, but there isn't. I don't want to upload an apk without licensing checks since everyone could end up sharing that outside of XDA.

Thank you!
[Android Apps and Games] DeepDay:
I was using your app up until this point: - "Disable only if inactive" is now a paid option

Uninstalled it right away when I saw this update in GooglePlay.

Thank you for your great work, have fun monetizing it.

Bye.
[Android Apps and Games] rossarnie:
From me too.
[Android Apps and Games] Krillen:
I might as well uninstall the app seeing as "Disable only if inactive" is now a paid option. That was a basic feature we got use to using and now make it a paid option. The app is great and I respect your reason for doing it. But it should been done with a feature/s added (if any) not one that was free to begin with. I used that feature but now have to pay for it and the app can't save that I paid for it when I upgrade. No reason to use the app unless you don't use the feature or the app can save that you paid for it when upgrading. I would suggest you fix it somehow. It most likely would be for the best. That's just my opinion.
[Android Apps and Games] occtec:
I can't believe that you are all whining about a few dollars to support the devs great work with this app. It's worth every cent, remember it's his time effort and knowledge that got you this app in the first place. Nothing is for free these days, especially something that works and works well!

When I saw that the extra feature was now an in app purchase, i was glad to pay without thinking twice about it, just to support the Dev!

Shame on you people!

[MENTION=2584205]Flyview[/MENTION] keep up the great work, your app works! Don't get disheartened by twits [emoji6]
[Android Apps and Games] Flyview:
I understand and it was a difficult decision. The app will of course remember that you purchased the premium version, forever. I'm not sure why you think it won't remember on the next update.

If you really enjoy the option and do not want to pay for it, feel free to keep using version 1.4.1, it's pretty good :)
[Android Apps and Games] hamsup1o:
Sorry if this has been mentioned already as I didn't see it but is it possible to add an option for network data to fall back on 2g when screen is off and reconnect to 3g/4g when screen is on? TIA!
[Android Apps and Games] Flyview:
A few people have asked about this. Are you sure this would save battery? The differences between 2G and 3G power consumption on a modern phone is probably negligible. Every time I've tried to use 2G data (EDGE), I've found it almost impossible as it is really slow. So even though it might use a bit less power, the radio will be on for longer.
[Android Apps and Games] Krillen:
I would continue to use it but a feature once free I now must pay for I do not like. I will be uninstalling it never to use it again. Because ""Disable only if inactive" is now a paid option" was a basic feature that is now one I must pay for is why I stop using it. Oh and about me saying the app will of course remember that you purchased the premium version. I must have just misread what someone had said in the thread sorry about that. If at any time all the original "basic" features become basic/free again I may use the otherwise great app again.
[Android Apps and Games] rogxd:
In my opinion, in the next release you would reset the free features as version 1.4.1, or put the premium version at 99 cents.

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] smeejaytee:
Doesn't seem to do anything on my one x and can you not make it start at boot and stay in memory
[Android Apps and Games] Flyview:
How are you testing it?

If you disable it with the toggle switch it will not start on boot, and it will leave memory. LeanData runs a service, it has to stay in memory to work.
[Android Apps and Games] RobboW:
Exactly. This is what I have done for now. I'll watch the thread and see how development goes with the paid version and if I like where it goes, I will pay. For now, I kept 1.4.1

Personally, I am only using it for network data. I found with it switching wifi, there was some effect between the app and my stock wifi handling and when LD woke it, whilst it would connect to the router again, I had trouble trying to use data. It was very slow. Had to switch off that function. I didn't investigate it so cannot provide any insight. The phone is quite efficient with wifi left on anyway, so leaving the setting off works for me.
[Android Apps and Games] ticktock666:
Great app, but I agree with the whole "do not charge for what was originally free" pov.

but again, it's your work, and you are free to do what you want, but I will be rolling back to 1.4.1, as I have no way atm of paying/donating (due to my current geo-location)
[Android Apps and Games] blackbuffalo:
Anyone can give me 1.4.1 version? Pls PM me link for it
[Android Apps and Games] Flyview:
Here's version 1.4.1 for you guys.

New update coming soon with new features :)
[Android Apps and Games] rogxd:
One of the new features is "disable only if inactive" for free? ;)

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Android Apps and Games] blackbuffalo:
Great idea!
[Android Apps and Games] Krillen:
This ""Disable only if inactive" is now a paid option"" is why I stopped using your app.

This is why I wouldn't pay for the feature (in my opinion should have stayed free) if I still used it. Maybe if the app itself didn't tell me that I might have paid for it.
[Android Apps and Games] Flyview:
Thanks for your feedback. You've mentioned this 3 times now. Please move along. P.S. your picture doesn't work so I don't know what you're talking about.
[Android Apps and Games] Krillen:
Here is the pic

http://imgur.com/v8fvtwX

Sorry to mention the same thing again but just wanted you to exactly know why I stopped using your nice program and why I will not pay for it. I guess a part of me was hoping you would make the basic feature included in the non pay version again. If that was done i;s gladly love to start using your great (minus my 1 complaint with it) app.
[Android Apps and Games] Flyview:
OK? Did you donate? What is the problem with the dialog?
[Android Apps and Games] Krillen:
I would have if the app just remembered it. I like to update a app and it just remember things like that. Anyway I do still use your app (it is nice and does help on battery drain with my phone) but the version before "Disable only if inactive" is now a paid option" and I will not be updating it because of that.
[Android Apps and Games] Flyview:
Fifth time now, we get the point. You would have donated but you didn't so I don't see what the problem is. That dialog is for people who donated that would like a refund so they can buy the app without spending more money. If you pay for the premium version now it will remember.

I am not going to make the option free again, it would not be fair to the generous folks that have already bought the premium version. I've uploaded an old version you can use that has the option. Please understand that I've poured countless hours into this app for the last 7 months. Thanks.
[Android Apps and Games] Flyview:
Double post.
[Android Apps and Games] Krillen:
Well then I will ether just never update it. Or just stop using it. I think it is not far to have a good feature included and then make the user have to pay for it. I can see if it was a new feature and was never included for free in 1 or 2 versions before making it a paid option. Anyway I will quit worrying about it and keep the version I have or look would an alt app to use instead.
[Android Apps and Games] smeejaytee:
I like to recent apps clear and it said in op when you clear it from recent apps it stops this is what I meant
[Android Apps and Games] Flyview:
This should be OK to do now that there is a foreground notification for KitKat users.
[Android Apps and Games] odavans:
No, the app stops after i clear it from recents
[Android Apps and Games] Flyview:
What Android version are you on? Have you hidden the notification or not?
[Android Apps and Games] odavans:
I didn't hide notification, I'm on nexus 5 omnirom 4.4.2
[Android Apps and Games] Flyview:
That's strange, I just tested it and it seems fine. Nexus 5 stock 4.4.2. You're checking Running Services after you swipe it from recent apps? What does it show?
[Android Apps and Games] odavans:
it shows service is running
[Android Apps and Games] Flyview:
1 process and 1 service?
[Android Apps and Games] odavans:
yes
[Android Apps and Games] Flyview:
Then everything should be working fine. What's not working and how are you checking?
[Android Apps and Games] odavans:
I have checked the box re-enable after unlock and when I turn screen on the data or wifi icon shows me that network is active. Sorry for me English.
[Android Apps and Games] Flyview:
How long did you wait fort the data to turn off with the screen off?
[Android Apps and Games] odavans:
Min after screen of sets to 10 minutes, I'm waiting 20-25
[Android Apps and Games] Flyview:
Send me a logcat filtered for LeanData please.
[Android Apps and Games] odavans:
CatLog doesn't shows anything about LeanData =(
[Android Apps and Games] Flyview:
That's weird. And this only happens after you swipe away from recents? Can you try the app CatLog and search for LeanData?
[Android Apps and Games] odavans:
https://www.dropbox.com/s/e1qrrmxfz6jt9ad/2014-05-25-17-02-00.txt
[Android Apps and Games] Flyview:
Thanks!

So it looks like the initial swipe kills the activity right away, but then the service is killed as well, although 10 minutes later...

Therefore looks like we still can't swipe it away from recent tasks. I'm really hoping this stupid bug is fixed in 4.4.3. Basically the problem is that services can't restart themselves anymore like they used to, once they are killed by the system. The "persistent" notification helps (less likely to be regularly killed), but once it's killed the same thing happens, it won't be able to restart itself.

LOL @ the smiley in the last logcat line...
[Android Apps and Games] Flyview:
New update published and on its way:

1.6.0

-New options: Do not disable connections during a certain time of day, do not sync during a certain time of day (for example at night)

-Cleaned up UI
[Android Apps and Games] cschmitt:
Wow! Thanks for the update with scheduling. So I guess it was worth donating... ?
[Android Apps and Games] RobboW:
That's the update I was holding out for. Scheduling. Now I have paid, thanks Flyview. If it could stay active after a memory clean, things would be better again. I can convert to system app and it will stay resident though.
[Android Apps and Games] Flyview:
Thanks. Yea unfortunately I have no control over that right now.

I'll be putting out 1.6.1 soon, there's an issue with the purchase dialog appearing sometimes even if you've bought the premium version, while the app checks with Google play if you have the purchase.
[Android Apps and Games] RobboW:
Ok, well, I'll leave it as a user downloaded app for now :)

Gotta sort out my data activity level now, what was the default in 1.4.1?

Maybe it polls Google Play too soon when data is going live again and cannot connect when it wants?
[Android Apps and Games] Flyview:
No no. Don't worry I know what the problem is. What do you mean by data activity level? The inactive limit? Default has been 1kB/s.
[Android Apps and Games] odavans:
So if I convert LeanData to system app it will work even if I clear recents?
[Android Apps and Games] RobboW:
Yes, because it is part of system it keeps the service resident in memory, only needs about 16Mb of RAM too, but if you do an app update it installs as a user app in data/app and have to delete the old app from system/app then reboot.
[Android Apps and Games] odavans:
How do you do that?
[Android Apps and Games] RobboW:
Yeah, thanks. It seemed to work fine at that for my purpose, just wasn't sure if it was different after 1.4.1 :good:

---------- Post added at 08:59 AM ---------- Previous post was at 08:58 AM ----------

To be honest, if you're asking how to do that, I would leave it alone for now ;)

If you clear memory, just access the app settings and it will start again.
[Android Apps and Games] odavans:
Don't worry, I have found an option in titanium backup "convert to system app"
[Android Apps and Games] RobboW:
Keep in mind, if you update (highly likely) you will have two versions installed at once, although it does make it easy to roll back.
[Android Apps and Games] odavans:
But I can convert it back to user app then again to system after update
[Android Apps and Games] RobboW:
I guess. I just do it manually. I found too many apps stay resident in memory that are not needed all the time, sucking resources. Titanium was one of those. I ditched it. Facebork was one of the worst, I ditched that and use Fastbook Pro instead. Getting rid of memory bloat has a huge impact on the phone, especially un-needed bloatware that is included with the OS. Google is bloating it's own OS these days. I strip out a heap of stuff.
[Android Apps and Games] cschmitt:
I believe if you update a system app it still behaves as a system app, even though the update is installed to the data partition. The version in system is then basically ignored.

At least that's how all Google Apps including Play Services do it, which certainly requires system app behavior.