yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hyborian:
Significant ? Then I would not even be writing about it. Now I retired one of the mtk phones and use it heavier than ever, just to play a game.

Right, I use that app, and others. Of course, I know, I use it every day since new doing essentially the same thing, and charge it every night. You will know if your battery is going, like on my old iphone, it's charge goes away gradually until finally it bloated up. But that was an iphone 5, it was old technology.

On my Huawei, Huawei has a tips section built in, and one of the tips is that it is a myth that charging overnight is a problem, at least for today's good modern phones. YMMV, of course.

Anyway, I use this Battery Charge Limit app on my Pocophone F1, just for the fun of it (no problem on Snapdragon phones). But like some here, I have to pull it out once it reaches the limit to avoid fast drain, unless I fall asleep first.
[Android Apps and Games] papatzis:
I think I had found the file but It don't let me edit although I have root sys/class/power_supply/ac/online

When I put the charger it is "1" when I switch of the charher it is "0" I put the charger on I try to edit the file to make 1 to 0 but I cannot save it..
[Android Apps and Games] guest4711:
So it is probably a status file, not a control...
[Android Apps and Games] Alfa2205:
I have Xiaomi Redmi 4x (santoni) with Custom rom Pixel Experience and custom kernel Rockstar, I left its default settings when I first installed this app except the limit settings, I set to 97% limit charging and 30% limit recharge, and which the control file is "battery_charging_enabled"(nexus) selected.. Yes it does stopping the precentage at 97% no matter how long I plug the charger, but the charger is still charging the phone, the electric icon is still there on the battery icon, I wanna ask is this supposed to be like this? I mean shouldn't the charger 'really' unplug charging and the electric icon on the battery disappear? I just wanna make sure that the app is working properly as it should on my device.. Thanks!
[Android Apps and Games] papatzis:
We are in the same boat with my phone

I have the exact problem with Xiaomi Redmi Note 4 MTK ( nikel )

I also have a charging cable with digital display when the app stops charging, the charger current stays the same meaning the phone is still charging the same.

In my case the pecrentage of the battery still increases

Has anyone managed to make this app works on Nikel

Thanks in advance
[Android Apps and Games] Yanghbr:
Is there a way to make this work at a specific time only? I don't know how to make this with tasker/automate.
[Android Apps and Games] post-mortem:
See this post for a starter:

https://xdaforums.com/android/apps-games/root-battery-charge-limit-t3557002/post71945110
[Android Apps and Games] pteek:
Yes, the app limits charge current to 2A on Payton and this limit persists even after uninstalling the app and rebooting.

This is a serious bug. A workaround is required ASAP.

A warning to all users till this bug is fixed.

@OP

Workaround?
[Android Apps and Games] aamadorj:
Did you also read this other post related to the one you quoted?

Battery Charge Limit could be innocent of the issue your device is showing.
[Android Apps and Games] pteek:
I did.

This is the second time this has happened.

The only reason I suspected this app is because I installed the official LOS16 recently and 2A limit was gone (had his limit in unofficial LOS16 ever since installing battery charge limit)

Fast charging was working on both ROMs prior to installing the app and once installed and enabled, even uninstalling doesn't remove the limit.

Dirtly flashing the same ROM is a workaround I guess but it takes a lot of time.

Removing a few files would be better. Much better would be a proper uninstallation.

I am taking a look at the code to see how this current limit is applied. Being unfamiliar to Android SDE, progress is slow..
[Android Apps and Games] Yoshi_523:
To the Dev,

Would you consider implementing options to limit the current (or fast charge)? I know this is an option in newer versions of Android in the battery settings (I think from Android 6 onwards) but I'm running a i9506 Sammy S4 and the latest fully functional ROM is 5.01. Anything newer is ported and I found unworkable bugs. Most 2000-3400mAh lithium cobalt batteries (like in phones and laptops as opposed to high drain & high charge current power tool batteries lithium manganese blend) the spec sheets usually say regular charge at 1 Amp.

The reason for my request is that it would be really nice to be have the option to limit the charge current to 1 Amp. Other than it making the overall battery life longer it is also a safety issue IMHO as there have been many reports, recalls and pics posted of various models of genuine Sammy batterias from at least the Galaxy S3 onward where over time either the metal housing puffs right up or it just gets really hot on charge.

