yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] RobboW:
Yeah, like an update to youtube for instance, then when you uninstall, it removes the one in data/app and you still have the original in system/app which becomes active again, thus the easy rollback.

When I move the app, I rename it, just take out the -1 or -2 whichever update it's at. If you update it, then it will install to data/app with the -1 and uninstall should leave the renamed one in system/app.
[Android Apps and Games] odavans:
app convrted to system doesn't work after recents clean anyway, just tested :(
[Android Apps and Games] RobboW:
What are you checking with? Maybe it doesn't show system apps well?

I like this.

Free.

https://play.google.com/store/apps/details?id=nextapp.systempanel&hl=en

I have the paid version.

https://play.google.com/store/apps/details?id=nextapp.systempanel.r1&hl=en

Have to make sure it's set to show system processes etc.

I do a memory clean then start SystemPanel and LeanData still has a system data process running. Never fails.

I just did a memory clean and checked with the system settings straight away. Here is a screen shot. You can clearly see services restarting, but LeanData did not have to. The short run time was because I had rebooted the phone after moving the app to system/app.
[Android Apps and Games] Flyview:
New update published and on its way!

1.6.1

-Miscellaneous fixes with in-app-billing

-Code clean up
[Android Apps and Games] odavans:
Even if convert app to system it works only after reboot, but if open app and then clear recents it stop again, just tested. Sorry for my English

---------- Post added at 03:17 AM ---------- Previous post was at 03:14 AM ----------

So I don't understand why you are selling app which is not working correctly
[Android Apps and Games] Flyview:
The app is working correctly. It is a bug in Android 4.4.2.

http://www.androidpolice.com/2014/0...ated-background-services-a-fix-is-on-the-way/
[Android Apps and Games] blackbuffalo:
How I can disable notification in notification bar?

PS: OK I found it
[Android Apps and Games] Oijkn:
Hi all !!

This is a great great app !! The GUI is very simple and the app make the job :) thank you for the dev.

Perhaps if you can add an options to set a mode plane (with hours configuration) that will be cool :)

Best regards.
[Android Apps and Games] paul c:
I'm arriving a bit late to this discussion - 2 pages - but why do you need to convert it to a system app? I agree that there is all sorts of bloat, including Google's stuff. Running a custom ROM - I guess you are doing the same - plus the smallest GApps package, that's a good start. Add on Greenify to keep the rarely used apps under control, and that does a great job in keeping unnecessary apps from running.

But Android's memory management is not like Windows', we don't need to flush out apps since the process is automatic. My N4 rarely uses more than 50% of its 2GB RAM, and my previous phone which had 1GB always seemed to be around 70% used.

Coming back to LeanData, I don't lose it, ever. For that reason I don't see the need to make it a system app (I flash nightlies so I prefer to avoid manually created system apps). What I HAVE done, using the SystemPanel app, is flag LD as "excluded" which takes it out of the list of candidates which the OS would consider when looking to release memory.

Possibly it's a belt-and-braces approach, but it works well for me.
[Android Apps and Games] RobboW:
I just had the payment bug, now all of a sudden it won't stay resident in memory even as a system app. I run 4.2.1 and just updated the app, running as user app, still won't stay in memory.

Edit:

I left it alone for a bit and checked again, it started itself again. All good :)

Had me concerned for a short while.

Flyview, is it possible to allow a decimal point in value for inactivity limit?
[Android Apps and Games] cschmitt:
I'm running LD as a user app as well, absolutely no issues with the service stopping if cleared in recent apps and I even have the persistent notification disabled..

I rarely clear recent apps, it's simply unnecessary. I'm on CM11.
[Android Apps and Games] Flyview:
What was the payment bug you saw? 1.6.0 or 1.6.1?

There's 2 "bugs". One was fixed in 1.6.1, which was the unlock dialog sometimes appearing on its own when coming back to the app after you leave it suspended.

The other isn't really a bug. The way purchases are remembered is through the Play store and its cache. The cache doesn't seem to last as long as I'd want it to. So if you fire up LeanData with no internet connection after the cache is invalid it won't be able to check you have the premium version. This isn't really a problem unless you fire up/toggle the service during this period as well. I'm looking into solutions.
[Android Apps and Games] Flyview:
Damn, there's a bad bug, can't believe I didn't realize it. The service isn't aware of the purchase until after it is restarted.

