General [MAGISK] Advanced Charging Controller (Kernels that implement Battery Idle Mode Support) - Redmi Note 10 Pro

This thread is to track which kernels (On Stock ROM or AOSP based) support Advanced Charge Controller the best and ones that prolong battery health by implementing Battery-idle Mode.​
GitHub - VR-25/acc: Advanced Charging Controller
Advanced Charging Controller. Contribute to VR-25/acc development by creating an account on GitHub.
github.com
Please post your experience in prolonging the battery health and longevity of the internal stock 5020 mAh battery by:​
Reducing battery wear and tear (due to fast-charging or charging to a full 100% every single time) by limiting charging to 60% or 80%​
Depleting the limited 500 battery charge cycles on stock battery slower with Idle-mode​

I have used without any problems ACC with the stock MIUI Rom, AOSPExtended and the last 10 days with the latest Lineage OS.
Very happy with the battery life In latest Lineage OS!
I'm using the ACC as a Magisk module and I commanding it via shell commands. Using it with 80 / 70 setup: setup charging at 80% start again at 70 and also I have setup the 50 / 5 cooldown option, for reducing battery temperature during a charge: the charge stops for 5 seconds after each 50 seconds fast / slow charge.

on eu rom and crdroid i can't use acc, always discharging every 5 second.
I'm using acc on acca app, when it doesn't work i tried using it as magisk modules, but still doesn't do the job.

shehaan27 said:
on eu rom and crdroid i can't use acc, always discharging every 5 second.
I'm using acc on acca app, when it doesn't work i tried using it as magisk modules, but still doesn't do the job.
Click to expand...
Click to collapse
I'm using acc in crdroid and it's working perfect.
But you have to take newest 2022 version and flash separately zip and app

thanks for info, i will try it

Hello,
I have Samsung Galaxy S10 (EU version) so with Exynos...
Is it possible to configure module (i.e. in AccA app) so that it really charges in "fast mode"?
I see that 15W (in fact 12-14W) is achievable only with original Samsung charger.
While using any other charger I mean 20W to 35W - max charging current is not more than 1,3 - 1,4A...
As far as I know there are Magisk modules that work, but with Qualcomm processor...
Is it possible to configure module so that on Exynos fast charging was really working?
In the picture there is configuration I made in the app but with no effect...
I configured using tips from ACC help.
Another question is Wireless charging. When I use 15W charger (I know real efficiency is 60-70%) but on average it charges 5-6W, whereas on the screen it shows "fast wireless charging" - is there another separate configuration of ACC for wireless mode?
Please advise, thanks!

tomiasx22 said:
Hello,
I have Samsung Galaxy S10 (EU version) so with Exynos...
Is it possible to configure module (i.e. in AccA app) so that it really charges in "fast mode"?
I see that 15W (in fact 12-14W) is achievable only with original Samsung charger.
While using any other charger I mean 20W to 35W - max charging current is not more than 1,3 - 1,4A...
As far as I know there are Magisk modules that work, but with Qualcomm processor...
Is it possible to configure module so that on Exynos fast charging was really working?
In the picture there is configuration I made in the app but with no effect...
I configured using tips from ACC help.
Another question is Wireless charging. When I use 15W charger (I know real efficiency is 60-70%) but on average it charges 5-6W, whereas on the screen it shows "fast wireless charging" - is there another separate configuration of ACC for wireless mode?
Please advise, thanks!
Click to expand...
Click to collapse
Maybe eqynox phones use a diffrente BMS chip. Probably is better to ask in the acc thread

Is there any kernel for RN10 PRO that supports battery idle mode?

Any chance this will work with s23u? Its really needed and very handy.

Donnerbesen said:
Any chance this will work with s23u? Its really needed and very handy.
Click to expand...
Click to collapse
There were reports that Samsung had implemented bypass charging natively in the S23 series...

