yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] whitedavidp:
I meant filling in the optional Tasker Package field for SendIntent action. Perhaps not needed due to the full path in the Action field. But as I said, I have found I need to add the Package field to specify the explicit target of the intent (in this case om.slash.batterychargelimit) since the most recent Android versions (8 and 9, if I recall correctly) otherwise I get errors. I cannot find the Android documentation on this right now.
[Android Apps and Games] Thanhbat:
[MENTION=6898873]sriharshaarangi[/MENTION], Please add notification channel for battery reach limit notification
[Android Apps and Games] evronetwork:
I'd love a "stealth" mode, set it and forget it. With auto-reset battery stats that actually works(in my Polaris auto-reset doesn't work but in my gf phone bacon it works)
[Android Apps and Games] Technical:
Please, bear with me, but what is "auto-reset battery stats" and why should (or shouldn't) enable it? What does it do? Thanks.
[Android Apps and Games] larsdennert:
If you don't ask battery limit to reset, your usage then in settings it will show weeks of usage since the battery never gets to 100
[Android Apps and Games] IuriP:
Battery Charge Limit Freezing Phone

Hello everyone, I'm just curious to know if anyone else is experiencing this issue: when I unplug my phone and shut the screen off right after, my phone simply freezes in the state that its in. I know its frozen because if I have my flashlight on it stays on and nothing responds (touches, buttons, fingerpring sensor, etc), and the only way to get access to my phone again is to forcefully restarting it (by holding down power for about 10s, which is really annoying). If anyone can help me with this I would really apreciate it. :) Ps: my phone is a Moto G6 (ali).
[Android Apps and Games] MaverickNextDoor:
Are you on the stock ROM? Also, try uninstalling the app just to be sure it's the cause, because this sounds like a ROM issue (phone having issues waking up from sleep state).
[Android Apps and Games] lolpepa:
Bug

I confirm the bug with a freeze (something similar happens to me regularly for several months), After a long time I found the cause of the problem, this application). (Lenovo K5 Plus, A6020a46, kernel:msm8916).

It happens to me every time in Android 10 (Lineage 17.1), always a clean ROM (monthly updates). The phone accidentally "freezes" and applications cannot be opened properly (only an empty window opens). The flashlight can be switched on via the QS panel, but the applications cannot be opened correctly (only an empty window opens), it is not possible to make or receive calls / SMS. The only thing that helps is to restart the phone. After the restart, everything is OK again for a while until this problem appears, it always happened after a longer time of switching on, for example 20-50h ...

After uninstalling this application, this bug disappeared, I got 100 hours, 200-300h phone turned on without any problems.

The bug is caused 100% by this application. I didn't have this problem with this app in Android 9.0 (Lineage16.0), it only happened since Android 10.0 (Lineage 17)

Edit1: What version of Android do you use?
[Android Apps and Games] :
Automatically reset battery stats doesn't work.

Hello. When using 'Automatically reset battery stats', it does not reset automatically. I had to manually click the reset button just to reset battery stats. Even other custom ROMs don't work. Thanks!

- using Redmi Note 8, Pixel Experience+ Custom ROM
[Android Apps and Games] IuriP:
Hello, I'm on my phone's stock ROM (moto G6 ali), Android 9. I since my previous post have switched charge limiting apps for the Magisk module ACCA, and this issue persists, I'm gonna try to disable and uninstall this module to see if the problem is solved.

---------- Post added at 10:58 AM ---------- Previous post was at 10:55 AM ----------

Hello, yes, I'm on my phone's stock ROM (moto G6 ali), Android 9. I since my previous post have switched charge limiting apps for the Magisk module ACCA, and this issue persists, I think it's related to the process of changing the charging variable file. I'm gonna try to disable and uninstall this module (ACCA) to see if the problem is solved. Thanks for the reply.
[Android Apps and Games] Abstn:
Hi everybody nice app

My phone is not rooted its o my 3 days old I afraid to root it there is any other way to use with no root maybe a payant version?
[Android Apps and Games] IuriP:
Nah dude, I cannot work without root because the app needs to change a number inside a file wich can only be accessed with root.
[Android Apps and Games] Abstn:
Okay thank you
[Android Apps and Games] fire_of_mind:
Hey. I use this app on miui 12 xiaomi.eu. Phone doesn't want go to sleep mode so battery drop really fast after charging is stopped... Any solution? TIA
[Android Apps and Games] palmbeach05:
Lmao, last release was 2018 and you want a 2018 non sar era app to work with a sar system setup
[Android Apps and Games] fire_of_mind:
Lol. Didn't notice when it was update last time. Good to know. It was really good app... Maybe you know alternative?