So far the only way I've found to limit to 1 Amp charging current is to use a 1 Amp charger such as from an older model of Sammy phone, with a grounded USB cable. The only other option I've found to limit current is use a non grounded USB cable but this results in a rediculously long charge time as the max current is limited to 460mA.

P.S. Thanks for this very useful app! I only wish there was a similar app for laptops to control the battery charge running Windows OS.
[Android Apps and Games] attfarkas:
Does not work on Lenovo P1m.

The service is enabled, but the phone charges anyways.

Any idea how to fix this? Thanks
[Android Apps and Games] MDV106:
This works fine for the upper limit of 90%, but the lower limit of 20% is not respected by the app. Anytime i connect it when its below 90% it will start charging . How can I go about fixing this?
[Android Apps and Games] Sotyka94:
I was really happy when I saw this app. I'm looking for something like this forever. I use a galaxy tab S 10.5 (SM-T805) for my bed tablet, so it's plugged in 24/7. I wanted a limiter app like this so I didn't totally kill the battery in 2 years (sadly it's already late for this battery, but I plan to change it). I downloaded and started using it, but I noticed that it's not working as it should.

Let's say I set the limit to 73-75 (tested it, the actual % didn't matter). Let's say the battery is around 65%. I plug in, the tablet start charging. it hits 75% the charging stops. It's all good, but the problem is, that the charging stopped at that point and didn't restart until I pull out the charging cable and plug it back on. So it usually reaches the upper limit, 75% then the charging is disabled, so the tablet keeps draining (while the taskbar say "maintaining battery from x-y", and I see the little lightning/charging symbol in the battery at the top bar, but the % goes down, and Accubattery real time can show me that it's actually discharging). Eventually, it hits 0% and automatically turns off, which point the tab start to charge again because the limiter isn't working at turned off state. So the next day or so when I go to bed I see that tablet is turned off, and the battery is at 100%, which defeats the purpose of this app :(

Happened 4 days in a row now.

I tried reinstalling the app and rolling back the data. Also tried the default control file (the Samsung one) and the store-mode one as well.

I really hope you guys can help, because I really want this app to work.

Thanks anyway.
[Android Apps and Games] efanov02w:
Help is needed. Prior to this, on the firmware RR (9 android) oneplus 2, the second setting worked as it should. Now, when I switched to lineage os (9 android) + NGK core, the first setting constantly feeds and keeps stably at the upper boundary, but does not turn off charging. In the second setting, it reaches the upper limit and completely disconnects the charge, but after even if it is discharged to a lot below the lower limit, it ignores this fact and does not include charging. Well, the third setting does not work at all: it charges as without a program, it skips the upper limit.
[Android Apps and Games] post-mortem:
Try a different kernel.
[Android Apps and Games] Sotyka94:
Same problem.

I start to think its a Lineage OS bug.
[Android Apps and Games] efanov02w:
Do you have the same firmware, but without the kernel and also does not work?
[Android Apps and Games] Gr0m03eka:
I use the app to limit charge to 80% most of the time. Sometimes I need my phone to be charged to 100%, so I deactivate the app, but after that I often forget to activate it again.

It would be great to have an option to deactivate app one time until next charge.
[Android Apps and Games] supleed2:
Just press disable when the notification shows up and that's exactly what will happen. It'll charge to 100 and the next time you plug your phone in, it'll turn the limit back on.
[Android Apps and Games] Exetreezz:
Vernee Apollo - Not Working! Why? Please HELP! Thank You!

Hi.

I am using "Battery Charge Limit 1.1.1" app for a few days now on a "Vernee Apollo" phone (the 2K version not the "Lite" version) which runs Android 6.0. The phone has full root.

My issue with this app is that I really don't understand this:

Doesn't suppose for this app to stop charging the phone when it reaches the exact limit I set inside its options?

No matter what limit I set (70, 80, 90, 95, 97, 98, 99) after it is reaching that limit I get a notification from the app that the limit has been reached out but the phone is still charging up to fully charge (100%) and I don't understand why is behaving this way.

Do I need to set anything else in its settings for your app to stop charging my phone once the specified limit has been reached?

I really need your help in this matter, please!

