yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hgmichna:
Best max setting

I doubt it. The manufacturers want your battery to degrade in the hope that you buy a new phone after a few years.

If you want your battery to last for thousands of cycles, almost forever, set the max to 60% (3.92 V) and charge higher only when you know that you need more during the day. This works best when you can recharge during the day, like at work. That's how Tesla cars do it. The car recommends 60%, but lets you charge higher if you need more miles.

If you need to get through the day without charging, charge as much as you need. 80% may be a good compromise. It will still extend the battery lifespan by a year or two or three.

As you can see, there is no best setting. It depends on circumstances. Even at 90% you may gain a year of battery lifespan.
[Android Apps and Games] a9ball:
So you think 3.92v would be a good place to stop charging at? That is the answer I was looking for. I find that easier to do than 80% or any percentage. How much would you say to start charging again at in volts?
[Android Apps and Games] hgmichna:
Does the app allow you to set voltage levels? I thought you can only set percentages. But anyway, 3.92 V is equivalent to 60%. The real question is whether 60% is enough for you to get through the day.

I usually set the recharging level just a tad lower, like 58% (around 3.8 V I guess). Short charge-discharge cycles keep the battery cool. And they do not age the battery unduly, contrary to some beliefs.
[Android Apps and Games] a9ball:
After reading your comments and the others I'm going for a 60-58 setting. I have my phone plugged in over 75% of the time and I think this will really help me out in the long run. Besides if we ever want a higher charge just turn it off, very easily to. I'm so happy I found this great little app and finally got brave enough to root my phone. Haven't played with custom OS's yet. Sometimes the small apps are the most useful.
[Android Apps and Games] baldybill:
This app works (after the phone hits the max I set, it does start draining). However, the charging battery symbol does not go back to the non charging battery symbol when it stops charging. Should I be concerned about it?
[Android Apps and Games] a9ball:
I do not have that problem but I suggest that you look at the voltage level in the app and see what it shows. If it's really still charging that level should be fairly high. Also see if it drops when you unplug the phone. If it's not charging I wouldn't worry about what it is displaying. Also if your phone is like mine it always makes a sound when it changes charging state so I edited the sound file and dropped it's volume by 90%. Can still hear it but doesn't bother me. And everything else has its normal volume level.
[Android Apps and Games] richarshub:
I am using the Xperia XZ2 by Sony, which already has the BatteryCare as a built-in feature. Should I use this along with your application??
[Android Apps and Games] baldybill:
How can I get this to pull from the charger when it's done charging, rather than drain the battery?

I have a LG V20
[Android Apps and Games] hgmichna:
Run from charger

You can't. Some phones do it, most don't.

But don't worry. Just set the charge-discharge difference to a low value, like 1. Then it will do short charge-discharge cycles, which, contrary to some belief, do not harm the battery.
[Android Apps and Games] nfoboy:
So far so good, using on a Pixel 3 XL, with only a few charge cycles above 80% (a couple of 100% to check full capacity), and AccuBattery reporting health at 104%.

However, wondering if we can rip a page from Apple's book, (not that Apple invented it, and I thought about asking before I saw it from Apple, just didn't get to it), of allowing for a top-up charge to be activated at a certain time? I keep the charge limit at 75/68, and when I get up in the morning my goal is to utilize the charge at whatever level is at when I unplug it. Yet, there are times that I wish I had a few more percent available (which almost invariably happens when I start the day under 70%) to finish up the day. If I could set BCL to top off at a certain time (about 10 minutes before my alarm gets me up for my purposes), then I would almost always start the day off with the same exact charge, instead of having it vary in-between the two endpoints.

I would think that this top-off charge end-point could even be different than the normal endpoints throughout the cycle, so for example, I keep my 75/68 endpoints (who knows when I might get woken up early, and need to just grab and go, and want enough charge for at least 12 hours), but my 6:40 a.m. top-off charge might be to 80%, so that when I get up at 7, the phone will be at or near the 80% mark, and I'll be good to go until midnight without having to think about a charge cycle to top-off. Or I can select 90% for a day where I think I might be power using it more.

Is there any way to accomplish this now, or add that in as a feature request?

Thanks,