amn1987 said:
There were reports that Samsung had implemented bypass charging natively in the S23 series...
Click to expand...
Click to collapse
Yes i know thanks. Im having it activated but it only work for games.
What i ment is to make it work with everything else too. Being able to run a phone over PD and bypass charging.. for example in a car all day or travelling by train.

Donnerbesen said:
Yes i know thanks. Im having it activated but it only work for games.
What i ment is to make it work with everything else too. Being able to run a phone over PD and bypass charging.. for example in a car all day or travelling by train.
Click to expand...
Click to collapse
No idea. Maybe someone would come up with a mod in the future. My devices even from years ago were never advertised to support bypass charging but with root it was possible to enable it in all of them. In some all it took was to limit the maximum battery charge level while in others limiting the maximum battery charging voltage was necessary.

Related

battery issue - drains so fast. IDK what's happening..

hello guys my cousin gave me his xperia and well I was happy. But one major problem. It's battery life. May I ask you guys what is the rating of your charger. mine is a charger not made by SE. I thought that if i would buy a new original charger then battery life would improve. I also think that the ROM installed on mine is not energy efficient. IDK . I'm so new to this
charger won't improve battery life, unless its not charging fully, which if it reports 100% it probably is, if its not an official rom then yes, battery can differ a lot
I have installed a couple of custom ROMs, and after a few months battery consumption increases significantly.
Doesn't sound very scientific, but between installing/uninstalling applications, modifying settings, I find I need to start off again with a fresh ROM.
The ROMs I use have Manila/Sense, I have a suspicion that the increased power requirement is a function of something having gone wrong with Manila.
I would try reinstalling the ROM and reinstalling all your applications again (NOT a restore, since you may reintroduce the problem)
maybe you can let me know if I can use a 1A charger for xperia? and where can I buy it. I mean what are the rating of your chargers? thanks
you can use any charger, since the appliance PULLS the current it needs.
Anything from a PC USB cable, to any generic charger, including a car charger.
Yes, some will take a bit longer to reach full charge if the rating is lower (like the USB feed) - but I understand your problem is the DIScharge, not the charge in itself.
Just some feedback from my experience
Agreed totaly:
paul c said:
you can use any charger.
Anything from a PC USB cable, to any generic charger, including a car charger.
Click to expand...
Click to collapse
I am using the original charger in my home, a PC USB cable from an external hard disk at home or at work and the car charger from a Mio Navigator that is left permanently in my car. The time needed to get to 100% differs according to each method used but it does complete. So how u charge is deffinately not an issue. I can also confirm that the device heats differently in each case from relatively cool to hot.
henryfranz2005 said:
I also think that the ROM installed on mine is not energy efficient. IDK . I'm so new to this
Click to expand...
Click to collapse
The issue of draining comes mostly from different roms configuration. Keep in mind that the battery after flashing needs a couple of days to pass and get charged one or two times so as to get to its max capacity. Also keep in mind that if u use for instance the WiFi or play some games or use an app that needs system resources battery will drain as hell regardless of rom. Personally with Valkyrie and Energy roms with a normal phone and messaging use I have managed to keep my X1 on for 3 to 3.5 days max. Other times I have had to plug it 2 times the same day due to heavy use...
BTW Henry we were all new once, no need to appologize.
Mr Black'd said:
Agreed totaly:
I am using the original charger in my home, a PC USB cable from an external hard disk at home or at work and the car charger from a Mio Navigator that is left permanently in my car. The time needed to get to 100% differs according to each method used but it does complete. So how u charge is deffinately not an issue. I can also confirm that the device heats differently in each case from relatively cool to hot.
The issue of draining comes mostly from different roms configuration. Keep in mind that the battery after flashing needs a couple of days to pass and get charged one or two times so as to get to its max capacity. Also keep in mind that if u use for instance the WiFi or play some games or use an app that needs system resources battery will drain as hell regardless of rom. Personally with Valkyrie and Energy roms with a normal phone and messaging use I have managed to keep my X1 on for 3 to 3.5 days max. Other times I have had to plug it 2 times the same day due to heavy use...
BTW Henry we were all new once, no need to appologize.
Click to expand...
Click to collapse
Thank you sir. I think the problem lies in the ROM i installed 826X personally i think it is energy efficient since i just use my phone for texting. (about 400 sms a day) and about 15 mins of wifi thank you.
Can you recommend a ROM which is known for it's efficiency (energy) thanks.
I personally use Energy this period. But keep in mind that rom selection is based on ones personal prefs. All of them are custom made and each cook has his own point of view. I guess that u will have to test a few before u can say with certainty that you like one in specific. Just keep trying...
thank you sir for being so helpful I will personally try the popular roms 3 roms down!

