yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] mrgigabyte2002:
Thanks for thinking about it maybe even maybe a little less than a minute like 20 or 30 seconds see i been only using app to control shut off and turn on so what I noticed is with one minute and its the weekend and I on Wi-Fi . Wifi total for being on is longer because of the longer time to turn off so to me it seems like you would use more battery . Maybe you could lower it but tell people if they used "except if active " they should set time higher to a minute or more

Just a thought

Thanks again for listening
[Android Apps and Games] fatspirit:
Bad idea. The only option I see is to disable "except if active" if timer is set to near-zero values.
[Android Apps and Games] Darke5tShad0w:
Maybe if it was implemented in what ever method be it another option or setting time to zero it brings up dialog informing the user of the consequences then having a confirm and deny buttons? That way we can have this option (which i would also like to use in 1-2 occasions each week) but it also informs about what may happen as a result, it doesn't have to be a big dialog.

---------- Post added at 07:04 PM ---------- Previous post was at 06:55 PM ----------

I noticed what when turning on the screen (i have it set to reenable after unlock) the wifi/data icon was still enabled and that internet access was avaliable straight away, usually theres a second while the wifi ap authenticates etc, this was confirmed by setting up a terminal ready to ping google so that as soon as the screen was unlocked i press enter and it starts pinging straight away but were able to send/recieve them straight away, also the counter in the notification was not increasing.

Since there is no logging i will try to clear data and cache, remove app and start again.

It only works straight after a reboot and randomly during the day. Nothing is using data as my monitor is not increasing and i greenify apps before turning off the screen (not this app obviously just user apps) and also clear recent apps.
[Android Apps and Games] Flyview:
Clearing recent apps could kill it. What Android version are you on?

Sent from my Nexus 5
[Android Apps and Games] Darke5tShad0w:
I do it all the time and never had an issue before now.

Its 4.4.4.

I had some free time and cleared the app data and cache then reinstalled the app and it all seems fine, maybe something related to my notification issue earlier in the week?
[Android Apps and Games] Flyview:
Yea it shouldn't be a problem on 4.4.4. Although I don't understand why people do it, it causes more battery drain than leaving them there.

Yup it could be related to the problem you had before, I need to fully test updating from 2.3.0 to 2.4.0 without clearing data and make sure everything works. If you want you can try this too. Get 2.3.0, set all your settings then update to the beta, don't change any settings and see if it works as expected.

Sent from my Nexus 5
[Android Apps and Games] zingzongzang:
I accidentally opted into the beta on the wrong account where I bought the premium key. Should I just try and opt in on the right account? Not sure if it works that way. Thanks for the help.
[Android Apps and Games] Flyview:
Hm? Doesn't matter which account you opt in with. Whatever works for you.

Sent from my Nexus 5
[Android Apps and Games] zingzongzang:
No I mean It's saying that I would have to buy it again when I already bought it because it downloaded from a different accounts play store
[Android Apps and Games] Flyview:
Didn't you have this problem before? Just make sure you download it with the right account. I guess you also have to opt in to beta with the same account.

Sent from my Nexus 5
[Android Apps and Games] zingzongzang:
No I didnt have this problem before I just made a dummy move. Applied for the beta with the right account :good::good:
[Android Apps and Games] Darke5tShad0w:
I totally agree but its a habit i can't seem to break, before i realize I've already done it.

Certainly I'll try something to help you, could you send me a copy of 2.3.0? I can't seem to find where its kept in my phone to search a backup.
[Android Apps and Games] Flyview:
Here's 2.3.0 attached. Uninstall the beta. Install this, set your settings (make sure you set to show notification). Go to market and install beta. Make sure settings stick and also that the notification comes up (this will tell us if the DataService received the settings from 2.3.0).
[Android Apps and Games] Darke5tShad0w:
Thanks, I managed to find 2.1.2 in a backup and it worked for that one, i couldn't find it because I didn't realise the apk was still called leandata.

Edit:

[MENTION=2584205]Flyview[/MENTION]

Tried a couple of times including making sure it was disabling wifi/data and all went smoothly with no problems.
[Android Apps and Games] Flyview:
Awesome thanks!

Just published 2.4.0.b7, hopefully the last before the production release. I'm just waiting on translations now. I'm quite excited about the changelog:
[Android Apps and Games] Darke5tShad0w:
As you should be, Its an awesome feature list and you have put alot of hard work into it.
[Android Apps and Games] Flyview:
Haha damn, there's a bug. Can't use the notification to toggle on/off if the main screen of LD is showing.
[Android Apps and Games] Flyview:
Beta 8 coming with a fix for that bug and a new little perk ;)