Ross
[Android Apps and Games] hgmichna:
SoC in the morning

Set it to 76/74. Then you will find your phone at 75% in the morning. On most days, anyway.
[Android Apps and Games] nfoboy:
While this works for keeping it in that tight range, I do prefer the life expectancy curves that are developed when not keeping it in such a tight range. Also, the ability to go above the normal endpoints, and to allow for it to boost to a higher level only right before use such as 90%, would also be better than setting 91/89 throughout the night cycle.

This is inline with Apple/Tesla/general LI-ION battery chemistry guides, which would call for use only up to the required charge level, and going to higher levels of charge only when needed (with the added caveat, get to your highest point of charge needed right at the point that you need it to be there, which I understand is a bit much for BCL to do, but I would think it possible to add in functionality that comes close to that).
[Android Apps and Games] hgmichna:
SoC in the morning

That I don't understand. Batteries do not care about being kept in a tight range. Quite to the contrary, they benefit from short charge-discharge cycles, because these keep the temperature peaks lower.
[Android Apps and Games] yegorus:
Currently my Battery Charge Limit installed from an apk turns off charging by the upper limit but doesn't turn on it by the lower limit. It activetes charging again when I turn off and then turn on the very first option "Enable Battery Charge Limit" manually. What can I do with this?
[Android Apps and Games] jojo8686:
Thanks for this helpful information.
[Android Apps and Games] droident:
Also having this on the Mi9T Pro. Did you find a fix?
[Android Apps and Games] nirmalts:
Hello,

This is a perfect match for my usecase where I have a Samsung Galaxy S2 Tab wall-mounted as part of smart-home control and on charge 24/7. The tab was working fine for over 2 years (without this App) and now the battery is swollen and needs to be replaced (perhaps because of over-heating and no deep discharge of the battery). Until it comes back from repair, I am already thinking on how to prevent this in the future. The App is a perfect match for this where I could prevent a full charge and allow discharge to a certain limit even with the charged connected all the time.

Until the tab comes back from repair, I am trying out the new setup on an old Samsung Galaxy S3 phone running LineageOS 16 (kernel: android_kernel_samsung_msm8226). The setup will then transferred to the Samsung Galaxy Tab S2 running LineageOS 16 (kernel: android_kernel_samsung_msm8976). I am however facing the following problem and been struggling for a few days to find a solution.

I found that on S3, the control file is batt_slate_mode where a manual change from "0" to "1" stops charging and vice versa. There is also a charging_enabled file which is automatically changed to "1" when the device is charging and back to "0" when the device stops charging (a manual change of this file however has no effect). I am using the App with the default control file batt_slate_mode and it correctly stops charging at the max limit. The battery however does not discharge after this with the charger connected. I read in some other threads that this is because some devices behave in a way that it draws power from the charger directly at this point (which would be ideal for my usecase). Now to test a discharge, I removed the charger and I observed that the phone now discharges until the lower limit (with charger still removed) and when I connect the charged again, the charging icon appears, however the battery keeps discharging over time and does not get charged again. It charges only after a restart. I uninstalled the App and created a Tasker-Profile and the behaviour is exactly the same.

Any ideas how to solve this?
[Android Apps and Games] post-mortem:
Don't sweat it too much. The tablet will likely behave differently than the phone.

For the tablet, I suggest leaving the charge level at about 40%, as that is where lithium batteries are happiest. Unless, that is, you want to keep a reserve to act as a battery backup.

If the tablet ends up requiring a restart, you could try flashing a different kernel.

Keep us updated.
[Android Apps and Games] nirmalts:
That's a good hint. I'll test it on the tablet soon and let you know.