Any interest in kernel patches to speed up USB charging?

Dear all,
As I'm still collecting more posts to reach this silly 10-posts-until-you-can-write-in-the-development-boards-limit I thought about providing useful information
So as I always wanted it I implemented a patched intel_mdf_battery that supports forcing charger currents higher than the environment suggests.
Facts:
When you connect any "real" or "smart" device to a regular USB port, it can only draw 100 mA or up to 500 mA if the host allows. This limits charging speed to about 350 mA at our Razr I (because you have to substract some amount for running the smartphone, in addition there is a ~350 mA cap in the charging chip).
Mostly all current USB ports are able to deliver much more power. In addition, sometimes you want to use a wall charger that does not correctly express its capability to deliver more than 500 mA (by shorting D+/D-).
There comes this handy patch:
By writing to an existing sysfs node for charger control (previously that featured only _limiting_ the total input current to 500 mA), you can now override the input current limit a) to 950 mA b) to 1500 mA (limit given by Razr I hardware).
How to:
Patch your custom compiled kernel with attached patch and install it
write 5 (950 mA) or 6 (no limit) to
/sys/devices/ipc/msic_battery/charge_enable
Charging current will be updated on next status update, usually every 30 seconds. Watch that update in dmesg or just see the actual charging current in
/sys/devices/pci0000:00/0000:00:00.4/i2c-1/1-0036/power_supply/max170xx_battery/current_now (or current_avg for a few seconds average)
In addition I am looking forward to implementing a charge threshold as the battery identifies itself as a 4,35V model. Being charged to 4,35 volts for prolonged time periods has a drastic negative effect on battery life! I wanna have an override because mostly I charge the device every day. Would be a lot better to use the battery from 85 to 35 percent (so max. 4,1V or so) than from 100 to 50 percent.
Is there any interest in those patches published, made nice (maybe a gui control program) or integrated in existing custom mods?
WARNING: I TAKE NO RESPONSIBILITY FOR ANY HARM DONE TO YOUR DEVICES BY USING THIS CHARGE CURRENT OVERRIDE.
YOU REALLY CAN FRY YOUR USB PORT!
(but it is very unlikely. Know about those handy charge-only usb cables that charge at up to 1A? I use them on different kinds of devices all the time and never hat any problem)
Oh, btw, attached patch also patches an ARRAY OUT OF BOUNDS write in original code! I did not look into details but i think that it did not have any effect because there are very unimportand arrays declared directly after the affected one.
thats amazing, great job.
edit: chances fo seeing this on the stock kernel without unlocked bl?
YaPeL said:
thats amazing, great job.
edit: chances fo seeing this on the stock kernel without unlocked bl?
Click to expand...
Click to collapse
Well, the changed are not that hard and so far only implemented as a proof of concept...
Using with stock kernel not possible as that original driver is compiled into the kernel, so overriding it by module loading is not possible.
Awesome!
Have you considered submitting it as a patch to Omar's kernel? github 'link': github.com/oxavelar/XT890-Kernel-Gamma
I always been interested in this kind of stuff. If you didn't read this article yet you'll find some useful information about Lithium batteries :
batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries
Setting the limit up to 4200mV instead of 4350mV would approximately reduce by 10% the autonomy and double the longevity. Motorola, as many others, seem to favour autonomy You'll do a great work if you succeed in finding how to do that !
How about USB 3 ? Is the limit still 350mA ? But for USB2 I think there is no point in increasing the limit. They're talking about it here but it lacks of technical details :
batteryuniversity.com/learn/article/charging_from_a_usb_port
Maybe you'll increasing the current up to 450mA, which would be nice actually.
USB 3 should handle 900mA while transferring data. It's close to the official charger (850mA at 5,1V). Could someone tell what current usb3 deliver on RAZR i ?
I'll try to find a way to implementing your patch because i've no idea Good work !
Sorry for my English
a-m13 said:
Setting the limit up to 4200mV instead of 4350mV would approximately reduce by 10% the autonomy and double the longevity. Motorola, as many others, seem to favour autonomy You'll do a great work if you succeed in finding how to do that !
Click to expand...
Click to collapse
Yeah, I know quite good about batteries, thanks Implementing that change is very straightforward and easy, but we will need a nice app to control the settings at runtime.
a-m13 said:
How about USB 3 ? Is the limit still 350mA ? But for USB2 I think there is no point in increasing the limit. [...]
Maybe you'll increasing the current up to 450mA, which would be nice actually.
USB 3 should handle 900mA while transferring data. It's close to the official charger (850mA at 5,1V). Could someone tell what current usb3 deliver on RAZR i ?
Click to expand...
Click to collapse
As the device is USB2, the host port would fall back to USB2 also and announce 500mA capability. All Limits we talk about are total input currents. Powermanagement ICs these days are specially made for requirements with limited input current (no one is really interested in the charge current, limit is nearly always the supply as in laptops or USB devices).
Please reread my first post. We are IGNORING the USB spec and just draw more power here. That is totally fine (although not recommended and in no way guaranteed by me) for most standard usb host ports.
a-m13 said:
I'll try to find a way to implementing your patch because i've no idea Good work !
Click to expand...
Click to collapse
Well, maybe you should not You need a complete build environment for that, should take you a few days if you have never done such things. Just wait for some binary releases.
Interesting idea
Hey all!
I checked my /sys/devices/ipc/msic_battery/charge_enable and it's value is 4.
Well, can I change it manually to 5 or 6? Or it will mess with the phone?
Thanks in advance
AthlonLozano said:
Hey all!
I checked my /sys/devices/ipc/msic_battery/charge_enable and it's value is 4.
Well, can I change it manually to 5 or 6? Or it will mess with the phone?
Click to expand...
Click to collapse
It's supposed to be 4 at default.
Writing 5 or 6 without my patch will not work (will return Value Error). With a patched kernel it will do exactly what stated above, so yes, it will mess with the phone to disable USB charging limit
Please, as always, read before doing anything...
PosixCompatible said:
It's supposed to be 4 at default.
Writing 5 or 6 without my patch will not work (will return Value Error). With a patched kernel it will do exactly what stated above, so yes, it will mess with the phone to disable USB charging limit
Please, as always, read before doing anything...
Click to expand...
Click to collapse
How and where to install this patch?