If you have just purchased the premium version and haven't toggled the service or restarted the phone, please toggle the service OFF and then back ON. This will be fixed ASAP.
[Android Apps and Games] YYvo:
Great application. Couple of friendly suggestions: wifi preffered option i.e. when wifi is connected or connecting the app turns data automaticly off. Saves battery.

Also, an option for a permanent notification to toggle service on or off?

And, as im working in the design area, perhaps an icon more in the guidelines of android design(this goes for the icon in the notification area mostly,, if there is going to be one)

All in all, beautiful piece of work!!
[Android Apps and Games] Flyview:
Thanks for the suggestions!

1) If WiFi is on, I assume Android itself is smart enough to not use data. In fact, I don't think you would see any gain from turning off data if WiFi is on and connected.

2) That's probably the next thing I'll be working on, a toggle from the notification.

3) Yea, the icon is probably going to have to be re-made.
[Android Apps and Games] YYvo:
One more inquiry. I was wondering for how long does the connection stay open while it syncs during screen off. Could there be an option to set time ex. Re-enable for 1 or more minutes?

Offcourse after that the limit kicks in to make sure it doesnt disable connection if big transfers start to occur.
[Android Apps and Games] Flyview:
Right now it is being re-enabled for sync for 1 minute. And if you have checked "only if inactive", it will not turn off if the transfer during that minute averages above the "inactive limit". It will then try to turn off again after your "time after screen off" interval. As for adding an option, it's not a bad idea, but I would like to keep the app pretty clean, and I'm not sure adding this option would bring much value. Any push notifications should come through within a minute.
[Android Apps and Games] Flyview:
New stability update:

1.6.2 (May 26, 2014)

-Fixed bug where service was not aware of purchase until after toggled

-Improved caching of purchase
[Android Apps and Games] Steelcitymetal:
I have uninstalled this app yet it continues to disable wifi and data when my screen is off for 10 minutes.

I even re-installed, disabled the features, and uninstalled again and it still does it.

Everything turns back on when the screen is turned on, but I'd rather just leave the radios on.

Any suggestions?
[Android Apps and Games] Flyview:
That's kind of impossible... is it just WiFi or data as well?
[Android Apps and Games] Steelcitymetal:
Yeah, I don't mean to suggest that the app itself is still doing it, but was some setting altered elsewhere on the phone that would continue the 'schedule'?

I used to receive notifications immediately when I pulled into the driveway because I entered my home's wifi range. Yesterday I arrived after a long trip and unpacked for 15-20 minutes. Only

after

I turned my phone's screen on did it connect to wifi and receive notifications.

It's been like this since I uninstalled, but it's a hard symptom to test for. But yesterday was obvious. There was plenty of time for it to connect but it didn't until I turned the screen on.
[Android Apps and Games] Flyview:
No, it doesn't alter anything outside the app. Please check the following setting (LeanData doesn't change this):

Settings -> WiFi - > Advanced (menu, advanced) -> Keep WiFi on during sleep -> make sure it's set to Always.
[Android Apps and Games] Steelcitymetal:
Well that's it... It was set to "never" keep wifi on during sleep. lol

Something else must have changed that because I know it wasn't like that before :D

Thanks man, sorry for the trouble!
[Android Apps and Games] spanish33:
This has been the main issue I had with similar apps I have tried (wifi sticks in "turning on" mode). Just found out about this app so giving it a shot to see if it solves this problem, if it does I will definitely purchase it.
[Android Apps and Games] Flyview:
Cool, definitely let me know if you are seeing that problem. I haven't on my Nexus 5.
[Android Apps and Games] spanish33:
Set to re-enable wifi after 10 minutes for testing purposes and after an hour everything worked as expected. Normally I would have the "wifi turning on" issue already. Thank you for this great app purchased it.:good:
[Android Apps and Games] Flyview:
I would like to ask all of the generous users to please leave a review in Google Play if you haven't done so already. Thank you!
[Android Apps and Games] RobboW:
I was waiting 'till development slowed and any remaining minor bugs are all fixed so I could leave a positive comment with no "but.........".
[Android Apps and Games] paul c:
5* from me since 1.30 ;)