Gesendet von meinem ONEPLUS A6013 mit Tapatalk
[Android Apps and Games] amn1987:
Off topic but in my almost 3 year old Redmi Note 3(where BCL has been used pretty much from the beginning ) the battery capacity seems to have degraded rather rapidly in the last 5-6 months. Intially I would get 9-10 hours SoT easily. Even as late as early last year 8.5-9 hrs was pretty regular. But now I am getting only 5-6 hours which itself has reduced from ~7 hours only 2-3 months back. But both Accubattery and a USB Battery Tester ( tested with new Honor Band 5,Kindle PW3 and seems to be accurate) both agree that battery health is around 85%. But usage suggests its fallen to 60% or lower. I have tried reinstalling ROM, switching kernels but it remained the same. Any other thing to be tried or time to get a new battery? Thanks.
[Android Apps and Games] gygabyte017:
Same here on MI 9T pro, maybe that's the wrong control file?
[Android Apps and Games] post-mortem:
Remember that the reported percentage is really just the OS's interpretation of the battery voltage. It may well be simultaneously true that the BCL app has done its job well, and that the battery now needs to be replaced (i.e., the battery would not have lasted as long if you never used BCL).

I'm interested to know what your limits were set to during the past 3 years.
[Android Apps and Games] amn1987:
I had set the battery to stop charging at 80%. Lately I had resorted to keeping it plugged in while in home. It supported the "laptop mode" and drew no more than a constant 152mA. I would usually charge it again at around 30-40%. I had charged the device powered off from 1-100% and USB Battery Tester measured 3400mAh which is 85% of 4000mAh(removed the charger only after current had fallen to a few milliamps) . However it was used extensively(no gaming but nearly 2 terabytes worth of downloads) . So maybe the charge/discharge cycles were used up.

In my other device Redmi 3s which is a few months older (and BCLed from the beginning as well) battery life is reported as 96-98%(both Accubattery and USB Battery Tester are in agreement ).
[Android Apps and Games] PamelaGirl:
Hello Good People,

Big thanks to the developer of this app!

I now have this installed on my Galaxy Note 4 running Kitkat 4.4.4. My settings are 85/80.

What I noticing is when the battery drops below 80 it causes my screen to come on every few seconds with a pop-up message, and it looks like my device is in charging mode though it is unplugged from power source.

Can some please share what I need to do to resolve this?