Redmi K20
[Android Apps and Games] palmbeach05:
I mean commits have been made since then, but idk who's building the app now
[Android Apps and Games] the_poseidon:
Here you a nice module which you can control all charging stuff https://github.com/VR-25/acc/releases/

Also it has an app under the name of ACCA
[Android Apps and Games] gonzo1963:
Good morning,

Here you have more information: https://xdaforums.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] naifaharsy:
try it Soon. .

---------- Post added at 05:15 AM ---------- Previous post was at 05:15 AM ----------

try it Soon. .thanks
[Android Apps and Games] amn1987:
In my Poco F1 running crDroid Q I have set charge limit to 80%. If I immediately disconnect the charger battery falls down to 79% within seconds to half a minute. The next 1-2% also fall quite rapidly. If I keep it connected it keeps cycling between 79-80% every minute or so. This behavior isn't exhibited in 2 other devices which seem to support the so - called laptop charging mode unlike Poco.
[Android Apps and Games] JD. A:
Use the app Acca instead and block the wake locks if you get them. It's still being developed.
[Android Apps and Games] amn1987:
I tried ACCA and the same situation persisted. Did you mean qcom-step-chg? In FKM its the one with the 2nd highest wakelock time.

Also while in ACCA app voltage/current limiting didn't work I got it working by changing the relevant file permissions. Previously the changed permissions wouldn't stick and immediately revert to original. I don't know if its because of ACCA or a different custom kernel and/or ROM combo.
[Android Apps and Games] JD. A:
I don't have the same problem that you described in your previous post, at least I don't think so. Haven't checked it out too much.

Yes block the wakelocks that occur while using acca or battery charge limit to avoid 2-3% standby drain during the night and so on. Just make sure to take your time to test it out and make sure everything still works when blocking the wakelock.

I attached a screenshot of the wakelocks I'm blocking. Haven't been blocking all these for that long but my standby drain is about 0.5% per hour at the moment while charging cable still plugged in and everything seem to work and I haven't experienced any problem with massive drain later or so. Also this is on my poco f1.
[Android Apps and Games] Vovodroid:
Hi,

default charge level in this app is 80%. But what is optimal level in the terms of voltage for modern batteries? There are different claims, partially based on old Li-Ion chemistry batteries.
[Android Apps and Games] VR25:
The optimal level is within 40-60% (3.7-3.9 Volts).

I shoot for 45%.
[Android Apps and Games] Vovodroid:
As I understand over-voltage causes electrolyte degradation, and under-voltage causes SEI (Solid Electrolyte Interphase) layer build up.

https://batteryuniversity.com/learn/article/bu_808b_what_causes_li_ion_to_die

Even here we have values 4.1, 3.92 and 3.9.

But I guess that exact voltage depends on chemistry.
[Android Apps and Games] freecity:
Delete
[Android Apps and Games] amn1987:
Thanks for the suggestion. I had been looking for an app to block wakelocks reliably for some time. Just started. Hopefully this will do the trick.

P.S. Only those depicted in your ss need to blocked? Also safe to apply on boot?
[Android Apps and Games] JD. A:
I've haven't found any problem by blocking these, it's not that easy finding out exactly what they do though. I suggest you try yourself and start blocking both kernel and app wakelocks which is keeping your phone awake for long amounts of time if you run into a problem revert the last blocked wakelock. Also don't block any wakelock containing "PowerManager" etc. Those are basically catch alls from what I've found out. So if you block them you'll most likely run into problems.
[Android Apps and Games] andrasandhi:
Charging control file on Realme 6 Pro (RMX2061)
[Android Apps and Games] Snah001:
Unfortunately app doesn't work on my new Poco F2 Pro.

On my Mi 9T Pro it worked flawless.
[Android Apps and Games] gonzo1963:
Good morning,

Try this to see if it works for you: https://xdaforums.com/showthread.php?p=73676068

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] Osprey00:
FYI, I found that the following CTRL file works for wireless charging on my phone (LG V30):

/sys/class/power_supply/dc-wireless/charging_enabled