For me, functionally LD doesn't need anything else, it's simplicity is key. Pre-ICS I used Juice Defender, but there were far too many options there and it was very confusing. Here, a new user can pick LD up in 30 seconds, brilliant.

Well, maybe just a widget toggle, since I've been trying to see how I can use the time options, but my life is just a bit too erratic to program in certain times. It would be good to be able to quickly disable LD from the homescreen if I'm waiting on an email/Whatsapp.
[Android Apps and Games] RobboW:
I'd love to see this made into an Xposed module. Just sayin' :p
[Android Apps and Games] Flyview:
I need some help testing tablets that don't have any network data. If you have a tablet with only WiFi, can you please send me the logcat after some time with both WiFi and Network data selected to disable in LeanData?
[Android Apps and Games] Flyview:
Yikes, that's no good. I wonder if it could be a CM problem. Does it do this every time you try to start it?
[Android Apps and Games] ceo4eva:
I've always wondered if having mobile data and Wi-Fi enabled at the same time consumed more battery? If this is the case does can this app disable data when Wi-Fi is on and do the reverse?
[Android Apps and Games] Flyview:
Nah, it won't consume any battery. Android is smart enough to not use data while WiFi is on.
[Android Apps and Games] spanish33:
[MENTION=2584205]Flyview[/MENTION] I have 4 email addresses setup on my phone and sometimes leandata doesn't recognize that I purchase the app. When this happens I have to delete a specific email address from my phone then it will recognize the email address I purchased the app from.

Even after Uninstall and reinstall it still happens. Happens every once in a while. Google play is also set to the specific email address I purchased leandata from.

I will send a log next time it happens.
[Android Apps and Games] Flyview:
Hmm, make sure the account you purchased it with is the active (selected) account in Google Play.
[Android Apps and Games] spanish33:
Yes it is. Will send a log next time it happens
[Android Apps and Games] Flyview:
The in-app-billing library is pretty buggy unfortunately, it's caused a lot of headaches. I'll do my best to fix it and improve it with time. Try clearing app data on google play, then log into it again.
[Android Apps and Games] Flyview:
Also, please make sure you're running the latest update (1.6.2).
[Android Apps and Games] abhishekSPS:
Nice concept. :good:

Was using llama location profiles to achieve something like this...not so smartly though.

I have a question...since I love llama (as it does many other tasks for me like screen rotation, timeout and brightness etc) and as both llama and "LeanData" are basically automation apps, will they cause problems if I have them both installed at the same time ??? :confused:

I understand that I will not have to program llama to control radios anymore after installing LeanData !!
[Android Apps and Games] Flyview:
As long as they aren't trying to do the same thing it should be fine. Try it out and let us know!
[Android Apps and Games] kulmegil:
Yep, it happens on every launch attempt. I haven't used this app earlier.

Just a note - I don't have GAPS installed on device.
[Android Apps and Games] Flyview:
Ah I see. Yea you most likely need that. Especially Google Play.
[Android Apps and Games] Darke5tShad0w:
I also get this app crashing on CM (Temaseks unofficial cm 11 with banks gapps, boeffla kernel 2.3b3 on a S3 i9300)

App launch's, I adjust settings and it happens when I leave the app. Has happened on every version. I don't need this app but I was always curious.

But if you need my help debugging I will help.
[Android Apps and Games] Flyview:
That'd be good. If you can get the logcat around the time of the crash, even if just error level.
[Android Apps and Games] Darke5tShad0w:
I have never done a logcat before, Could you give me a quick step by step or point me to a guide with the app to use please?
[Android Apps and Games] Flyview:
Are you rooted?
[Android Apps and Games] Darke5tShad0w:
Yes i am
[Android Apps and Games] Flyview:
Great. Download CatLog from the market, make the app crash, open CatLog, set the filter level to error and expand all the entries (top right down arrow) and screenshot.

Thanks!
[Android Apps and Games] spanish33:
[MENTION=2584205]Flyview[/MENTION] after a couple days use I must say I am very pleased with LeanData too bad I didn't find it sooner before I purchased other useless apps with no dev support.
[Android Apps and Games] vlachosjm:
.

Στάλθηκε από το GT-I9505G μου χρησιμοποιώντας Tapatalk
[Android Apps and Games] silver010:
You should also implement Location mode switch (High accuracy/device only) also, it would eliminate nlp wakelocks but wouldn't lose any functionality. This is a major feature that would save very much battery and such app doesn't exist yet also... Just Tasker profile exists.