T.I.A. :)
[Android Apps and Games] PamelaGirl:
When my phones battery dropped below 80 the screen turned on with a toast message every few seconds till the battery went to 1% and the phone died. :(
[Android Apps and Games] post-mortem:
What's the toast message?
[Android Apps and Games] PamelaGirl:
The message is Battery Limit Service Enabled! than Battery Limit Service Disabled!.

This will go on and on causing the screen to stay on and will drain the battery. :(

Thanks
[Android Apps and Games] post-mortem:
To be clear, this happens while the phone is unplugged?
[Android Apps and Games] PamelaGirl:
Yes, that is correct.
[Android Apps and Games] fahrer17:
A couple of days ago I discovered and installed this app.

But it keeps driving me crazy: About half the time I plug my phone to the charger nothing happens. The only thing I can do to charge my phone is deleting the app from my phone (which is a pity IMO since I find the app very useful).

I have a Nexus 6 running LOS 15.1-20200109, my limits are set to 85/83%.

Any idea what I am doing wrong??
[Android Apps and Games] Gold_Phenix:
Somebody use this app with FDE.AI app? Any conflict?

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[Android Apps and Games] mxxt01:
I'm using FDE.AI (Magisk module) since yesterday, so far I haven't noticed any conflicts with this app.

Poslano z mojega MI 9 z uporabo Tapatalk
[Android Apps and Games] glavinstone:
No conflicts, both works as it should.
[Android Apps and Games] guest4711:
On my S5 I have to stop and start the app to get it working after connecting power. There is a fine widget to start and stop it.
[Android Apps and Games] fahrer17:
Thank you, will give it a try - a first test yesterday was succesful.
[Android Apps and Games] swayzee85:
Greetings!

I have a Galaxy A5 connected to a router which shares mobile internet connection 0-24h via USB tethering, so the cable is not unplagged at all.

I'd like to set it up to charge the phone for example to 75% and then stop and start charging once the battery reaches 40%.

Is it possible with this app?

Thank you in advance for your answer.
[Android Apps and Games] mxxt01:
Yes... View attachment 4927861

Poslano z mojega MI 9 z uporabo Tapatalk
[Android Apps and Games] post-mortem:
If you will never unplug the phone, you might as well set the battery limits to 37%-40%. There would be no benefit to allowing charge up to 75%.
[Android Apps and Games] gygabyte017:
any advice on what are the recommended settings for battery limiter? I've set maximum to 85% and minimum to 75% but I'm not sure
[Android Apps and Games] post-mortem:
What do you want to accomplish? If you're going for battery longevity in years, put the max at 60% or less, if you can tolerate it. Repeated charging above 60% will reduce the lifespan of the battery. Even 90%, though, is better than 100%. Keep the upper limit as low as you can tolerate. On particular days when you expect to need more battery, you can adjust the limits for that day.

As far as the lower limit, there's not much benefit to having it very far from the upper limit. Multiple short charge cycles are better for the battery than fewer, long charge cycles, as less heat is generated.

Personally, I use 57%-60%.
[Android Apps and Games] nostromo12:
I use the app on my S7 and hopefully it enlarges battery life. Could you add an information for the remaining capacity ?

The value in "capacity" sys/devices/battery/power_supply/battery always changes. Maybe because of a auto reset battery_stats? Is there also a variable showing the complete battery load cycle? battery_cycle = -1 :D
[Android Apps and Games] hgmichna:
Measure battery capacity

The method I know to determine the battery capacity is to install the AccuBattery app, run the battery down as far as the phone allows, i.e. run it until it goes into battery-saving mode, then keep running until it cuts out. Then connect it to a slow charger, switch it on, and let it charge to 100% and a bit longer. After this AccuBattery will report the capacity.

For any higher degree of precision you'd have to repeat this procedure a few times and take the average.

The Battery Charge Limit app cannot do this very well, because it normally does not charge to 100%. Therefore I doubt that the author will be inclined to add such a function. It could observe the battery through an incomplete charge, but the accuracy depends on how accurate the percentages are, i.e. if the phone shows 60%, is the battery really charged 60%? AccuBattery does this too and displays a nice graph, but you cannot deduce much from that cloud of measurement points. It's the full zero to 100% charge that counts.
[Android Apps and Games] nostromo12:
Thanks for your detailed information! I will track the info of the app, looks promising...
[Android Apps and Games] ZXR:
Does anyone know why the apk size is different?
[Android Apps and Games] zputnyq:
I don't know much actually but usually a place like play store has a regulation/s that require a dev to add or even omit something from an app and also have a different signing key from other place. That's probably the reason.
[Android Apps and Games] mcg:
Does anyone know the control file for pixel 4? I've tried looking but nothing that has a binary value representing charging state on/off. Any help is appreciated!
[Android Apps and Games] VR25:
https://github.com/VR-25/acc/issues/20#issuecomment-565711859
[Android Apps and Games] mcg:
Thanks for that, I just tried it but I probably am not doing it right.

I'm using advanced settings in the app to direct the CTRL file to /sys/class/power_supply/charger/charge_disable ---> under "enabled", I put 0 instead of 1, and then "disabled" = 1, since this is a disabling control file vs. enabling.

I am sure my logic is correct but probably not the right way of doing it... I'll try the ACC module. Rather have an easy app interface vs. command lines in modules though :)

Edit: ok, I uninstalled BCL and installed acc, ran the commands to set charging stop/resume and the control file and it works. What threw me off was the battery icon remained charging, but the phone itself was discharging. Thanks for the help again.
[Android Apps and Games] esansnewman:
Im using Redmi Note 5 (whyred) with this app, it charges until the limit, but then "virtually" unplugs the charger, but keeps charging at a very very low speed, any solution?
[Android Apps and Games] No_Signal:
I've installed Battery Charger Limit with root access and gave it a limit of 75/20, reset the battery stats and didn't touch anything else in the settings. Put it on the charger over night but it did load to 100%.

Any idea what went wrong? I got a Pixel 3a...running android 10. Do I need to enable battery optimization for it? Any special app access?
[Android Apps and Games] post-mortem:
Which control file are you using (check the settings). Have you restarted the phone since installing? Launch the app, and see what it says when you plug/unplug the charger.

Im curiosity why you chose 75/20, as opposed to, say, 75/70. You might leave your phone in the charger for hours, then pull it out to leave, only to find the battery at 22%.
[Android Apps and Games] sabotage154:
hello. i have been using BCL on every device i have owned for years. it always seems to work fine. i bought a newer device and installed BCL and it appears like it keeps charging even when running BCL. it still charges to 100% even though BCL is set to default values to stop charging at 80%. The only control file it allows me to select is the "Motorola Defy+ (MB526) Experimental. anyone know anything i can try to make BCL work?

DEVICE INFO:

Hardware : MT6761V/WE

Model : KINGKONG_MINI

Build number : CUBOT_KINGKONG_MINI_9101C_V06_20191121

Build date UTC : 20191121-130020

Android v : 9

Baseband v: MOLY.LR12A.R3.MP.V75.5.P2,MOLY.LR12A.R3.MP.V75.5.P2

Kernel v : 4.9.117+ (feserver@v121-T7910O) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #2 SMP Thu Nov 21 21:24:23 CST 2019
[Android Apps and Games] post-mortem:
You should be able to configure whatever control file you want. The problem is knowing which file is the right one for your device (if your kernel actually allows it). You can search for others in this thread who may have your same device, or you can play around manually with files on your device which have promising names. Edit the files, and see if it blocks charging. If it works, you can set it manually in the app. Then let us know your progress.
[Android Apps and Games] sabotage154:
thank you. where would i look for the giles? what folder would the files be in or are they scattered in different places? what should i look for to determine if thats a control file? thank you!
[Android Apps and Games] Berta Paneslowski:
is this app no ​​longer being worked on? I only ask because there has been no update for so long.
[Android Apps and Games] Sichroteph:
Si you have a suggestion to do or troubles with? For me it's already working perfectly.
[Android Apps and Games] gonzo1963:
Good afternoon,

The app is abandoned.

It does not work on many new models.

For example in the Motorola One Vision rooted with Magisk.

The problem is that there is no alternative app for these cases.

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] larsdennert:
One Plus Haas a battery charger saver in beta. It learns how the phone is used and, for instance, doesn't charge the phone all night over a over but waits until shortly before you wake.

This app had been great and probably still works with all phones if someone digs for the correct control file. Android 10 didn't break anything.
[Android Apps and Games] Berta Paneslowski:
For me the app works great (oneplus 5) and I don't want to do without it anymore. But maybe I will buy a new smartphone soon and I would like to make sure that BCL is also running.
[Android Apps and Games] Krlos Eduardo:
Same here [emoji1303]
[Android Apps and Games] gonzo1963:
Good morning,

What luck!

If one day you renew your smartphone ...

Bye, bye.

There is, as far as I know, an app that replaces it.

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] hgmichna:
Abandoned