Limit Battey Charge % Android 11

Anyone found a consistent way to limit battery charge % on Android 11? The custom settings I used with Battery Charge Limit app on 10 work intermittently on 11. Often times I'd wake up to 100% charge.
Currently I'm using Advanced Charging Controller magisk module with it's accompanying AccA app but often AccA gets killed in the background even after not optimizing it in battery optimization. The only workaround I've found is to create a macro that opens AccA every time I plug in the charger. With that step it's consistent but I'd like to find something not so hacky.
I've been running A11 for about a week and did not encounter any issues with Battery Charge Limit. Maybe make sure that it's not battery optimized? I have it "not optimized" because I'm paranoid about it, rather than having direct problems.
jljtgr said:
I've been running A11 for about a week and did not encounter any issues with Battery Charge Limit. Maybe make sure that it's not battery optimized? I have it "not optimized" because I'm paranoid about it, rather than having direct problems.
Click to expand...
Click to collapse
I made sure battery charge limit wasn't optimized. You're using the same custom setting from android 10? Maybe I'll try it again
This the settings you have?
Path Data: /sys/class/power_supply/charger/charge_disable
Enable Value: 0
Disabled Value: 1
hawkswind1 said:
I made sure battery charge limit wasn't optimized. You're using the same custom setting from android 10? Maybe I'll try it again
Click to expand...
Click to collapse
I didn't change anything at all... and honestly with all of the other A11 problems I've been having... I didn't even think to check that it was working. It just has been. I also double-checked with AccuBattery and the history never shows above my limit.
This is my control file settings as seen on the main screen:
Code:
/sys/class/power_supply/charger/charge_disable, 0, 1
jljtgr said:
I didn't change anything at all... and honestly with all of the other A11 problems I've been having... I didn't even think to check that it was working. It just has been. I also double-checked with AccuBattery and the history never shows above my limit.
This is my control file settings as seen on the main screen:
Code:
/sys/class/power_supply/charger/charge_disable, 0, 1
Click to expand...
Click to collapse
I think that's the custom setting probably restored from your Google backup. Same one I was using. I'm gonna try it again though, thanks
hawkswind1 said:
Anyone found a consistent way to limit battery charge % on Android 11? The custom settings I used with Battery Charge Limit app on 10 work intermittently on 11. Often times I'd wake up to 100% charge. Currently I'm using Advanced Charging Controller magisk module with it's accompanying AccA app but often AccA gets killed in the background even after not optimizing it in battery optimization. The only workaround I've found is to create a macro that opens AccA every time I plug in the charger. With that step it's consistent but I'd like to find something not so hacky.
Click to expand...
Click to collapse
Have you tried Accubattery? Along with charge limiting it has other useful features, including reporting battery capacity vs. new (under health).
v12xke said:
Have you tried Accubattery? Along with charge limiting it has other useful features, including reporting battery capacity vs. new (under health).
Click to expand...
Click to collapse
Accubattery is fine and all for reporting and giving an idea of where you want to stop charging... but it has no ability to limit charging. The only thing it can do is nag you to take the phone off the charger. This thread is about root applications actually blocking the phone from charging past a certain level without making the user do anything or even notifying the user about what's being done.
I realize this is a couple of months old. but I just got a new OnePlus 8T, now rooted, and I'm trying to use Battery Charge Limit on it. I can't quite figure out the settings to have it work consistently. Let's say the phone is already at 100% when I plug it in. Battery Charge Limit starts, but then it flip-flops between Charging and Not Charging, starting and restarting. The phone woke me up last night because it was making a ding every time Battery Charge Limit flipped between charging and not charging. One would think that if the phone was at 100% Battery Charge Limit would turn off charging and let it drop down to my 85% limit and then back up to 91%, but never got above 91%. Thoughts? Thanks.
rcbjr2 said:
I realize this is a couple of months old. but I just got a new OnePlus 8T, now rooted, and I'm trying to use Battery Charge Limit on it. I can't quite figure out the settings to have it work consistently. Let's say the phone is already at 100% when I plug it in. Battery Charge Limit starts, but then it flip-flops between Charging and Not Charging, starting and restarting. The phone woke me up last night because it was making a ding every time Battery Charge Limit flipped between charging and not charging. One would think that if the phone was at 100% Battery Charge Limit would turn off charging and let it drop down to my 85% limit and then back up to 91%, but never got above 91%. Thoughts? Thanks.
Click to expand...
Click to collapse
It's possible it's not configured correctly for your phone. You can also just disable that notification channel, since mostly it's just annoying. It constantly fliping might mean that there's more than one control file for your phone type and it's using an ineffectual one that the OS is overriding immediately. For example, the default one it detects for Pixel 4's is not the one it should use.
jljtgr said:
It's possible it's not configured correctly for your phone. You can also just disable that notification channel, since mostly it's just annoying. It constantly fliping might mean that there's more than one control file for your phone type and it's using an ineffectual one that the OS is overriding immediately. For example, the default one it detects for Pixel 4's is not the one it should use.
Click to expand...
Click to collapse
Thanks for the reply. The problem is that I use the notification to trigger Tasker profiles, so I was hoping to figure out a way to get it to stop flipping back and forth while also retaining the notification. I think it's just the standard control file since it's a OnePlus phone, but I'm not sure I can figure out otherwise. When I first start using BCL, I found the control file and was able to manipulate it with a SQL editor and Shell commands in Tasker, but I haven't poked around the OnePlus 8T that much yet.
Just as a PSA, I think Adaptive Charging from the January update can conflict with this. On days where I set a morning alarm, I found that my battery was more full than it should be. I suspect that Adaptive Charging does something that Battery Charge Limit cannot block. I won't know for a few days if turning this off in settings fixes things 100% or the January update just really screws with this.
Battery Charge Limit settings for pixel 3
Hi all, I like the app, Battery Charge Limit (root required), but was wondering how to set the control file. I works fine with Xperia (with/without Lineage), but doesn't work with Pixel 3 stock firmware (Android 10). And finally found how to...
forum.xda-developers.com
Well, as a root method it does seem to work. Depending on your taste, it might be cleaner than an app toggling a different variable. Of course you need an app to set the file back to 100 when you want it. Some Tasker widgets work for my purposes... could probably make it a QuickSettings toggle in the shade, actually.
Bottom of that thread, I was wondering specifically if there might be way to force an unrooted device to think it met one of these conditions, so it only charges to 80%.
Specific post link:
Battery Charge Limit settings for pixel 3
Hi all, I like the app, Battery Charge Limit (root required), but was wondering how to set the control file. I works fine with Xperia (with/without Lineage), but doesn't work with Pixel 3 stock firmware (Android 10). And finally found how to...
forum.xda-developers.com
i.e.
... your phone automatically limits charging to about 80% under certain conditions:
Continuous charging under high battery drain conditions, like game play.
Continuous charging for four days or more.
I've done very little research on this, but I expect the ways to fool the phone into thinking those things are happening is even more complicated than using that root file control. Meaning also requiring root but manipulating other control files.
I suppose you could have a case and a ribbon USBC connector that fools the charging logic into thinking it is constantly connected to a hardware charger even though it's still at a net negative power. After 4 days of having the case on, it might work. I don't know why anyone would have already built something like that, however.
I would root my phone but, as my daily driver, I need things like banking apps to work. They (at least some) detect rooted phones and refuse to load as a security measure (which is probably a good thing) :-(
Banking apps are usually just a frontend to their website used API. They have no problem with you using a browser on a rooted phone or Linux PC, etc. Any app that stores sensitive data on your phone and relies 100% on the filesystem being locked down was created wrong and lazily. The only thing about banking apps that might be legitimate is when things like unique CC info is stored for NFC and using a TPM can't be assured. Most banking apps, however, do not store anything sensitive on your phone aside from a login token which all websites also do. (it's called a cookie)
My personal preference is that no app is better for me than being able to root my phone. I don't play mobile games that want to keep you from cheating and I don't even care about Google Pay, which I'm not sure has legitimate need to block root either... they just do it to keep banks happy, which as I suggested, I think they're full of BS.
The only thing more BS than this no-root nonsense from app companies is when carriers do it by locking bootloaders. I try to re-use my phones for as long as possible and without the ability to limit battery charge, the batteries swell and die quickly, every time. It's good news that Google added code where phones plugged in constantly will limit charge automatically... but I doubt there is a way to trick it from the outside. (without root)
Hmmm. Maybe lazy programming, but I'm not ready to change my Bank so I can root my phone
Back to the topic... I don't think I'm ready to trust the /sys/devices/platform/soc/soc:google,charger/charge_stop_level method. Several times I found my phone at low battery and not pulling any current from the USB port, but not losing charge either. It had put itself into a stalemate where it was stuck below 10% for hours. Resetting the value from 60 to 100 allowed charging again. The battery charge limit app never really caused this. So I guess I'm going back to the full app method.
jljtgr said:
Back to the topic... I don't think I'm ready to trust the /sys/devices/platform/soc/soc:google,charger/charge_stop_level method. Several times I found my phone at low battery and not pulling any current from the USB port, but not losing charge either. It had put itself into a stalemate where it was stuck below 10% for hours. Resetting the value from 60 to 100 allowed charging again. The battery charge limit app never really caused this. So I guess I'm going back to the full app method.
Click to expand...
Click to collapse
I would like to definitely solve this problem I have been struggling with for years. What did you do, can you please help me? It seems extremely similar to what you wrote here.
I have been using battery charge limit on my Xiaomi Mi Mix (1st model) since android 7.1 (lineageos) (and I might have messed with a couple files, not sure, can't remember). When updating to android 9 (lineageos) couple years ago I started having the problem you described. Also I notice sometimes I plug the phone at safe levels such as 35% or 60% and it doesn't charge same thing. Also it only charges with certain chargers and not others.
Earlier today it was 11% battery, could not boot android, didn't charge. I got the idea for the first time to try booting in TWRP (on+volume up buttons) and it immediately started charging at full speed. So there's obviously nothing wrong in the hardware, it's software or just config.
I would like to definitely solve this problem, but I don't understand exactly what you did on your side to fix it. Please reply or message me if you have any suggestion Thank you!

(Magisk) 30Watt Charging + Better Battery Profile

Hello,
Redmi Note 9 limited it's charging rate under 2A.
Sometimes it's under 1A if using phone when charging.
Throttled temp @39c
Redmi Note 9 use smb1351 charging ic, which support QC3.0
This phone should have similiar charging speed like
Redmi Note 9s or Redmi Note 9 Pro
Don't know whatever reason for limiting this feature.
Maybe because it's cheaper phone, then Xiaomi need some advantage for more expensive model.
After read some document, i believe that limit battery temperature @45c wont do much damage or degrading battery capacity. At least i would like to take the risk for faster charging, which annoyed me a lot.
Here i want to share magnetar_juliet module.
This module will bypass limiter by change "thermal.conf"
Phone now charging at max curent 2920mA
All credits goes to dev @Kyliekyler
Changelogs:
- Added Android 11 Support
- Compiled w/ Clang 10.0.1
- O3 Optimization Enabled
- Improved CPU Load Calculations
- Improved Config Backup & Restore
- Improved Game Detection
- Increased Temperature Threshold by 3°C
- Miscellaneous Changes
- New Modes
- 0 = Adaptive
- 1 = Endurance
- 2 = Balance / Balance+
- 3 = Extreme
- Optimized Overall Performance
- Various Bug Fixes & Stability Improvements
Download attachment below, and manually install it using magisk manager, reboot, enjoy faster charging as it should be
ps. use with original charger from phones.
*Added some proof from accubattery details
Update:
*added magnetar_kilo
More battery life (personal opinion)
Regards,
kevin168
There is app from @sssira
Useful to check logs and change magnetar profile.
Here to download,
For those who still worry about battery degradation,
Additionally you can install
"Battery Charge Limiter"
Original Thread here:
https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002/
For me personally using this magisk module below,
Set max up to 80% for daily life,
Just disable app if you need to recalibrate battery stats, or needed it to fully charged.
Regards,
kevin168
Will this destroy or make the battery go down quicker in any case?
Read more for science behind lithium-ion,
https://batteryuniversity.com/index.php/learn/article/how_to_prolong_lithium_based_batteries/
- Degrade capacity faster?
maybe if you always charged to 100%
Even with slower charging rate, fully charged is mainly cause for faster battery wear,
you can try to install accubattery app,
There's enough information for how to prolong your battery life.
-Go down quicker?
It's go UP quicker and go DOWN slower
For me, who lived in tropical area,
Seems impossible to reach 25c battery temp,
with daily ambient temperature more than 30c.
If you affraid about battery degradation
(maybe you want to use this phones for 3+ years)
Then i suggest to use charge limiter, capped max @80%
Regards,
kevin168
kevin168 said:
For those who still worry about battery degradation,
Additionally you can install
"Battery Charge Limiter"
Original Thread here:
https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002/
For me personally using this magisk module below,
Set max up to 80% for daily life,
Just disable app if you need to recalibrate battery stats, or needed it to fully charged.
Regards,
kevin168
Click to expand...
Click to collapse
how do i install? guide?
Phone need to be rooted first with magisk.
Then use magisk manager, add module, reboot and wait 2 mins for mods started.
Didn't notice a difference except it overheats a lot.
DavitidzeSh said:
Didn't notice a difference except it overheats a lot.
Click to expand...
Click to collapse
Check your charging time
Before and after mod applied.
kevin168 said:
Check your charging time
Before and after mod applied.
Click to expand...
Click to collapse
I checked. Nothing changed for me. I even used a 33 Watt Charger
DavitidzeSh said:
I checked. Nothing changed for me. I even used a 33 Watt Charger
Click to expand...
Click to collapse
Could you post magnetar logs?
There's nothing we can do without more detailed info.
For me without mods, charging ampere mostly under 2A.
After mods, charging ampere mostly higher than 2A. Usually between 2.5 - 2.9A
May i know your ambient room temperature?
If you live in cold weather area, maybe this is the root cause.
I installed a gsi rom with supersu how do I install this do I have to convert su to magisk or reflash a rom with magisk?
Magisk is mandatory for this module.
Sorry but i don't know how exactly to change supersu to magisksu.
Reflash magisk ROM should be easier.
JLowell said:
I installed a gsi rom with supersu how do I install this do I have to convert su to magisk or reflash a rom with magisk?
Click to expand...
Click to collapse
Use unSU script and delete supersu files (there are many guides online), see if safetynet passes and install magisk.
Do I need to be concerned about that voltage shown by Accubattery?
Looks normal to me when charging,
there is still much of hardware safety protection for every battery.
Bypassing/disabling software limitation won't damage it.
请问此设备的安卓10系统可以使用吗
Hey, would it be possible for you to make just the 30 watt charging avaliable as a seperate module? I use NFS injector already and just want the faster charging, not magnetar.
Thanks!
Ebraheem Bambotia said:
Hey, would it be possible for you to make just the 30 watt charging avaliable as a seperate module? I use NFS injector already and just want the faster charging, not magnetar.
Thanks!
Click to expand...
Click to collapse
I too would love standalone module, but for now this works perfectly. Thanks
Any android 12 miui 13 support please ?

Question Charge Separation

Hi, for those who doesn't know what's charge separation, it's a feature that directly pulls the charging power to the screen, limiting the heat on your battery and it will prolonged the battery life.
So I'm just wondering is there any app out there can achieve this "charge separation" for s21 ultra? Can it be done by software or it is something only can be done on hardware?
That is not what charge separation means. It was misused as a marketing term by the RedMagic 6 phone. i think what you're talking about is called bypass charging. AFAIK, it's a feature which has to be built into the phone by the manufacturer. Usually seen in gaming phones where phone is used heavily while plugged in, like the Redmagic, ROG phone, etc. The S21U does not have bypass charging enabled on stock firmware.
Have read some reports online that it can be enabled on some devices with special factory cables or modified kernels, but haven't heard of it being done successfully on a Samsung. Need some developers to comment on this. Maybe @dr.ketan can shed some light.
Found this link claiming a workaround for bypass charging on an unsupported device : https://android.stackexchange.com/q...tery-but-use-connected-power-to-run-the-phone
EDIT: new info updated
It is also called battery idle charging. But it has to be built into the kernel.
Advanced Charging Controller can help you activate it (if the kernel supports it) or give you a functionality that is similar (by heavily limiting the charging current), but you need a rooted phone and a 3rd party kernel that supports it.
Thanks for the info. I think this is a great feature that every smartphone should have implement it.

Categories

Resources