PS: This function would need this Xposed module to function seamlessly: http://xdaforums.com/xposed/modules/mod-disable-google-location-consent-t2449926
[Android Apps and Games] cschmitt:
The fix for nlpwakelock isn't disabling high accuracy GPS, it's fixing the cause of wakelock - usually Google Now, or having wifi scanning always available, or location reporting enabled, or some poorly designed app that constantly accesses location data.

I have GPS location enabled all the time and don't see nlpwakelocks unless I'm actually using the GPS for navigation, etc.
[Android Apps and Games] paul c:
If you deploy a location-based function - device only - that means GPS, that wouldn't help much with battery saving.
[Android Apps and Games] Bwangster12:
One thing I really like about this is that it doesn't require root to function and get the most out of it.
[Android Apps and Games] Flyview:
Again, stupid iabhelper bugs.

http://stackoverflow.com/questions/...legalargumentexception-service-not-registered

I'll see what I can do to fix this. Working on the next stability update now.
[Android Apps and Games] Flyview:
Just published a new update. It should start to be available within an hour or two.

1.6.3

-Critical fix: "Re-enable after screen on" was broken

-Improved in-app-billing code

-Added dialog prompts to change time and significant transfer values

-Fixed potential bugs when LeanData isn't successful toggling connections
[Android Apps and Games] silver010:
Actually on KitKat devices High accuracy/Device only is much more battery friendly than High accuracy/Battery savings. That is because of the nlp wakelocks which occur, when network location (which is only disabled with Device only setting) is enabled. I've used device only setting for a week and am getting <0,5%/h when idling versus 2%/h with battery savings
[Android Apps and Games] RobboW:
With the new update, is there another option below the inactive limit setting? I have an issue. The app settings screen information extends into my navbar and I cannot see what is down there. The settings screen doesn't scroll or have an overflow menu. I'll try to set my navbar to 0 height so I can see, but I'd consider this needing fixing.

Edit: I see there is no extra option at the very bottom of settings. Is there an extra option at the bottom of the first set of options? If so, maybe that added to the height of the settings screen. Can the font or button size be reduced a little? Would that even work?
[Android Apps and Games] Flyview:
No there's no new options. If the layout doesn't fit it should all scroll. Can you paste a screenshot?
[Android Apps and Games] RobboW:
Yeah, here's a shot.
[Android Apps and Games] Flyview:
Hmmm and you can't scroll the page down to it?
[Android Apps and Games] Bwangster12:
Just out of curiosity, are their additional planned features... is the the app the way that you want it? I understand the idea is a lightweight resource efficient app, but curious as to the plans.
[Android Apps and Games] RobboW:
Can't scroll settings screen but the help window will scroll. I use gravitybox but with navbar options disabled, native navbar made no difference. Maybe it's a hangover of forcing navbar on even though I have capacitive buttons? I can edit build.prop to turn it off and test that.
[Android Apps and Games] Flyview:
Damn... yea the scroll should be working. Can anyone else with a smaller screen/resolution chime in?
[Android Apps and Games] RobboW:
Mine is a HD 5 inch screen if that helps.

I disabled naviBar and once it had full screen, the LD settings appeared normal, help was fully visible so no scrolling. It auto adjusted, unlike settings screen.
[Android Apps and Games] Flyview:
How's it look with no software buttons? I'm hoping this is just because you are using software buttons on a phone not meant for them. How are you enabling them?
[Android Apps and Games] Flyview:
Right now the priority is stability, which I think is pretty close to being perfect. The next updates will be adding a widget to toggle it on and off and translations to Italian/Spanish. I do plan on keeping it relatively simple, so I don't really want to add more options unless they seem valuable. Suggestions are very welcome.
[Android Apps and Games] RobboW:
I edit build.prop to force on the native naviBar and customise it with gravitybox. It made no difference if I had native or altered naviBar. Help window adjusts to screen but not settings.
[Android Apps and Games] Flyview:
Ok, what's it look like without the navbar at all? It probably fits just fine? Even if that's the case we need to confirm this is a problem just when forcing the navbar and not for stock.
[Android Apps and Games] cschmitt:
Here's LD on stock Moto E (540 x 960)
[Android Apps and Games] Bwangster12:
I do love it the way it is. Pretty much accomplishes most of my needs. Only thing I personally would like to have is some sort of location aware WiFi toggler. Obviously not GPS based, but maybe cell tower based to turn on and off my WiFi when I'm near my home network.
[Android Apps and Games] metalwraith:
Will be giving this app a good test tonight while I'm at work.. Since I'm stuck in a freezer picking ice cream and frozen goods for 2 and 3 hours at a time aside from breaks.. It'll be a good test. Considering there's no signal in there as it is.
[Android Apps and Games] Flyview:
I am very skeptical that would save any power. LeanData will already turn off your WiFi when not in use. I'm willing to bet the battery savings by turning it off even when the screen is on would be trumped by checking for location periodically. If you don't want to be toggling it all the time, I'd just leave it on.