Sent from my Nexus 5
[Android Apps and Games] hoprockgame:
Yeah, Hopefully it will be possible.

Thanks for information and share. :)
[Android Apps and Games] Flyview:
Hopefully what will be possible?
[Android Apps and Games] kurtextrem:
This is truly the best app for this purpose on the market. Small footprint, a lot of options and is updated frequently. What do you want more?
[Android Apps and Games] mrgigabyte2002:
I agreed with kurtextrem it truly is
[Android Apps and Games] Flyview:
Found some more bugs I had to fix. Final v2.4.0 should be coming soon...
[Android Apps and Games] palev:
I love Leandroid but since the new update something has been happening which I can't seem to fix:

I have it so Leandroid activates after 3 minutes, but everytime it activates, my phone seems to wake, briefly flash a Google Keep notification icon for about 1 second, but then the notification disappears. I'm afraid Leandroid never actually activates because my screen keeps waking with the lightbulb style google keep notification. Any ideas? Nexus 5.

EDIT: I was using AcDisplay and LeanDroid didn't seem to play well with it. Switched back to default android lock screen and it seems to be working now. I am thrilled!
[Android Apps and Games] Flyview:
That's interesting. Does AcDisplay wake for notifications?

Sent from my Nexus 5
[Android Apps and Games] palev:
it does, indeed.
[Android Apps and Games] Flyview:
Can you add an exception for LD in AcDisplay? What Android version are you on?