Which one? If you happen to remember, please post info.

I know and use Chargie, but that requires a piece of hardware.
[Android Apps and Games] gonzo1963:
Good afternoon,

I'm sorry, maybe I have expressed myself wrong.

I don't know any app that does the same as this one.

I am following the following thread, but they do not work on all smartphones: https://xdaforums.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] RomainD2:
Hi,

I am trying to use this application on a Lenovo tab2 a10-70 which is rooted under Android 6.

I haven't any warning which tell me that my device is not compatible with this application, but the charge never stop.

I have some files under sys/devices/platform/battery/power_supply/ac, but I haven't find anything with charging_enabled or something like that. However, I have found a file which is named online and there is a 0 when not charging, and 1 when charging.

I tried to use this path in the application, but it is still not working :(

Do you have an idea?
[Android Apps and Games] gonzo1963:
Good morning,

Have you read this: https://xdaforums.com/showthread.php?p=81868143?

The application is abandoned and only works on some smartphones, especially old ones.

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] RomainD2:
Hi,

Sorry, but I haven't understood your message, are you talking about this app which is abandonned, or another one that you can recommend ?

Because the lenovo tab 2 is an old tablet, shouldn't it works with this application and the right file path ?

Thanks
[Android Apps and Games] gonzo1963:
Good again,

This application is abandoned.

The last update was on May 14, 2018.

In origin, it already failed on several devices and never got ready for everyone.

The developer or developers are "missing", you just have to check the thread.

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] lklaus:
Well, regarding "doesn't work on new phones"... This app is working fine on my 2019 FP3. the source is public, and the "magic" lies in finding the right control file