How are you planning to test it if there's no signal?
[Android Apps and Games] metalwraith:
If there's no signal normally those services still run regardless and look for a signal. Figure this way keeps me from having to go into settings and manually turn everything off.
[Android Apps and Games] Bwangster12:
From a battery point of view, doesn't using WiFi provide better performance than using Data? If that is the case, having something that turns on WiFi when it is near a known network and off when it isn't, would help battery life.
[Android Apps and Games] Flyview:
Yes, WiFi is more efficient than data. Leaving WiFi on would accomplish the same thing though. It would connect to WiFi when you're around a know access point and use data elsewhere. LD would turn both off after the specificed idle time with the screen off.
[Android Apps and Games] Bwangster12:
Doesn't the time when my WiFi would be on and searching (when screen was on) drain battery life? If I was watching a video, playing a game, etc., it would be searching endlessly for WiFi.
[Android Apps and Games] Flyview:
Yes it would be, but the drain is pretty small. This is where I'm willing to bet that regularly checking for location would have just as much drain.

The biggest save in battery life with LD comes from less data transfer, not just from the fact alone that the connections are off. So if you're actively using the phone with data on, WiFi scanning in the background looking for a WiFi should have a relatively small battery use.

Having said that, I still manually turn off my WiFi when I know I'm out and won't have a WiFi hotspot. But if you don't wanna deal with that, I'd just leave it on and at least LD will turn it off when the screen is off.
[Android Apps and Games] RobboW:
I only use wifi at home so leaving it on would be kind of pointless. It's easy to toggle. The main point of LD is simply to turn on and off the 3G for me so my email etc is allowed to sync without any input by me. As a core function, that works brilliantly. It does extend battery life noticeably by this but for me, the main thing was to reduce monthly mobile data use.
[Android Apps and Games] RobboW:
I had a play with settings and enabled expanded desktop. LD looks fine with it expanded but doesn't adjust to scrollable when I turn off expanded desktop. It's no big issue but does seem like a little bug. The phone is behaving ok.
[Android Apps and Games] paul c:
Just thought I´d let you know that I've been trying a wide variety of 4.4.3 ROMs and kernels for my Nexus 4 (waiting for the imminent arrival of the 4.4.3 version of AICP), LeanData has run perfectly with all of these combinations.
[Android Apps and Games] Darke5tShad0w:
This is now working for me without the crash.

Thanks
[Android Apps and Games] Flyview:
That's good to hear! Everything working as it should?

Some translations coming soon. Let me know if you guys wanna help! Someone kindly volunteered and sent me Spanish translations (Thanks David!). German would be good to get.
[Android Apps and Games] Darke5tShad0w:
Yes as far as I can tell. One question though before I abandon tasker for Mobiledata and bluetooth.

With both apps tasker and automatit I would set mobile data and bluetooth to disable after 2 minutes after screen goes off.

If the screen was to go off while I had a quick look at the tv they would start there countdown, so far so good. But I was to bring the screen on and carry on with in the 2 minutes I would expect the countdowns to stop as I woken the screen before the 2 minutes were up but both apps would continue and disable it on me.

More than likely there is some complicated configuration to stop this that im not interested in.

So in short I have to questions.

1. If I was to wake the screen with in 2 minutes does your app stop the countdown when woken? This is the feature I want most aswell as the only when inactive option

2. Will this conflict with tasker if leandata is the only app managing data and bluetooth? I use tasker for quite a few other tasks aswell.

Thanks