Sent from my Nexus 5
[Android Apps and Games] palev:
Nope. :(
[Android Apps and Games] Flyview:
Then disable the notification for LD?

Sent from my Nexus 5
[Android Apps and Games] palev:
What good would that do?
[Android Apps and Games] Flyview:
It will stop AcDisplay from turning on the screen when LD updates the notification.

Sent from my Nexus 5
[Android Apps and Games] palev:
ah yeah, i'm an idiot. :/
[Android Apps and Games] Flyview:
I could change it for the next version so that the notification is only updated if the screen is already on, which makes sense.

Sent from my Nexus 5
[Android Apps and Games] palev:
wow, you rule. i am happy to have donated
[Android Apps and Games] palev:
when does the persistent notification timer reset?
[Android Apps and Games] Flyview:
The way it is now it only resets when you uninstall or clear data on the app. I'm thinking I'll probably make it since boot though, something like "3h:08m / 7h:15m", and upstate it with screen on.

Sent from my Nexus 5
[Android Apps and Games] palev:
I feel it would make the most sense to start the timer when battery is charged to 100%, if that would even be possible
[Android Apps and Games] Flyview:
A few bug fixes just came out with 2.4.1:

-Fixed cell radio turning off while in call if answered call from lock screen

-Fixed WiFi warning showing after checking "Don't show again"

-Fixed "except if WiFi has login" not working if "except if active" not checked

-Hid notification icon in status bar for 4.4.1 and 4.4.2 since users never opted in to notification (forced to have it)

-Made notification update only when screen on
[Android Apps and Games] mva1985:
What is the new "time" shown in the notification bar?
[Android Apps and Games] Flyview:
It shows the total amount of time that LD disabled one or more connections. I'll probably change it to something more meaningful.

Sent from my Nexus 5
[Android Apps and Games] TokyoAce:
maybe you could make the time display an option. some of the fans of the app might want to keep their LeanDroid lean. :D
[Android Apps and Games] Flyview:
Yea maybe eventually. The "settings" for the app itself are adding up so I'll have to add a settings screen for them and clean up the overflow menu.

Sent from my Nexus 5
[Android Apps and Games] TokyoAce:
Cool. Thanks.
[Android Apps and Games] mva1985:
another option regarding the time would be to have it reset everytime the battery is charged to 100% and unplugged from a charger. after all it is a battery saving app. and it works extremely well. thanks!
[Android Apps and Games] Flyview:
Yes I was thinking the same sort of thing. However, there's some bigger bugs on my plate right now!
[Android Apps and Games] mva1985:
I completely understand that. I've always appreciate the fact that this app is lean on size, has a clean layout that makes sense, and it just works.

Thanks
[Android Apps and Games] Flyview:
I'm still trying to find a way to toggle mobile data on Android Lollipop. Can any devs out there lend a hand?

They've removed the setMobileDataEnabled method from ConnectivityManager, or at least it is no longer available through reflection. It looks like I'll have to utilise root permissions to toggle it somehow. I know the dev from Power Toggles has done it, but he isn't ready to share the solution yet. Anyone know a way to do this through root?
[Android Apps and Games] paul c:
I think your best bet is to drop sykopompos a line - he has been working on Lollipop since the first previews were made available. He's dug really deep, and on this thread http://xdaforums.com/nexus-4/development/lpv-79-mako-port-beta-t2807446 - for the Nexus4 preview/port - he is extremely collaborative. Hopefully he can point you in the right direction
[Android Apps and Games] Flyview:
Does anyone here use this with a Moto G 2013?
[Android Apps and Games] tmacher:
Yes I have this phone and use leandroid.
[Android Apps and Games] Flyview:
Dual or single SIM? I have someone reporting ANR crashes (Application not responding). Everything working ok? Do you have it set to disable data?
[Android Apps and Games] tmacher:
Single sim version. Don't have root, so didn't used the disable data option. Despite this application works perfect.
[Android Apps and Games] Flyview:
Hmm? The data option (Cellular data) does not require root!
[Android Apps and Games] tmacher:
Ahh sorry misunderstood cellular data fishing is working good too.
[Android Apps and Games] spanish33:
[MENTION=2584205]Flyview[/MENTION] any progress with disable data on Android L
[Android Apps and Games] TrueFriend-cz:
Can you add desktop widget for ON/OFF LeanDroid?
[Android Apps and Games] Flyview:
Not really no. I just got Android Lollipop installed on my Nexus 5, so it's go time now. Unfortunately a lot looks broken. Data/Cell radio/GPS are all non-functional, so if you are still using LD, I suggest you un-check these.

Yes, after I fix the basics.
[Android Apps and Games] Flyview:
I have some good news. Things are shaping up well for the Lollipop update. I will probably release it to the Beta channel first, so keep your eyes peeled for that.
[Android Apps and Games] Flyview:
And 2.5.0 has been published to beta, give it about an hour to show up. Please test out all of the functions you use, especially if you are on Lollipop!

LeanDroid 2.5.0

-Android 5.0 Lollipop fixes: Data (requires ROOT!), Cell radio, GPS

-Material theme on Lollipop

-Low notification priority (no longer in status bar)

-Fixes to "except if WiFi has web login"

-Time spent disabled now counts since last unplugged on full battery

-Updated libsuperuser

-Much improved purchase caching
[Android Apps and Games] maniac2403:
Thanks! Confirming that data, radio and GPS gets disabled after the time out. It also gets enabled after screen unlock. Will test the wi-fi functionality when I get back home.
[Android Apps and Games] Flyview:
What phone? What Android version?

Sent from my Nexus 5
[Android Apps and Games] maniac2403:
Sorry, Nexus 5, Android 5 stock LRX21O.

Rooted with SuperSU, ElementalX 2.03 Kernel.
[Android Apps and Games] Flyview:
Great, thanks. I especially need someone to confirm cellular data toggling is working on Lollipop on a device other than a N5.

Sent from my Nexus 5
[Android Apps and Games] neilster2020:
Hi data toggling fine on hlte running 5.0
[Android Apps and Games] ofteno:
Apart from the instructions on the OP, what i need to do for beta testing?
[Android Apps and Games] maniac2403:
Confirmed working of wifi toggle on flo with android 5.

Confirmed data toggle, gps, bluetooth, wifi toggle on mako with android 5.
[Android Apps and Games] Flyview:
Nothing, you should see an update through Google Play.

Sent from my Nexus 5
[Android Apps and Games] spanish33:
Data toggling is working as expected on OnePlus one cm12.

Thanks
[Android Apps and Games] Flyview:
I have just posted a new Beta. When you guys get a hold of it in an hour or so, could you please verify "Except if Wi-Fi has web login" on Lollipop, while having Data enabled? The trick is on Lollipop if Wi-Fi doesn't yet have connectivity, it could use the data connection, messing up the way I check if the Wi-Fi "has web login". I had to explicitly make it route through the WiFi and I don't know if it works.
[Android Apps and Games] voyteck.reg:
Any chance for LD working on unrooted devices? I have stock n4 with lollipop, for now ld is useless :(
[Android Apps and Games] Flyview:
Nope! At least, not until another loophole is found to toggle data without root.

Sent from my Nexus 5
[Android Apps and Games] Flyview:
2.5.0 final has been published. I think it might be the first battery saver app to be able to toggle data.

"Disable except Wi-Fi has login" is not working on Lollipop if a data connection is also available.
[Android Apps and Games] GTOJim:
Seems to be working as intended with LRX21T ASOP lollipop, device Nexus 5.

BUT on Wifi I'm showing no bars signal strength when sitting next to my router. Previously my Wifi connection always had bars showing. Using data connected to LTE I'm not showing any bars which is normal as LTE is very weak. I ran a couple of speed tests, Wifi speed seems normal even with no bars showing, LTE tests normal speed which is much slower than with Wifi.

Turning LD off does not cause Wifi bars to return to normal, also after freezing the LD app I still have no bars showing when connected to Wifi, even right next to my router,.

On another note I purchased the LD app after I was running Lollipop and signed up and was accepted as a Beta tester but I did not receive either of the beta updates. Currently using 2.5 final release.
[Android Apps and Games] Flyview:
Thanks for the support! I can't imagine how LD could cause the WiFi signal strength to change, but you never know. Can you try rebooting with and without LD enabled, and see if you can reproduce it? Do you have "except if Wi-Fi has web login" checked?

As for the beta program, did you join the group as well as going to the opt-in link (instructions in first post)? Assuming that all goes OK, you receive the updates through the Play store.
[Android Apps and Games] Xxirs:
This app works very well has significantly increased my battery life. thanks for an excellent app:D
[Android Apps and Games] GTOJim:
I'm very sorry this was my mistake, it's not your app, it's my rom. I restored a back up of my rom prior to today's LD update and I still have the same issue with the signal bars. The signal strength for my data connection and Wifi are both showing the same exact signal strength, the bars are not changing when switching between data connection or Wifi. Not sure when this first started but I apologize for any confusion I may have caused.

As for the "Do you have "except if Wi-Fi has web login" checked" I can't find that option in my rom.

Update Just found that option in LD. Sorry I only started using LD this afternoon, missed that option.

Regarding Beta testing I thought I had followed all the steps in the OP. I thought I was part of the testing program since I've been receiving notices from you about the Lollipop test releases.

I just clicked again on both URL's in the OP and noticed I was already signed in, but there was an option to click to become a beta tester, which I clicked on and instantly it changed to say I was a tester.

Not sure what I did wrong the first time but hopefully it's working now. Strange that I was getting notices of the beta testing program if I wasn't part of the program. An abnormality in our world of computers. :)
[Android Apps and Games] Flyview:
Thank you! It really means a lot to me that many people have found LeanDroid useful. Please leave a review/rating on Google Play, each and every one helps.

No worries, this kind of confusion happens all the time with the complexities of modern computers and software. BTW that option is found on the Exceptions page in LeanDroid.
[Android Apps and Games] mrgigabyte2002:
Got a note 4 last Friday it has kit Kat 4 4 4 and Wi-fi will shut off OK but does not turn back on. My old cell droid maxx never had a problem with your app. Is anyone else with a note 4 having this problem
[Android Apps and Games] makkie88:
I joined the Beta testing group; thanks for letting me in, since i'm running on Android L on my nexus 5 i see we need root for disabling data, that is to bad (but not your fault). for now i can not "test" or report the app since i don't have root(and don't want for now)

hopefully disabling data will be an option without root
[Android Apps and Games] mva1985:
I was wondering if I could make a suggestion for an all ready great app?

I would find it helpful if I could create two time blocks were the app doesn't re-enable my wifi or data to sync?

There is all ready one option to set those times but being able to set another time range would be helpful for me. Because of my work schedule I sleep in two different blocks.

Thanks so much for the continued development and for the interaction with users.
[Android Apps and Games] Flyview:
Are you the same person that emailed me? If not, yes there looks like there is a device specific problem with re-enabling Wi-Fi on the Note 4. Does everything else come back OK?

Sent from my Nexus 5
[Android Apps and Games] mrgigabyte2002:
Hi Flyview

i am not the person that email you , but i am the person that a while back ask you about paid version , and also joining the beta club and i do belong to it & also have your paid version.

As far as your question data works just fine turns off & on just fine, WiFi no go turns off but not back on.

So for now until its fixed i am using my old battery saver Long Battery Life it works with no problems data & WiFi turn off & on every time

But please fixed i would rather be using your app , i have installed your app in a lot of peoples cells including my wife's also

thank you
[Android Apps and Games] Flyview:
Can you send me an email to teqtic@gmail.com please? I'll send you a debug version so we can see what's going on.

Sent from my Nexus 5
[Android Apps and Games] Flyview:
Can anyone else with a Note 4 chime in? Is your WiFi being re-enabled or not?
[Android Apps and Games] Flyview:
Uh oh I'm seeing LD service grow in memory use over time on Lollipop. Can you guys please report some RAM usage numbers in the following format:

Android Version - Time service running - RAM use

I'll start

5.0 - 9hrs - 32mB (starts with and usually hovers around 5-6mB!)

Sent from my Nexus 5
[Android Apps and Games] TrueFriend-cz:
On Android 2.3.7 show only Disable: WiFi and Mobile data. Why?
[Android Apps and Games] maniac2403:
5.0 - 12hrs - 5.9MB
[Android Apps and Games] f.alansari:
Arabic translation

hi buddy

please except this from me , the Arabic translation for your App

Attached plz find the Arabic Strings file

shall you require any thing please let me know.

Best regards,
[Android Apps and Games] Flyview:
BT is only supported on ICS+, Cell radio and GPS are only supported KK+. Sorry, there's such few users still on Gingerbread it's not worth making everything work, since they would require different methods to accomplish the same thing.
[Android Apps and Games] fatspirit:
5.0 - 6:25 - 10.75
[Android Apps and Games] Flyview:
New Beta is up (might now show up for an hour), I'll probably publish it to production very soon unless someone finds a problem.

LD 2.5.1

-Fixed some crashes and WiFi not being re-enabled on some Samsung devices

-Fixed "Except if Wi-Fi has login" on Lollipop

-Cell radio toggle no longer uses Airplane mode, so BT can stay on
[Android Apps and Games] AndrasLOHF:
Awesome app man. Just downloaded and paid for the extra features. I'm running Stock Rooted Lollipop on Nexus 5. I've set it to disable wifi, cellular data, gps, and bluetooth and also set it to enable wifi first when I turn the screen on. The app is turning on the bluetooth first though.
[Android Apps and Games] fuzzylogics:
Thanks for great app! Is it possible to add this feature: Enable Internet connection if Screen Unlocked AND app from whitelist is working in foreground?
[Android Apps and Games] Flyview:
Thanks for the support. WiFi first really means WiFi before data. So that data doesn't connect first only for WiFi to connect a few seconds later. I will probably rename this to "Wi-Fi before Data".
[Android Apps and Games] Darke5tShad0w:
[MENTION=2584205]Flyview[/MENTION]

You made the front page again!

http://www.xda-developers.com/android/leandroid-battery-life-material-design/
[Android Apps and Games] Da Baron:
Just downloaded this app and purchased the device key. A+ app :good:

~

Da Baron
[Android Apps and Games] suarez1907:
How does cellular radio work option?
[Android Apps and Games] spanish33:
It is disabled with WiFi etc and re-enabled at the set sync interval.

I thought [MENTION=2584205]Flyview[/MENTION] was going to add a separate sync interval for cell radio so we can disable it independently.
[Android Apps and Games] ofteno:
It's working awesomely
[Android Apps and Games] Flyview:
The eventual plan is to have separate exception times. That way the first page can remain clean. So for example if you only wanted it at night you'd put in except 8am - 11pm under cell radio specifically. However separating out different schedules is going to need a whole logic overhaul. I do want to do it though.

Sent from my Nexus 5
[Android Apps and Games] spanish33:
Yes that can also work .
[Android Apps and Games] Flyview:
I am trying to crack down on the memory leak I've been observing in Lollipop. I've figured out the service grows in size pretty much every time a root command is run, and not otherwise. If there are any developers out there with SuperSU experience please let me know.
[Android Apps and Games] Feliks141:
I don't want to be rude or something... but how does this app is different from xposed framework module "deep sleep battery saver"?
[Android Apps and Games] spanish33:
Never tried the module but I purchased deep sleep battery saver and when I upgraded to kitkat it never worked properly (turned wifi off and I had to reboot to get wifi to work again).

I contacted the developer multiple times and never got one response, I even posted in the xda thread with no response as well.

Then I saw this app and installed it and it worked right away. Since then I removed deep sleep battery saver pro app and never looked back.

Unlike deep sleep battery saver developer who never responded to any of my issues [MENTION=2584205]Flyview[/MENTION] responds to all.

Maybe both apps work the same way presently I don't know.