Many thanks to the developer for this great app. If I may make a suggestion, it would nice if we could designate multiple CTRL files so that the service could work with both wired and wireless. If it's not possible to detect which charging method is being used, you could possibly just enable/disable both files at the same time. Edit: Also, adding that path as one of the pre-defined ones in the app would be quite useful, I'm sure.

Edit: I forgot to mention that one quirk that I've noticed is that, only when using that path for wireless, the app ignores the "Recharge below" setting and starts recharging as soon as the percentage drops 1% below the max.
[Android Apps and Games] whitedavidp:
After this I went looking on my V40 Thinq (LM-V405QA) and found this file:

/sys/devices/platform/soc/a90000.i2c/i2c-4/4-0061/power_supply/wireless/charging_enabled

Without a wireless charger I cannot test. But I have added it to my Tasker routines that approximate what this app does. So both wired and wireless get written. Thanks
[Android Apps and Games] Osprey00:
Yeah, that's the same file. The path that I gave includes symbolic links and, if you follow it in a file manager, resolves to a path very similar to what you gave, which looks to be specific to the SOC. On my LG V30, which has a Snapdragon 835, a couple of numbers are different than yours on an 845. In other words, the shorter path is the one that should exist on most phones (at least ones with wireless capability) while the longer one will differ slightly from phone to phone. Either one works with Battery Charge Limit, I've found, but the generic one is probably the better one to use.

I didn't consider automating writing of the files. I may have to try that. Thanks.
[Android Apps and Games] maxs8007:
App isn't working on android 10
[Android Apps and Games] cattolicboy:
this an s a very false information
[Android Apps and Games] guest4711:
No, it's working if the kernel supports it. I use it on some devices running Android-10.
[Android Apps and Games] maxs8007:
How can I identify whether my phone's kernel support it's or not?
[Android Apps and Games] guest4711:
If you'll find a suitable control file the kernel supports it.
[Android Apps and Games] evronetwork:
Wish there was an update of this app, it works as expected but the reset stats doesn't work, so I'm doing it manually

Xiaomi Mi MIX 2s
[Android Apps and Games] bamn:
[MENTION=6898873]sriharshaarangi[/MENTION] or anyone who could help.

Maybe you could help me out, I am looking for a way to manipulate the battery temp reading or to force charging ignoring low batt temp.

The problem is that my batt temp reading sometimes jumps to -20(c) and it won't charge.

I can warm the phone up (hot air) or run a benchmark and the temp reading goes back to normal, it seems downwards from about 26c it jumps to -20.

It's a U11 running lineagos 17.1

Ideally I would only ignore the -20 value as this is never correct and keep the rest of the safety intact.

But I wouldn't mind ignoring the low temperature protection completely as it is rarely below 0 where I live.

I hope you are willing to help me out, I do understand the risks of ignoring temp values!
[Android Apps and Games] Osprey00:
[MENTION=2772194]bamn[/MENTION]

If you look under /sys/class/power_supply/battery, there are three files that seem relevant:

charger_temp

charger_temp_max

temp

temp appears to hold the current temperature, since I see the value is slightly different each time that I open it. It's hovering around 290, which seems to be about what normal is. I'm guessing that the other two determine whether charging occurs by comparing their values to the value in temp. My charger_temp is blank/unreadable and my charger_temp_max is 1216. I'd try setting either or both to -1, then try 0, then other values. If you can't write to charger_temp, changing the permission might help or maybe you can even rename it and create file in its place with its name that you can write to. If none of that works, perhaps you can rename temp or change its permissions/ownership so that the system can't update it. Anyways, those are just some ideas.
[Android Apps and Games] bamn:
Many thanks for your help!

I am able to open all these files but I cannot change the values and safe.

Changing the file name or permissions also gives an error.

I am rooted/unlocked and I tried different root enabled file managers and the echo/chmod command through terminal/tasker.

All options fail...

It's really stupid, I need to heat up my phone to get it to start charging, as long as it's charging the battery temp stays normal and slowly drops, from about 22 downwards it'll jump to minus 9 and then soon to -20.