Thank you so much for your time!

P.S.: I have to mention that I don't have programming skills or something like this, so ... "take me easy" for solving this, please! Thank you! :)
[Android Apps and Games] slgooding:
Try changing the setting for the "Set control file". I am almost positive that is your issue.
[Android Apps and Games] Exetreezz:
But ... how? I never done this before and I don't know what are the exact values that I need to enter into the "Set control file".

Can you help me with that, please?

Thank you!
[Android Apps and Games] harryspar:
Keep the switch marked "Configurable Ctrl file data" off.

Then open the menu below and you will have several options to choose from. You don't have to enter any values.
[Android Apps and Games] Exetreezz:
Thank you for replying me.

"Configurable CTRL File Data" is off.

You wrote "open the menu below". There is no option to open another "menu below" but scrolling to the existing already opened menu.

Overall, I tried so many setting/combination of settings and still no positive results. The phone is not stoping charging to the chosen limit choose/set by me no matter what I do.

If I open "Set Control File" it shows me "status Motorola Defy+ (MB526) EXPERIMENTAL" which is already clicked by default.

What am I missing here to make this app to work properly, please?

Do I have to turn on the "Configurable CTRL File Data" option and to customize the "Configure Control Data" with my desired data?

If "yes" what exactly (exact lines, with comma, etc.) do I have to enter in those 3 fields?

Thank you!
[Android Apps and Games] hyborian:
Mine is low, 92 to 98, and my Franco kernel battery monitor reports more than 5% idle battery drain if I don't unplug. I can create a Macrodroid Macro, once I have the time, to kill the app once it reaches the max, but in the meantime, I just froze this app and let the phone ring for me to unplug when I reach the desired limit. It's the same as waiting for this app to reach the max limit and unplugging to avoid the drain.
[Android Apps and Games] jasonkhoo87:
Hi, may I suggest that we have profile for charging state? Maybe day time vs night time or Monday, Tuesday etc.
[Android Apps and Games] mousemat:
I have this installed on my Nexus 7 2013 which is running Lineage OS 14.1 root enabled.

I've set the limit to 95% and start charging at 45%. When plugging in the cable the app says it's enabled however continues to charge past 95% to 100.

Any ideas how to get this working successfully on the tablet?

Thanks,
[Android Apps and Games] westhaking:
Using intents with Tasker can accomplish this.
[Android Apps and Games] RavenRein:
Thanks a lot for this useful app, really helps me
[Android Apps and Games] edimarcr:
Moto Z Family Devices

I need to know if it is possible to control the charge of the Moto Mods battery. The device has the ability to interrupt the charge of the connected Moto to mod, because charging them is not performed if a charger does not support fast charging. My device is a Moto Z2 Force. I do not know where to find the file that controls the loading of the Moto Mod.
[Android Apps and Games] bluegizmo83:
Has any body ever found a fix for the issue of the device slowly continuing to charge above the set limit? I have the charge limit set to 90%, and start charging at 86%. It stops charging at 90% like it should, but when left on the charger overnight it will be up to 100% by morning. It's still adding something like 2% per hour... Its an Nvidia Shield Tablet, which is supported by the app. The charge light even goes green (meaning done charging) when it reaches the set limit, but will cycle back to orange (charging) ever minute or two for just a few seconds while the device is idle and screen off. I've checked that the app is not being put to sleep by the android battery management settings already...
[Android Apps and Games] Proxolin:
Huawai P30 Pro Supported?

Hello, i just got a Huawai P30 Pro and i wanted to extend the battery life with this app

but i never did root a phone before and i thought before i will start to do that maybe someone already have tested that on a P30 Pro and can tell us if the App is working or not :)
[Android Apps and Games] Listy2021:
Can you please add a dark or black AMOLED theme, the default burns my retinas out

Nice app tho, many thanks
[Android Apps and Games] guest4711:
I did use the interface once upon the time to set the app up and never used it again. So - do you really need another theme for it?
[Android Apps and Games] post-mortem:
If you're trying to change the theme of the device once booted into Android, try a Substratum theme.
[Android Apps and Games] RBraverman:
PLEASE do not take this as a gripe or *****, but I've read - persused through the pages of this thread and there seem to be more people for whom this DOES NOT work then does.

