Hi,
Do you know if it is possible to limit the maximum charge level, like it's possible on Samsung devices? If it's not out of the box, is it possible to achieve that on a rooted device?
It's quite useful feature to preserve your battery life.
Thanks a lot!
All I found in the stock OS is "Optimized Charging" and "Overcharge protection".
First one learns the patter of your charging, pauses at 80% and continues to the 100% some minutes before you usually unplug.
2nd one, quote: limits charging when your device has been plugged in continuously for 3 days.
I dont feel like I need either, the phones charges to 0-100% in ~30 minutes with the charger it came with and the battery lasts for 1.5-2 days with moderate use and turning off services you dont need like bluetooth and localization.
Oxxid said:
Hi,
Do you know if it is possible to limit the maximum charge level, like it's possible on Samsung devices? If it's not out of the box, is it possible to achieve that on a rooted device?
It's quite useful feature to preserve your battery life.
Thanks a lot!
Click to expand...
Click to collapse
It's called protect battery, under battery settings.
@Hamid Chikh, doesn't really work with charing the phone in the car for example. I just want a limit, that would the battery never exceed given percentage.
Oxxid said:
@Hamid Chikh, doesn't really work with charing the phone in the car for example. I just want a limit, that would the battery never exceed given percentage.
Click to expand...
Click to collapse
It works with any charger, wired or wireless. Yes that how it works
Hamid Chikh said:
It works with any charger, wired or wireless. Yes that how it works
Click to expand...
Click to collapse
Motorla doesn't have this option. Did you just share a screenshot from Samsung device?
For that, you need magisk, with ACC (advanced charge controller) module installed
Oxxid said:
Motorla doesn't have this option. Did you just share a screenshot from Samsung device?
Click to expand...
Click to collapse
Yes it's a Samsung device
Related
i just got this phone a few days ago. i love it. nothing wrong with it.
super fast and everything. im on 2.3.6. no issues. my battery lasts 12 hours easy. and actually up to 26 hours so far.
i dont even feel the need for a custom rom. at least not for now.
but one thing that makes me mad is how slow the phone charges, anyone know why this is ? it's kinda frustrating lol
any way to change this ?
also....i kinda hate that there is no camera button on the actual phone. oh well.
*Edited*
well i dont like to charge unless my battery is on red. so that conflicts, its not always red when i go to sleep. but thanks i'll check it out.
and i dont want to unlock to camera. it's easier to take photos with a button is what im saying
mrljlamon said:
well i dont like to charge unless my battery is on red. so that conflicts, its not always red when i go to sleep. but thanks i'll check it out.
and i dont want to unlock to camera. it's easier to take photos with a button is what im saying
Click to expand...
Click to collapse
If I remember correctly waiting till the battery is completely depleted is not a good thing for our batteries.
i never said completely depleted though.
and yea ive read so many reviews to not do that, and reviews that say you should... and reviews to charge it this much and that much and blah blah. may be a new phone, but none of this is new to me.
Charge current is hardware limited from what I've read. Or atleast for the time being. If your using the phone while charging it'll be significantly slower. Also using wallplug makes a difference. If you've got stuff running while charging try throttling down the CPU while charging.
Other than that I think our phone is limited to 650mah to charge. So 1650/650 is about 2.5 hours with perfect efficiency. Now take into account the power being drawn and how the chargers for li batteries work, that's about 3-4 hrs to be expected.
And don't run li batteries all the way down on a regular basis, its not good. I'm not positive on li ion batteries, but with lipo you generally want to use about %80 of rated capacity to prolong life and power of the cell.
400 mA on USB, 650 on a wall charger, CPU/screen usage counts against these limits - no way to change this
Forgot where I read it. Could be wrong too.
Slow charging for this phone was samsungs way of keeping our phones battery in shape. Hopefully prolonging the life of it. I noticed my 3GS lose about 20% of its full capacity in a couple years. Only time will tell?
Siyah has an option to upping the charging mA I believe.
Sent from my AT&T cellular device.
all useful responses and all make sense. thank you guys.
i dont use it when it charges and yea it does take about 4 hours to charge.
coming from a crappy xperia x10 which took about 2 hours to charge from 0 to 100
but this phone is 10 times better even without a custom rom so i can deal.
thank you guys for ur knowledge.
jdbeitz said:
Siyah has an option to upping the charging mA I believe.
Sent from my AT&T cellular device.
Click to expand...
Click to collapse
He removed it because it turned out not to work. (If it's still there I'm surprised - it should be completely gone.)
It turns out the I9100 has the same limitation as the I777 - charging is handled not by the MAX8997, but by a MAX8922.
Entropy512 said:
He removed it because it turned out not to work. (If it's still there I'm surprised - it should be completely gone.)
It turns out the I9100 has the same limitation as the I777 - charging is handled not by the MAX8997, but by a MAX8922.
Click to expand...
Click to collapse
Its still there. I have a 750mA charger and iit SEEMS to help but I don't know how to check it
Sent from my AT&T cellular device.
CurrentWidget
he removed the high ma charge back to defaults. you can still change them in voltage control but it wont do a damn thing. as entropy said 650 wall 450 misc.
My remix:
EM EYE YOU EYE
SIYAH nara to the rest, I'm rollin with the best.
SGS2 I777
Entropy512 said:
CurrentWidget
Click to expand...
Click to collapse
Does that widget only show charging current?
According to currentwidget i am charging at 1850+ mA. So, that cant be right. I am not using any voltage controller.
thejanitor86 said:
According to currentwidget i am charging at 1850+ mA. So, that cant be right. I am not using any voltage controller.
Click to expand...
Click to collapse
Enjoy the fireworks.
thejanitor86 said:
According to currentwidget i am charging at 1850+ mA. So, that cant be right. I am not using any voltage controller.
Click to expand...
Click to collapse
Hmmm when I used to run a different widget it would report that, but not with current widget. However I'm on a different ROM now, what ROM you on?
I'm currently on the latest ICScrewed
Sent from my SGH-I777 using XDA App
thejanitor86 said:
According to currentwidget i am charging at 1850+ mA. So, that cant be right. I am not using any voltage controller.
Click to expand...
Click to collapse
If you are on Entropy's DD kernel you should divide that number by 2.85
Battery charge current monitoring (CurrentWidget) support - only reports charge current and not discharge, and reports a value 2.85 times the actual current. Use CurrentWidget's "operation on value" to divide by 2.85.
Click to expand...
Click to collapse
Isn't Fast Charging Bad For The Battery?
That would depend on the battery's C rating. Charging at higher rates doesn't necessarily cause damage. There are plenty of articles on charging lithium ion/poly cells out there.
In my previous S7 Edge , the battery lost plenty of juice in just one year of usage ( i was using wireless charging only). Then i sent it to samsung warranty and they replace battery. Tried to find something about if could be the wireless charging that damaged the battery and found none that supported that theory.
Now, with the S8, i´m using the provided charger and cable only (Just to be safe).
Vogal said:
In my previous S7 Edge , the battery lost plenty of juice in just one year of usage ( i was using wireless charging only). Then i sent it to samsung warranty and they replace battery. Tried to find something about if could be the wireless charging that damaged the battery and found none that supported that theory.
Now, with the S8, i´m using the provided charger and cable only (Just to be safe).
Click to expand...
Click to collapse
Wireless is different due to the losses in the induction, creating heat, which does have some affect. But there are a lot of variables as to why your battery performance may have degraded.
LeoNote4 said:
Isn't Fast Charging Bad For The Battery?
Click to expand...
Click to collapse
Are you a battery engineer/chemist?
peachpuff said:
Are you a battery engineer/chemist?
Click to expand...
Click to collapse
Battery President.
?????
Gesendet von meinem SM-G950F mit Tapatalk
LeoNote4 said:
Battery President.
Click to expand...
Click to collapse
Right... it seems every day someone thinks they know more than engineers in that field, battery is getting hot so it must be bad. Yet every year qualcomm and others improve quick charging for even faster charging, so unless someone actually knows something these threads should just stop.
peachpuff said:
Right... it seems every day someone thinks they know more than engineers in that field, battery is getting hot so it must be bad. Yet every year qualcomm and others improve quick charging for even faster charging, so unless someone actually knows something these threads should just stop.
Click to expand...
Click to collapse
I think what's going on here is someone doesn't know so he is asking a question.
LeoNote4 said:
I think what's going on here is someone doesn't know so he is asking a question.
Click to expand...
Click to collapse
Why would you assume its bad for the battery in the first place? Just because it gets hot? The cpu also gets hot when gaming so i should stop gaming? Recording 4k videos also heats up the phone so i should stop recording 4k video's? Constantly downloading will probably heat up the modem too so i should stop downloading? If something is built into the phone why would you assume its bad for the phone?
peachpuff said:
Why would you assume its bad for the battery in the first place?
Click to expand...
Click to collapse
I didn't.
peachpuff said:
Just because it gets hot?
Click to expand...
Click to collapse
What gets hot? Who said anything about hot?
Hey, don't take it badly, he is just asking. I remember old batteries (for example ni-mh) if you charge it at a high current they use to live less than if you charged them at a slow one (i remember using rechargable batteries of this time for my wii control and i could test it with how long they lasted).
I think the new Li-ion (or better) batteries nowadays don't suffer from this, so you should be safe about them. They have a natural capacity loss thats isnt affected about the rest of the things. You should anyway check for faulty chargers or your battery life, remember all the test samsung makes are with their original hardware.
Regards!
peachpuff said:
Why would you assume its bad for the battery in the first place? Just because it gets hot? The cpu also gets hot when gaming so i should stop gaming? Recording 4k videos also heats up the phone so i should stop recording 4k video's? Constantly downloading will probably heat up the modem too so i should stop downloading? If something is built into the phone why would you assume its bad for the phone?
Click to expand...
Click to collapse
This is someone not knowing what they're taking about trying to talk down on someone else.
Anyways heat has always been detrimental to battery health which is why samsung fast wireless chargers have fans built in to keep the heat low. Along with this the phone will prevent charging if it passes a certain heat threshold I believe 40c iirc and also the phone uses adaptive charging to prevent over heating of the phone with the included fast charger and charging circuit design. As long as the phone continues to regulate the charge coming into the phone fast charging shouldn't hurt. Of course with fast charging you go through battery cycles faster but this is just because you can charge it a lot more times than with regular charging.
My personal experience:
- 2 years of fast charging = battery drain between 100 and 90 very much noticable
- charging over night causes more damage than fast charging
Hello Guys, i want to know to know if i can Turn off Fast charging - because i want to have a longer Battery Life,
Also i know that IT IS Kernel related and also i could Change the Adapter too..
I Just want to know if there is a way to turn it of Kernel wise.
Why would you want that? It's only charging fast 0-50%, later on it slows down. If you really want to save battery, charge it as often (and short) as possible. If you needed to charge it quickly, you'd regret crippling the charging speed.
francois amon said:
Hello Guys, i want to know to know if i can Turn off Fast charging - because i want to have a longer Battery Life,
Also i know that IT IS Kernel related and also i could Change the Adapter too..
I Just want to know if there is a way to turn it of Kernel wise.
Click to expand...
Click to collapse
adsubzero said:
Why would you want that? It's only charging fast 0-50%, later on it slows down. If you really want to save battery, charge it as often (and short) as possible. If you needed to charge it quickly, you'd regret crippling the charging speed.
Click to expand...
Click to collapse
Exactly. Silly to turn it off. It's a benefit.
But if you really don't want to use it, just don't use a Quick Charger plug. Get some "normal" charger plug like for a flip phone.
We have tons of people asking why is my phone not quick charging (usually because it's in the last 20%, where it doesn't charge as fast), and instead you want to cripple that feature?
Or people ask why does this phone have QuickCharge 2.0 charger instead of QuickCharge 3.0 charger?
But you want NO QuickCharge. OK.
Just don't use a QuickCharge chargers. You can get "regular" chargers on eBay for like $2 or $3, because no one else wants them. Even QuickCharge are only about $5 if you know where to look, but you don't want those.
adsubzero said:
Why would you want that? It's only charging fast 0-50%, later on it slows down. If you really want to save battery, charge it as often (and short) as possible. If you needed to charge it quickly, you'd regret crippling the charging speed.
Click to expand...
Click to collapse
I use the App "Battery Charge Limit" the charge Limit is at 80%. I always try to keep my battery between 40 - 80%.
Update: i use the original Adapter of my LG G3 and it seems to also Charge a Bit fast. And yea silly to Turn IT off.. but after a Long period of time the Battery life will decrise and i dont want to Change my Phone every year - i am i heavy User.
ChazzMatt said:
Exactly. Silly to turn it off. It's a benefit.
But if you really don't want to use it, just don't use a Quick Charger plug. Get some "normal" charger plug like for a flip phone.
We have tons of people asking why is my phone not quick charging (usually because it's in the last 20%, where it doesn't charge as fast), and instead you want to cripple that feature?
Or people ask why does this phone have QuickCharge 2.0 charger instead of QuickCharge 3.0 charger?
But you want NO QuickCharge. OK.
Just don't use a QuickCharge chargers. You can get "regular" chargers on eBay for like $2 or $3, because no one else wants them. Even QuickCharge are only about $5 if you know where to look, but you don't want those.
Click to expand...
Click to collapse
I only need quick charge when I'm in a hurry. When I'm at home I have two phones and would want to load my V30 slowly, so that the battery can Last really long. what does it matter to me if my mobile phone charges up very quickly but loses its capacity over time?
an option to de-activate Q-Charge if you need it or not would be optimal for me
You can always use Qi wireless charging pads for slow charging, then plug in when you need QuickCharge.
Plus there's tons, hundreds, of inexpensive "regular" plug chargers on eBay or other online sites.
To be honest, in my opinion I don't think a dev is going to waste time trying to disable something that is useful and everyone wants. People complain when they aren't QuickCharging, not when they are.
Plus, that would be so hard to track down if someone accidentally disabled QuickCharge.
francois amon said:
I only need quick charge when I'm in a hurry. When I'm at home I have two phones and would want to load my V30 slowly, so that the battery can Last really long. what does it matter to me if my mobile phone charges up very quickly but loses its capacity over time?
an option to de-activate Q-Charge if you need it or not would be optimal for me
Click to expand...
Click to collapse
Sent via open market LG US998 V30/V30+
ChazzMatt said:
You can always use Qi wireless charging pads for slow charging, then plug in when you need QuickCharge.
Plus there's tons, hundreds, of inexpensive "regular" plug chargers on eBay or other online sites.
To be honest, in my opinion I don't think a dev is going to waste time trying to disable something that is useful and everyone wants. People complain when they aren't QuickCharging, not when they are.
Plus, that would be so hard to track down if someone accidentally disabled QuickCharge.
Sent via open market LG US998 V30/V30+
Click to expand...
Click to collapse
Samsung has given that option built in whether to use or not fast charging capabilities
Sent from my iPad using Tapatalk
ayaskant12 said:
Samsung has given that option built in whether to use or not fast charging capabilities
Click to expand...
Click to collapse
Show me a screenshot of that on Samsung stock ROM. My sister's S6 doesn't have that on her Samsung phone. Or I've never seen it.
____
OK just researched and see Samsung added it with Marshmallow to some phones. But since I think It's a somewhat silly idea, I would never go looking for it.
S7 edge, S8+ and note 8 have.
Sent from my LG-H930 using Tapatalk
ayaskant12 said:
S7 edge, S8+ and note 8 have.
Click to expand...
Click to collapse
S9 has it as did the Note7.
---------- Post added at 07:52 PM ---------- Previous post was at 07:46 PM ----------
ChazzMatt said:
Show me a screenshot of that on Samsung stock ROM. My sister's S6 doesn't have that on her Samsung phone. Or I've never seen it.
____
OK just researched and see Samsung added it with Marshmallow to some phones. But since I think It's a somewhat silly idea, I would never go looking for it.
Click to expand...
Click to collapse
I agree, I would not disable it. I'm using the Samsung convertible wireless fast charger that Samsung gave away with Note8 pre-orders on my V30. Yes I know it doesn't fast charge the V30 but it charges it in fairly quick amount of time.
truckerdewd said:
S9 has it as did the Note7.
I agree, I would not disable it. I'm using the Samsung convertible wireless fast charger that Samsung gave away with Note8 pre-orders on my V30. Yes I know it doesn't fast charge the V30 but it charges it in fairly quick amount of time.
Click to expand...
Click to collapse
When asked questions, I try to give facts as I know them.
Sometimes I give my fact-based opinion.
Sometimes I just give my opinion, based on experience.
Point is, messing with Android for the past 8 years, I've found...
Not everything an OEM does is smart. Like removing headset jacks or making batteries smaller.
Not everything users ask for is smart. I remember a few years ago on Nexus 5 (which had a too small battery) one user kept asking how to REMOVE the battery indicator from the status bar on an AOSP ROM. They didn't want to see battery percentage whatsoever in the status bar, and were quite adamant about it to developers. I guess so they could be TOTALLY SURPRISED when their phone suddenly died? I don't know. It didn't make any sense.
MI9 wireless charger after battery full.Not off automatically . fan continuously running .[18w adapter]. green light continuously on.
any way to off wireless charger ?
its affect battery?
2, if you use 27w quick charger 4.0, wireless or direct charging. battery life less
compared to original given charger 18w.
charge turbo , discharge also turbo !
I have the opposite experience of yours. When wired charging with the 27w, my battery lasts somewhat longer. Running latest 9.8.1 xiaomi.eu ROM.
omgomg said:
I have the opposite experience of yours. When wired charging with the 27w, my battery lasts somewhat longer. Running latest 9.8.1 xiaomi.eu ROM.
Click to expand...
Click to collapse
SEND detail about "some what longer"....?
good battery life ???
sahafdeen said:
SEND detail about "some what longer"....?
good battery life ???
Click to expand...
Click to collapse
Yes, it's a personal feeling as I haven't fully monitored it, but with my usual daily usage, I definitely get some extra duration.
omgomg said:
yes, it's a personal feeling as i haven't fully monitored it, but with my usual daily usage, i definitely get some extra duration.
Click to expand...
Click to collapse
yes, quick charge 4.0 cable charging , good battery life . Because the latest technology dual charging method and multi charging algorithm . Best efficiency,,,,+30% .
Hi,
So I've been using an app called Battery Charge Limit from the Play Store (https://play.google.com/store/apps/details?id=com.slash.batterychargelimit) to limit my battery charging upto 80% using root access. This was to increase the longevity of the battery.
Worked fine on Oreo, but now for some reason it doesn't seem to stop the battery charging at 80% on Pie. I was wondering if anyone else has encountered this issue and has found a fix/workaround?
I know its probably better just to ask the app developers, but I was just wondering if anyone else is having this issue as I also have access to an S7 Edge on OneUI Pie and it doesn't seem to have any issues.
Thanks
DBZLegend9000 said:
Hi,
So I've been using an app called Battery Charge Limit from the Play Store (https://play.google.com/store/apps/details?id=com.slash.batterychargelimit) to limit my battery charging upto 80% using root access. This was to increase the longevity of the battery.
Worked fine on Oreo, but now for some reason it doesn't seem to stop the battery charging at 80% on Pie. I was wondering if anyone else has encountered this issue and has found a fix/workaround?
I know its probably better just to ask the app developers, but I was just wondering if anyone else is having this issue as I also have access to an S7 Edge on OneUI Pie and it doesn't seem to have any issues.
Thanks
Click to expand...
Click to collapse
The xda thread for it is here: https://r.tapatalk.com/shareLink/to...2&share_fid=3793&share_type=t&link_source=app
Sent from my LG-US998 using Tapatalk
DBZLegend9000 said:
Hi,
So I've been using an app called Battery Charge Limit from the Play Store (https://play.google.com/store/apps/details?id=com.slash.batterychargelimit) to limit my battery charging upto 80% using root access. This was to increase the longevity of the battery.
Worked fine on Oreo, but now for some reason it doesn't seem to stop the battery charging at 80% on Pie. I was wondering if anyone else has encountered this issue and has found a fix/workaround?
I know its probably better just to ask the app developers, but I was just wondering if anyone else is having this issue as I also have access to an S7 Edge on OneUI Pie and it doesn't seem to have any issues.
Thanks
Click to expand...
Click to collapse
I do not see any sense in such charging settings, the V30 with 100% notification is still charging for 30 minutes with low current and then only reaches a physical 100% battery which is to save the battery. As the program disconnects charging at 80% it will be physical about 70% = 2/3 for battery use. You probably don't discharge the battery less than 30% because you will "damage it". Then use 1/3 charging it 3 times at the same time as I do ... So think about whether after these 4 years you won't have a more dead battery than I, kids, I charge 15> 100%.
Yes, the answer is simple, charge up to 100% and disconnect immediately, just like LG limits charging to physical 95% so that the battery does not lose capacity.
marcinb24 said:
I do not see any sense in such charging settings, the V30 with 100% notification is still charging for 30 minutes with low current and then only reaches a physical 100% battery which is to save the battery. As the program disconnects charging at 80% it will be physical about 70% = 2/3 for battery use. You probably don't discharge the battery less than 30% because you will "damage it". Then use 1/3 charging it 3 times at the same time as I do ... So think about whether after these 4 years you won't have a more dead battery than I, kids, I charge 15> 100%.
Yes, the answer is simple, charge up to 100% and disconnect immediately, just like LG limits charging to physical 95% so that the battery does not lose capacity.
Click to expand...
Click to collapse
Fair enough. I simply limit it to 80% as from what I understand the majority of battery wear happens between 80-100%, even if it is charging at a much lower voltage and current.
Even if the phone doesn't show the true values of physical charge, a physical 70% charge is enough to get me through the day and I don't worry too much about how much battery I drain so only put the phone back to charge when it's at ~5%. So only charge the phone once a day.
Even if it may/may not make a difference to longevity it's worth a shot. At best it'll improve the lifespan of the battery, at worst it'll do nothing with normal degradation.
Maybe in a year or so when 80% charge can't get me through the day I might drop the limit. For now it seems worth a try.
DBZLegend9000 said:
Fair enough. I simply limit it to 80% as from what I understand the majority of battery wear happens between 80-100%, even if it is charging at a much lower voltage and current.
Even if the phone doesn't show the true values of physical charge, a physical 70% charge is enough to get me through the day and I don't worry too much about how much battery I drain so only put the phone back to charge when it's at ~5%. So only charge the phone once a day.
Even if it may/may not make a difference to longevity it's worth a shot. At best it'll improve the lifespan of the battery, at worst it'll do nothing with normal degradation.
Maybe in a year or so when 80% charge can't get me through the day I might drop the limit. For now it seems worth a try.
Click to expand...
Click to collapse
Just for your information, deep discharges are also not very good for Lion batteries. Discharging to 5% regularly is as bad, if not worse, than charging to 100%. The optimal is to always keep the battery level between 40%-80%.
I am not so sure if that will make any visible real world difference since most people don't tend to keep their phones for too long. And since that limits the effective battery capacity too much, I would suggest that you don't worry too much about charging/discharging too much.
DBZLegend9000 said:
Hi,
So I've been using an app called Battery Charge Limit from the Play Store (https://play.google.com/store/apps/details?id=com.slash.batterychargelimit) to limit my battery charging upto 80% using root access. This was to increase the longevity of the battery.
Worked fine on Oreo, but now for some reason it doesn't seem to stop the battery charging at 80% on Pie. I was wondering if anyone else has encountered this issue and has found a fix/workaround?
I know its probably better just to ask the app developers, but I was just wondering if anyone else is having this issue as I also have access to an S7 Edge on OneUI Pie and it doesn't seem to have any issues.
Thanks
Click to expand...
Click to collapse
To answer your original question, the same feature works as intended on a different app (AccuBattery) on my phone, stock unrooted open EU H93030b. So it looks like your problem is not the OS but the app.
PIntus_aleborn said:
Just for your information, deep discharges are also not very good for Lion batteries. Discharging to 5% regularly is as bad, if not worse, than charging to 100%. The optimal is to always keep the battery level between 40%-80%.
I am not so sure if that will make any visible real world difference since most people don't tend to keep their phones for too long. And since that limits the effective battery capacity too much, I would suggest that you don't worry too much about charging/discharging too much.
Click to expand...
Click to collapse
Yeah I am aware that discharging to 5% can be just as bad for the battery. But even if I charged to 100% I would still use the phone till there was only 5% left. So I just thought might as well try to limit the charging and see if it makes a difference on the long run, since 80% gets me through a the day anyway.
PIntus_aleborn said:
To answer your original question, the same feature works as intended on a different app (AccuBattery) on my phone, stock unrooted open EU H93030b. So it looks like your problem is not the OS but the app.
Click to expand...
Click to collapse
Thanks for your help! I did try out Accubattery and yes it detects when the battery is at 80%. Just wish it could set limits with root access as well.
In any case, I seem to have found a solution now. There's a Magisk module called Advanced Charging Control (ACC). This seems to work well and limits charging to 80%. It also has a companion app that you can use to set your own preferences and limits.
I've linked the relevant thread below, might be useful to others.
https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427/amp/
DBZLegend9000 said:
Yeah I am aware that discharging to 5% can be just as bad for the battery. But even if I charged to 100% I would still use the phone till there was only 5% left. So I just thought might as well try to limit the charging and see if it makes a difference on the long run, since 80% gets me through a the day anyway.
Click to expand...
Click to collapse
Your doing more worse then good letting the phone go to 5%. That app will not do ANYTHING for you.
Sent from my LG-H932 using XDA Labs
I find ACC works well at stopping the chargeing at a certain % level.
Hoiwever then while still connected to usb it draws power from the battery - not good.
Battery charge Limit on Oreo stoped charging and used then power from usbb onwards while still connected.
I wonder how ACC stops the charging on Pie, i.e. with what control file. Has anyone got an idea?
I foudn out that the switch is /sys/devices/platform/lge-unified-nodes/charging_enabled. This starts/stops the chargi8ng.
Unfortunately, on Pie, when this is set to disabled from then on power ist not drawn from the charger but from the battery.
Is there any other switch / wax to prevent this?
Ich want charging to be stopped and from then on power to be taken from the charger while connected to it.
Here are the paths to the CTRL files that I've found to work with the two ROMs that I've used recently:
Havoc-OS wired and wireless: /sys/devices/platform/lge-unified-nodes/charging_enable (no 'd' on the end, unlike what bladecgn gave)
Lineage OS wired: /sys/class/power_supply/battery/charging_enabled
Lineage OS wireless: /sys/class/power_supply/dc-wireless/charging_enabled
One quirk that I've noticed is that, on wireless, the app ignores the "Recharge below" setting and starts recharging as soon as the percentage drops just 1% below the max (ex. if the max is 80% and the charge drops to 79%, it'll immediately recharge back to 80%, even if "Recharge below" is set at 76%).
For the record, the ROM that I'm using is LineageOS 17.1, so the app definitely still works on Android 10.
bladecgn said:
I foudn out that the switch is /sys/devices/platform/lge-unified-nodes/charging_enabled. This starts/stops the chargi8ng.
Unfortunately, on Pie, when this is set to disabled from then on power ist not drawn from the charger but from the battery.
Is there any other switch / wax to prevent this?
Ich want charging to be stopped and from then on power to be taken from the charger while connected to it.
Click to expand...
Click to collapse
Were you able to figure out how to use only power from the charger instead of the battery, @bladecgn?
Osprey00 said:
Here are the paths to the CTRL files that I've found to work with the two ROMs that I've used recently:
Havoc-OS wired and wireless: /sys/devices/platform/lge-unified-nodes/charging_enable (no 'd' on the end, unlike what bladecgn gave)
Lineage OS wired: /sys/class/power_supply/battery/charging_enabled
Lineage OS wireless: /sys/class/power_supply/dc-wireless/charging_enabled
Click to expand...
Click to collapse
Stock Pie doesn't have the /sys/class/power_supply/battery/charging_enabled file, but it does have /sys/class/power_supply/battery/battery_charging_enabled. Would that work?
aospray said:
Stock Pie doesn't have the /sys/class/power_supply/battery/charging_enabled file, but it does have /sys/class/power_supply/battery/battery_charging_enabled. Would that work?
Click to expand...
Click to collapse
I don't know. You'll just have to try. It's a process of trial and error to find which path works with which ROMs.