With - 20 it won't charge and if I switch off/reboot it won't come back on again.
[Android Apps and Games] shiroichiii:
cool
[Android Apps and Games] shiroichiii:
Hi I use this app yesterday, I set my limit to 80% and set recharging to 70%, i decided to disable it, it didn't work so I reboot my phone it still don't work, then I tried to cleanflash and installing new ROM but it still doesn't work it still limit my charging to 80% I even tried to changing back to my stock ROM but the problem is still here, please someone help me:(((
[Android Apps and Games] Osprey00:
It turns out that I have the same problem. Sorry. I should've tested, myself. The permissions on the file and folder appear to be OK. I'm reading that the system can "write lock" certain files to prevent them from being overwritten, which could be what's happening here. I'm not an expert in this area, so I'm not sure if there's any way around this. Something that you could maybe try is setting charging_enabled to 1 and then setting permissions and/or ownership on it to try to prevent the system from ever changing it back to 0. If that doesn't work, you might try an app like Tasker to set that file to 1 automatically whenever it reads that it's 0 or you connect your charge or something.

Have you uninstalled the app? If you installed it from the Play Store, then it will have re-installed itself on each new ROM as soon as you signed into your Google account.
[Android Apps and Games] shiroichiii:
Hi, yes I already uninstall it, its not reinstalling on my new rom

new update, now my phone won't charge even If it below 80% ,my device is redmi note 7 please help me this is so frustrating
[Android Apps and Games] Osprey00:
If the temp sensor is part of the battery, then perhaps all that you need to do is replace the battery. I replaced mine a few weeks, in fact. I had a swelled battery, likely from overcharging, which is why I looked up and found this app, to try to take better care of the new battery.

That's awfully puzzling. If I were you, I'd check to make sure that /sys/class/power_supply/dc-wireless/charging_enabled is set to 1, though I would think that clean flashing a ROM would've reset that for you.
[Android Apps and Games] shiroichiii:
Wait no lmao its because of my charger, sorry for wasting your time my dumbass brain just cant work if im panicked
[Android Apps and Games] bamn:
I already replaced my battery, no luck...
[Android Apps and Games] evronetwork:
While app works amazing, I'd love to have "auto-reset" battery stats in my Xiaomi Mi MIX 2s
[Android Apps and Games] droople:
It's amazing on my xiaomi mix2s and one plus 7 pro.

But it's not working on my Redme K30 pro, no matter which control file I set.

I'm just wondering that how can I make it work on Redmd K30 pro?
[Android Apps and Games] cbendot:
nice app, my device work but led indicator still lights up. .
[Android Apps and Games] akilleas:
On my Mi Max 3 running Miui 12/Android 10 sometimes, maybe one out of 10 charges, it prevents the phone to charge. I have to reboot the phone to start charging again. And I'm sure the culprit is this app, cause the last month I stopped using the app and the problem never appeared again.

On my older phone Mi Max 1 running AOSP/Android 10 ROM works like a charm.
[Android Apps and Games] str8str:
What is this if you don't mind? Where can I find info
[Android Apps and Games] gonzo1963:
Good afternoon,

Here: https://xdaforums.com/showthread.php?p=73676068

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] JochenP:
Hä???

Sent from HTC U11
[Android Apps and Games] srslye:
Anybody get this baby to work on an Asus Max Pro M1?
[Android Apps and Games] pauru31:
I'm using asus max pro m1 4/64 variant. It works fine on my device. ?
[Android Apps and Games] bastringue667:
Battery Charge Limit keeps charging even over limit

Hi,

I own a Samsung s5 and I installed Battery Charge Limit because I want to charge it at night (without going to 100% all the way and keeping it there) and also because I use Waze a lot in my car so without plugging it it doesn't work for long.

The problem is: it doesn't work. I set the limit at 80% and when it reaches 80% status changes to "discharging". The lightning bolt icon disappears, so one would be tempted to think that it works and it doesn't charge anymore. Wrong! It keeps charging anyway. I had to unplug it at 90%. All the way, its status was "discharging" and it was still charging.

Is this an issue with my phone, with my android version, or what can I do to make it work?

Thanks!
[Android Apps and Games] palmbeach05:
They make magisk modules as an alternative
[Android Apps and Games] bastringue667:
How does it work?
[Android Apps and Games] gonzo1963:
Good afternoon,

Here's one:

https://xdaforums.com/showthread.php?p=73676068

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] bastringue667:
Is this like a stand-alone app that works better than Battery Charge Limit? I didn't find it on Google Play Store...
[Android Apps and Games] alex moymoy:
Because that's one magisk mod.
[Android Apps and Games] mochamoo:
Pixel 4xl. Was working fine prior to Android 11. Now it seems to work sometimes and other times not. Puzzled.
[Android Apps and Games] palmbeach05:
I wonder how not optimized, or rather outdated, the code is for this app is.......no one thinks about that
[Android Apps and Games] mochamoo:
This one is working great for me on my pixel 4xl.
[Android Apps and Games] cmglng:
Nice. This app still works even on Android 11 (GSI)
[Android Apps and Games] nxb:
It restarts charging immediately if below the limit. No point in wasting cycles going from 70-80, etc. Need something else to stop charging when plugged in.
[Android Apps and Games] ovisoftblue:
Try Chargie

You can also try our product, Chargie. It consists of a USB device that interrupts charging automatically when the level you set is reached. Works with non-rooted phones, too. See https://chargie.org
[Android Apps and Games] yakalelos7:
Is it posible to schedule the charge enable/disable option ? I have make it on tasker with enable and disable app but dont works very good . What i mean is that i want my phone stay at 80 - 90% of battery all night but 1 hour before i wake up i want to disable the option and my battery go at 100%. Is there a way ?
[Android Apps and Games] SysWiz:
This is what I have been looking for. I look forward to hearing a solution.
[Android Apps and Games] larsdennert:
If you have Tasker, I made a set of profiles that schedule this app. Basically if you plug it in during the day it will try to charge to 100% but in the evening it will charge to 85 and then in the morning finish up.

https://drive.google.com/file/d/1RnbL2SM_Mn8gQU8SBUl7zU490RzqnPYp/view?usp=drivesdk
[Android Apps and Games] T0unet:
Hi there,

I have the new pixel 4a, and the limit don't work with default settings. Any workaround ?

Thanks
[Android Apps and Games] gonzo1963:
Deleted
[Android Apps and Games] cattolicboy:
The spam in this thread about other applications starts to become very annoying, please help me to report those spammers so we can freely discuss on topic!
[Android Apps and Games] gonzo1963:
Good morning,

I recommend an app that works by doing similar functions.

This app has been abandoned by its developer for a long time.

Anyway, I delete my previous post, to avoid problems.

Regards

Enviado desde mi unknown mediante Tapatalk
[Android Apps and Games] GtrCraft:
Trying to import this but tasker can't recognize the xml.
[Android Apps and Games] larsdennert:
Should be able to use Data Restore but it occurs to me that it might erase existing tasks. I guess I need to look at that.

You can create them manually:

Make a task called Battery 100 that sends an intent to com.slash.batterychargelimit.CHANGE_LIMIT

With an extra of

android.intent.extra.TEXT:99

Create a second task the same except change the number to 85 from 99

Create a profile that runs Battery 100 at 7am

Create another that runs Battery 85 at 7pm

Make sure the Battery charger limit app is already installed and otherwise configured and enabled.
[Android Apps and Games] Zaboon26:
Hi people, I've got one interrogation: witch setting is the best for Android auto usage ? I drive all Day so my phone is plugged all dayl long. I currently set the charge limit to 80% and low limit to 80 too, so the battery always stays between 79% and 80%. I'm wondering wether is this is the Best or should I set a larger cycle ? ( like 60 to 80) my only goal here is to spare my battery's life.

I really need your thougts on this one guys. Thanks !:highfive:
[Android Apps and Games] JustIceForSake:
I have a Redmi Note 8 PRO (MTK Helio G90T) and the app won't stop charging after reaching the set value (default at 80%). I am rooted (Magisk), the app is set to Autostart at startup, "no restrictions" is set on the MIUI battery saver.

Naturally the "Enable Battery Charge Limit" level is ticket to "on" and I tried both available "Set Control Files":

- input_suspend (Pixel 2/Xiaomi Mi6)

- status (Motorola Defy+ (MB526) Experimental

"Enforce Charge Limit" is enabled

What can I do to help?

P.S. On my LG G2 with LineageOs 17.1 everything is working perfectly, so thanks!
[Android Apps and Games] aamadorj:
My old Nexus 5 has a ROM which sets the control file to be read only, so without "user intervention" Battery Charge Limit (BCL) won't be able to change the content of this file and it won't work as expected. As a workaround, I created a script using ElementalX Kernel Manager, which runs after every boot, to allow the control file to be writable. After that BCL works perfectly.

My other rooted Android devices don't need this workaround.
[Android Apps and Games] JustIceForSake:
That sounds interesting but unfortunately it's way beyond my knowledge on the matter.