I being one of the former.

I had ONE device charge to 95% (the device's battery needs at least that much) ONCE then back to 100%. All my other devices (listed below) all charge straight through to 100%.

I can only assume that - as always - there are those devices that apps simply aren't going to work with, but ALL of these?

If someone has ideas I'm all ears!
[Android Apps and Games] post-mortem:
Try different settings within the app

Restart

Flash a different kernel
[Android Apps and Games] latino147:
I really miss this app! Wish it worked without root...
[Android Apps and Games] raven6679:
Thank you for this amazing app! I could not find any "donate" section and I want to buy you a beer. What are the options?

Wysłane z mojego MIX 2S przy użyciu Tapatalka
[Android Apps and Games] Erpe7:
Agree. Using it for the 2nd night and I think its really great.

I had minor issue with Greenify, had to reboot once to recharge but I assume I can manage with that.

So cheers!
[Android Apps and Games] RBraverman:
Any other ideas?
[Android Apps and Games] post-mortem:
... Compile your own kernel, or ask someone else to modify their kernel to add the features you want?

Change your device?

Otherwise, I'm out of ideas.
[Android Apps and Games] Droid_JD:
Hi all,

I just picked up a Oneplus 6T and got this app up and running. My Pixel XL allowed my phone to retain its charge while neither charging/discharging (basically, maintaining the current battery level by drawing directly from the power source and bypassing the battery - or so it was explained to me). Some control files allow for this to happen. Has anyone been able to get this on the 6T?

Maybe through custom control files?

I should add, running latest nightly of unofficial lineage os
[Android Apps and Games] hyborian:
Well, you are right, it does not work on my 4 Xiaomi phones (especially MTK ones), and none of all the modules here in XDA with the same function works. ACC's developer is very helpful, but I have no time to keep on sending logs for him to check. Battery Charge Limit worked on my Poco F1 for a while, before it started to fail.

It was great when it was working, and I'm sure it makes many here happy.

Since you asked for other ideas, this is what I do now. I use Macrodroid app for many stuff, and IFTT too. When I reach my desired battery charge limit, my macro triggers IFTT to turn off the power from my DLink smart plug where the phone is plugged in. I also use TPLink smart plug, same concept but triggering Amazon Alexa to turn off its power. This is obviously more useful as you can turn off anything connected to them, not just the phone, that you want to turn off automatically when you want (like leave the house). And there are many smart products supported by IFTT and Amazon Alexa that you'll find lots of things to make you busy.

There is a small learning curve, and the folks at the Macrodroid forum are very helpful.
[Android Apps and Games] RBraverman:
Thanks for the reply - I'm changing ROM's from crDroid to LineageOS on the Galaxy S5 this weekend, so we'll see if that helps THAT device.
[Android Apps and Games] Laptapper:
[MENTION=6898873]sriharshaarangi[/MENTION]

Hi

Congrats for your work.

Please tell me how to use with xiaomi mi 9

Thanks
[Android Apps and Games] palmbeach05:
This is the I can't read post #1 quote. So here's part of post #1, since you can't read post #1

Usage instructions and app details:

Enable limit in the app

Change the limit up to which it should charge (default: 80)

Check which control file suits best for your device, see Q/A section below for hints. In most cases, the pre-selected choice should be the best that's available for your device.

The app only gets kicked in while you connect a charger (or USB), and automatically closes shortly after unplugging charger (or USB) i.e it only runs in the background as long as it is plugged in, and won't affect your battery life.

If your device is not charging even after disabling the limit (which shouldn't happen, just in case), uninstall the app and reboot the device (The changes made by the app don't survive a reboot). Your device should charge normally then.
[Android Apps and Games] Laptapper:
Hmmm, I'm not a totally beginner, it's not so easy on mi 9.

Before on different other phones it was working but in the mi 9 the path to input_suspend is difficult linked

/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,qpnp-smb5/power_supply/battery/input_suspend

If I take standard configuration the app seems working but the phone is charging up to 100%

And if I take the linked from above it's stopping charging starting charging stopping starting....

Display is switching on off on off.....
[Android Apps and Games] post-mortem:
Have you tried flashing a different kernel?
[Android Apps and Games] Laptapper:
No, I've got the phone 3 days and already rooted with twrp.

Which kernel you prefer?
[Android Apps and Games] post-mortem:
I don't have your same device. You can ask or look around in your device-specific forum.
[Android Apps and Games] ovisoftblue:
Have you tried the Chargie stick? Just google it. It's an external charge limiter that talks to its app via Bluetooth and shuts off charging at the desired level.
[Android Apps and Games] Laptapper:
I can't get it work on xiaomi mi 9 with miui 10.2.24
[Android Apps and Games] bloodplanet:
I will give it a try, it sounds nice.
[Android Apps and Games] Laptapper:
And? Any Ideas except the standard procedures?
[Android Apps and Games] FORC3:
BUG report and status of the project

Hi [MENTION=6898873]sriharshaarangi[/MENTION] i wanted to know if this project is in active development?

Im just asking before posting an issue on github about my bug/problem.

Short description of the problem:

Samsung Galaxy S7 G930F with LineageOS 16 (Android 9.0 Pie)

When i use the default control file called "batt_slate_mode" which the app selects, my phone gets very hot and unresponsive until i force-reboot it.

The control file called "status" does not work at all and the "store_mode" control file has the 70% bug/problem on my device.

The problem appeared after updating from LineageOS 15.1 to 16. The app worked fine under 15.1 with default settings.

Is Android 9.0 Pie supported by your app?

Is my described problem a known bug for this device or android version?

Cheers
[Android Apps and Games] guest4711:
It's running fine on Pie on my sammy devices (jflte, klte aka S4, S5). But some kernels do not implement the necessary interfaces aka control files...
[Android Apps and Games] Proxolin:
is there any way to use this App without loosing warranty and kox functionality on a Galaxy S10?
[Android Apps and Games] guest4711:
If you find a way to root your phone without triggering KNOX...
[Android Apps and Games] hgmichna:
Chargie

Thanks again for this hint. I have ordered one, a Founder Edition, received it after a few days, and have been using it successfully.

The biggest upside is that it does not require root, so it can be used for most Android phones. The biggest downside is that it costs as much as a replacement battery from the phone's manufacturer. The price seems to vary, [edit:] but as of December 2019 it is around US$10 plus shipping, so quite a bit cheaper than a replacement battery.

It works pretty well for an early (first) version. I have set it for 60%. It charges and instantly cuts off when 60% is reached. As soon as the state of charge drops by 2%, in my case to 58%, it switches on again, etc. This is exactly how it should be.

The device has an USB-A plug on one side and an USB-A socket on the other. I have not tested whether it is directional, I only connected the plug to the power source and the socket to the phone. It has no buttons, only a very dim green light, recognizable only at night, to indicate the availability of power and a brighter red light, recognizable in daylight, to indicate charging. Its limits are 30 V and 4.8 A.

It is operated through the Chargie app, available in the Google Play Store. It connects to the app through Bluetooth. The app can recognize and control a Chargie device out of multiple devices in reach. The app controls a background service and shows a notification, along with its icon. Energy consumption seems to be very low, so I am even pondering the throught of just keeping it running at all times for the convenience of not having to start the app when I connect the phone.

Chargie is made by a Romanian company, headed by Ovidiu Sandru.

It seems that Chargie does not compete with the Battery Charge Limit app, because whenever you can use the free app, you will probably not want to pay extra for a hardware device. Users who cannot use the Battery Charge Limit app, because they cannot or will not root their phone or because it is incompatible, can use Chargie.

I think this is all that can be said about it, so I don't think it warrants a separate thread.
[Android Apps and Games] soulstormfan:
After updating from android 8 to 9 on redmi 5 pro this app doesnt work anymore
[Android Apps and Games] Sedhadi:
Hi

I doubt it really stops charging. I set it to 90%. When the battery reaches 90%, charging icon on stock status bar battery icon disappears and LED turns off, but the phone doesn't discharge and stays on 90%. Also, battery usage page in settings shows the phone is charging.

Xperia Z5

7.1.1

Magisk

Edit: misjudgment!
[Android Apps and Games] hgmichna:
No discharge

Some phones can do this. You are lucky if yours is one of them.

If the state of charge stays at 90% then the battery is not charging. Instead the charger powers the phone and the battery current is zero, neither charging nor discharging.