Battery charging pausing/resuming - Lenovo P2 Questions & Answers

Do you know an app, which stops battery charging at specific battery level? I have tried few of them from magisk respository, however neither of them supports Lenovo P2.

mbemba said:
Do you know an app, which stops battery charging at specific battery level? I have tried few of them from magisk respository, however neither of them supports Lenovo P2.
Click to expand...
Click to collapse
Did you try this?
https://forum.xda-developers.com/android/apps-games/root-battery-charge-limit-t3557002

Not working unfortunately :c

mbemba said:
Do you know an app, which stops battery charging at specific battery level? I have tried few of them from magisk respository, however neither of them supports Lenovo P2.
Click to expand...
Click to collapse
https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427

timytimy said:
https://forum.xda-developers.com/apps/magisk/module-magic-charging-switch-cs-v2017-9-t3668427
Click to expand...
Click to collapse
Not working too

@mbemba Battery Charge Limit is working with the P2.

Kontex said:
@mbemba Battery Charge Limit is working with the P2.
Click to expand...
Click to collapse
Did you try it on your own? If yes could you send me your configuration?

@mbemba
I'm using the control file "Generic charging_enabled" . Nothing else is selected. But at the moment I'm not sure if it only does a cosmetic change. The program is possibly stopping the battery counter at 80% while charging continues.

Kontex said:
@mbemba
I'm using the control file "Generic charging_enabled" . Nothing else is selected. But at the moment I'm not sure if it only does a cosmetic change. The program is possibly stopping the battery counter at 80% while charging continues.
Click to expand...
Click to collapse
I have been using it for a while and i think that it is working in fact. Thanks for a help

mbemba said:
I have been using it for a while and i think that it is working in fact. Thanks for a help
Click to expand...
Click to collapse
@mbemba @Kontex
I am happy to know that someone has this working with the P2, there is some hope!
However, as many others remarked until recently (here and here), I also notice that as soon as the screen goes off, the background charging resumes.
I wonder which is the trick in your case. Do you configure your P2 not to sleep when charging? That is, then the screen is always on...

Lucio73 said:
@mbemba @Kontex
I am happy to know that someone has this working with the P2, there is some hope!
However, as many others remarked until recently (here and here), I also notice that as soon as the screen goes off, the background charging resumes.
I wonder which is the trick in your case. Do you configure your P2 not to sleep when charging? That is, then the screen is always on...
Click to expand...
Click to collapse
Check your options, maybe sth is different, because my P2 isnt charging even when the screen is off.

@Lucio73 You can set "keep the screen active" in the developer options while chargeing. But for me it works with screen off, too. You should check your battery saving options. Maybe you force battery limiter to go to sleep when the screen is off. I further have to make a note that it is only working with socket chargers. I doesn't limit chargeing while it is attached to an USB port of a PC. An other option is to test a lower limit like 70%.
I noticed that the chargeing status changes within minutes after hitting the limit if you attach it afterwards to an USB-PC-Port. The limit is set to 73% for example. The Lenovo P2 is charged through a socket charger until 73%. The charge status increases within a few minutes from 73% to 80% when the P2 is attached to a PC afterwards . So there seems to be an offset of about 7%.

RR-O-v6.2.1-20190130-kuntao-Unofficial + magisk + Battery Charge Limit works for me

Related

[Q] offline charging leds

How do you enable offline charging leds...nothing lights up when charging with phone off. Charging status can be checked by depressing power button when charging, but no led lights. Currently running [ROM][KERNEL][4.4.2/4.3] Quantum v3.21 & QuantumKernel 1/16 on galaxy s3 i747 d2att. Have tried enabling different settings in display & lights...battery options etc. Is this possibly a kernel feature that needs to be addressed? Thanks
I think turning on kernel would mean turning on the phone - CPU and all. If I am not wrong, battery charging circuit is the one that kicks in when the phone is switched off and charging applied. I see this happening independent of phone processes when phone is off.
diablo009 said:
I think turning on kernel would mean turning on the phone - CPU and all. If I am not wrong, battery charging circuit is the one that kicks in when the phone is switched off and charging applied. I see this happening independent of phone processes when phone is off.
Click to expand...
Click to collapse
Would that mean the feature is controlled by the rom? Charging leds seem to work properly if phone is being charged while on. I can restore to Hyperdrive 4.1.2, which I have on nandroid in which the charging leds work properly. The Quantum 4.4.2 is based on the CM11 nightly rom...I've seen nothing in that forum about this. I'm limited to where I can ask about this because of posting rules. Thanks for responding.
cybrgeek 45 said:
Would that mean the feature is controlled by the rom? Charging leds seem to work properly if phone is being charged while on. I can restore to Hyperdrive 4.1.2, which I have on nandroid in which the charging leds work properly. The Quantum 4.4.2 is based on the CM11 nightly rom...I've seen nothing in that forum about this. I'm limited to where I can ask about this because of posting rules. Thanks for responding.
Click to expand...
Click to collapse
Yes. That's what I feel. I feel the LED is controlled by phone software, wherin the battery level you see is controlled by charging circuit that should be separate from phone software.
diablo009 said:
Yes. That's what I feel. I feel the LED is controlled by phone software, wherin the battery level you see is controlled by charging circuit that should be separate from phone software.
Click to expand...
Click to collapse
OK, thanks for helping with the explanation...guess I'll just have to hope some future update fixes this feature. It's not a deal killer with the rom, just inconvenient when charging with phone off.
cybrgeek 45 said:
OK, thanks for helping with the explanation...guess I'll just have to hope some future update fixes this feature. It's not a deal killer with the rom, just inconvenient when charging with phone off.
Click to expand...
Click to collapse
From what I have observed thus far, charging battery with phone off gets routed via a separate circuitry, without activating any of phone functions. This enables battery to get charged faster too. Not sure if anyone would alter a functionality this core level.
To Be sure in what I am saying, I just restored my Hyperdrive backup, & charging led works fine with phone off. CM nightly also has no charging lights...maybe just something left out of the mod or a hidden setting. Maybe someone else will address this in the Quantum Rom section. Thanks again for spending your time on this!!
Oh. Now that's new to me. Maybe I missed something. Sorry.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app

Question Charging sound!! >:(

how do i disable this annoying pointless feature? every percent my phone charges it makes a noise and the screen turns on. i cannot find it in any settings. I am rooted but still cannot find out how to stop the useless chirp....
Oneplus 9 Pro
OP9ProRoot said:
how do i disable this annoying pointless feature? every percent my phone charges it makes a noise and the screen turns on. i cannot find it in any settings. I am rooted but still cannot find out how to stop the useless chirp....
Oneplus 9 Pro
Click to expand...
Click to collapse
I don't have this issue. Are you using a battery stats app like AccuBattery that's trying to warn you about over-charging? AccuBattery will chirp at me if I go over 80% (and I think every percent after) unless I turn that feature off.
terlynn4 said:
I don't have this issue. Are you using a battery stats app like AccuBattery that's trying to warn you about over-charging? AccuBattery will chirp at me if I go over 80% (and I think every percent after) unless I turn that feature off.
Click to expand...
Click to collapse
nope, no external app. just when it rapid charges, every percent no matter what im at it will wake the screen and chirp. every... single ... percent.... i tried an app to disable charging noises, and the noise went away.....but the screen still woke every time it increased lol

Question Limit Battery Charge

On my OnePlus 7 Pro I used the battery charge limit app to limit my battery charging to 85% for battery health since I was going to keep it awhile (2 years). Anyways, the same app doesn't work on the OP9 Pro and I tried Advanced Charging Controller Magisk module and that didn't work either. Looking for ideas if anyone knows of something else to try. Since this phone charges so darn quick, it's even less of an issue to limit the battery max percentage and the ideal phone to do such a thing.
bulletbling said:
On my OnePlus 7 Pro I used the battery charge limit app to limit my battery charging to 85% for battery health since I was going to keep it awhile (2 years). Anyways, the same app doesn't work on the OP9 Pro and I tried Advanced Charging Controller Magisk module and that didn't work either. Looking for ideas if anyone knows of something else to try. Since this phone charges so darn quick, it's even less of an issue to limit the battery max percentage and the ideal phone to do such a thing.
Click to expand...
Click to collapse
Acca works great for me. Are you on the newest magisk canary? I am.
Burt Squirtz said:
Acca works great for me. Are you on the newest magisk canary? I am.
Click to expand...
Click to collapse
I'm on the latest stable. I may try that.
Try a non warp/dash/whatever cable/brick with ACC
Same problem with Acca, will try the Battery Charge Limiter from Play Store
I've just been using AccuBattery which notifies me when charge reaches the level I set (I use 90%) and unplug it when it alerts me. That won't help if you charge it at night, but for daytime charging the phone is usually plugged in right next to me.
Burt Squirtz said:
Acca works great for me. Are you on the newest magisk canary? I am.
Click to expand...
Click to collapse
Just installed latest Magisk Canary and ACC module with ACCA app doesn't stop the charging on any charger I've tried. Anything else you did?
solved the problem physically. I use a smart plug with an auto stop timer, not the best solution but it gets the job done mostly.
linnil said:
solved the problem physically. I use a smart plug with an auto stop timer, not the best solution but it gets the job done mostly.
Click to expand...
Click to collapse
How would you get it to stop at a specific percent though? If there's some sort of timer to stop at a detected voltage, that could work.
bulletbling said:
How would you get it to stop at a specific percent though? If there's some sort of timer to stop at a detected voltage, that could work.
Click to expand...
Click to collapse
nah, i simply set it to a set timer, for me that is 25 minutes.
As you are saying this, it makes me think that it is not hard to do a script to do this automatically. . too much work for this tho, but totally doable with samsung smartthings.
linnil said:
nah, i simply set it to a set timer, for me that is 25 minutes.
As you are saying this, it makes me think that it is not hard to do a script to do this automatically. . too much work for this tho, but totally doable with samsung smartthings.
Click to expand...
Click to collapse
It probably wouldn't be too difficult, but since we already have some apps and Magisk modules to do this, which worked great on my OP7 Pro, I'd like to get it working like Burt Squirtz said he was able to do. I'm just annoyed that I can't get it to work on my OP9 Pro.
After having tried both AccA and the Battery Charge Limit, unfortunately I must say that none worked for me. I miss do much the smart charging feature from pixel-inspired ROMs I used on my Xiaomi phone.
I appreciate the attempts mentioned above, but does anyone have a working method to automatically stop charging at 80%?
stazz83 said:
After having tried both AccA and the Battery Charge Limit, unfortunately I must say that none worked for me. I miss do much the smart charging feature from pixel-inspired ROMs I used on my Xiaomi phone.
I appreciate the attempts mentioned above, but does anyone have a working method to automatically stop charging at 80%?
Click to expand...
Click to collapse
Definitely following this for that as well. What's good is that OnePlus has an option in the settings to do adaptive charging. I've already had it learn my wake up time and it will not start charging the battery until a little before I wake up. I get a little notification that my phone will not continue charging until a specific time. Very neat!
stazz83 said:
After having tried both AccA and the Battery Charge Limit, unfortunately I must say that none worked for me. I miss do much the smart charging feature from pixel-inspired ROMs I used on my Xiaomi phone.
I appreciate the attempts mentioned above, but does anyone have a working method to automatically stop charging at 80%?
Click to expand...
Click to collapse
same for me, both acca and battery charge limit (playstore) do not stop phone from charging once set limit is reached
bulletbling said:
Definitely following this for that as well. What's good is that OnePlus has an option in the settings to do adaptive charging. I've already had it learn my wake up time and it will not start charging the battery until a little before I wake up. I get a little notification that my phone will not continue charging until a specific time. Very neat!
Click to expand...
Click to collapse
how did this happen for you, and do you mean optimized charging in batt settings? I think it is because I charge my phone at random times that it does not do anything at the moment
thirtythr33 said:
how did this happen for you, and do you mean optimized charging in batt settings? I think it is because I charge my phone at random times that it does not do anything at the moment
Click to expand...
Click to collapse
That is correct. It's Optimized Charging.
Has anyone managed to get on top of this in the meantime? Myself, I'm using the Accubattery's sound alert, but I'd love to stop charging automatically when it reaches the limit.
I think, I fond the reason, but no solution.
I am using all time Tasker to control charging limit. I's doing the same way like Battery Charge Limit and AccA: By copying the file "charging_enabled" into /sys/class/power_supply/battery/ .This was working until OP8pro. Unfortunately, all this apps suddenly have no writing access to this directory. Not even on rootet device.
So if anyone have idea, to make /sys/class/power_supply/battery/ writeable again, please tell.
g
dlareghoe said:
I think, I fond the reason, but no solution.
I am using all time Tasker to control charging limit. I's doing the same way like Battery Charge Limit and AccA: By copying the file "charging_enabled" into /sys/class/power_supply/battery/ .This was working until OP8pro. Unfortunately, all this apps suddenly have no writing access to this directory. Not even on rootet device.
So if anyone have idea, to make /sys/class/power_supply/battery/ writeable again, please tell.
g
Click to expand...
Click to collapse
A temporary workaround for Tasker users is to create a repeating notification once the battery reaches a certain limit. That's what I've done and it does the job for the meantime!
Use /sys/class/oplus_chg/usb/chg_enable, 1, 0 as the config file.
Thanks to B1tWeaver

Question Automatic shutdown according to battery percentage app or Magisk module.

As the title says, is there any app or Magisk module that can automatically shutdown your device according to battery percentage?
ahhh we have almost the same issue but my issue is whenever my battery percentage reach 20% wifi get disconnected i need to to setting and wifi and click scan again for it to get reconnected i think it is some sort of battery saver
i hate it whenever i'm playing it disconnect me
Actually, I'm not asking about an issue.
I'm asking if anyone knows of an app or module for Magisk that can shutdown the device accordingly to battery percentage.
I'd really like to set my phone to shutdown when the battery hits 15%.
Nemix77 said:
Actually, I'm not asking about an issue.
I'm asking if anyone knows of an app or module for Magisk that can shutdown the device accordingly to battery percentage.
I'd really like to set my phone to shutdown when the battery hits 15%.
Click to expand...
Click to collapse
Macrodroid can (with root). It's like a simpler tasker app. I'll pm you my telegram link, i can send you a quick video if you like...?
Nemix77 said:
Actually, I'm not asking about an issue.
I'm asking if anyone knows of an app or module for Magisk that can shutdown the device accordingly to battery percentage.
I'd really like to set my phone to shutdown when the battery hits 15%.
Click to expand...
Click to collapse
ohh you don't have my issue?
reg66 said:
Macrodroid can (with root). It's like a simpler tasker app. I'll pm you my telegram link, i can send you a quick video if you like...?
Click to expand...
Click to collapse
I do at 20% although 30% or higher be better.
After 20% there's a lot less usable power available and charging from that low is more stressful on a Li especially if fast charging.
I'll do 20% shutdown and 90% battery charging stop.
That's 70% usable power, I can't do anything better than that.
Nemix77 said:
I'll do 20% shutdown and 90% battery charging stop.
That's 70% usable power, I can't do anything better than that.
Click to expand...
Click to collapse
I generally do 40 - 70% or so. On my device it's 3 hrs on SOT and take 15 minutes to fast charge.
Li's like frequent midrange power cycling; use it if it fits your needs.
Nemix77 said:
As the title says, is there any app or Magisk module that can automatically shutdown your device according to battery percentage?
Click to expand...
Click to collapse
Magisk module : Advanced Charging Controller (acc)
https://forum.xda-developers.com/t/advanced-charging-controller-acc.3668427/
It has features as:
Shutdown at set percentage, eg. 20%
Stop charging when reach a percentage, eg. 75%
Cool down charging, so the device and battery won't be very hot using temperature detect on battery.
Charging voltage/current limitation.
Charge cool down as set, eg. 50 seconds charge and 10 seconds cool down without charging, then repeat.
Read the README in github.
ACC app has some issues. Module is working better and updated.
The module will need you to manually edit the settings profile, and you need to use command line.
If you just want to stop charging at certain percentage, Battery Charge Limit is enough.
On F-droid
https://f-droid.org/en/packages/com.slash.batterychargelimit/
Play store
https://play.google.com/store/apps/details?id=com.slash.batterychargelimit&hl=en&gl=US
Both need root.
I use Battery Charge Limit already on my Mi Pad 4.
Advanced Charging Controller seems to have a lot more features.
I haven't been able to get ACC with ACCA (GUI) or Battery Charge Limit to work on the Poco F3 with Xiaomi.EU rom and root.
None of the control files work on both apps.
AccA is faulty.
Use the Magisk module.
You might want to ask cutsom ROM developers because they had managed to get smart charge working, so there's definitely control file that works.
I got Acc with AccA working!
I was testing the charging switches without plugging in the charger, my bads...
Some how Battery Charge Limit does not work, it's a simpler app and I used it with my Mi Pad 4 so I thought it would just work with the Poco F3.
Nemix77 said:
I got Acc with AccA working!
I was testing the charging switches without plugging in the charger, my bads...
Some how Battery Charge Limit does not work, it's a simpler app and I used it with my Mi Pad 4 so I thought it would just work with the Poco F3.
Click to expand...
Click to collapse
Check ACC control config what control file your phone uses, then see in Battery Charge Limit if you can select that control file manually.
I think it can also manually write the control file, but not quite sure.
pl1992aw said:
Check ACC control config what control file your phone uses, then see in Battery Charge Limit if you can select that control file manually.
I think it can also manually write the control file, but not quite sure.
Click to expand...
Click to collapse
Yeah I figured that, but since I have Acc with AccA working there's really no need to go back to Battery Charge Limit.
Nemix77 said:
Yeah I figured that, but since I have Acc with AccA working there's realy not need to go back to Battery Charge Limit.
Click to expand...
Click to collapse
Just to clear the things that you've already said
You mean ACC with AccA is working properly? If not, is there any problems with using ACC with AccA app?
I used ACC with AccA app before on my raphael times with EvoX Custom ROM, works well and haven't encountered any problems with using with ACC via AccA App

Themes / Apps / Mods [MOD/magisk/root] Set charging limit to 80/85/90/95% v2

After some readings on: https://forum.xda-developers.com/t/limit-charge.4355851/
and https://forum.xda-developers.com/t/mod-magisk-root-set-charging-limit-to-90.4363477/
( Credits to @rickysidhu_ and @foobar66 )
There is a thing I found and tested:
"charge_stop_level" must be used together with "charge_start_level"
Spoiler: Details
If set start @40 / stop @60, the phone will begin charging when (and only when) the battery drops to 40%, and stops charging @ 60%.
(it defines a range, and the first time the user hit the range boundary activates this range function)
If set stop @90 without setting a start, the phone will refuse the 2nd time charging until the battery drops to default 0 (or the battery service/phone has been restarted)
(This explained many "phone not charging" reports in the above links posts)
I like @foobar66's magisk mod solution. It is simple and safe.
It has only 1 line of working script in the zip.
So I "clone" it with some different values (added the fix, so 2 lines of script code in each zip now, that's all it does)
These are for the lazy people who don't want to deal with advanced settings, and who want a 10-second trouble-free simple solution for battery health.
The 4 clones:
P6n_charginglimit_95.zip (charging limit to 95%, it should give you an extra ~30% battery life span in lab-tested theory)
P6n_charginglimit_90.zip (charging to 90%, an extra ~60% battery life span)
P6n_charginglimit_85.zip (charging to 85%, double the battery life span, recommended for joe and johns)
P6n_charginglimit_80.zip (charging to 80%, should give more than double the battery life span)
Those numbers are the best estimates from other battery research papers, no guarantee.
To install, pick the one you want and flash it in Magisk.
To uninstall, simply disable or remove it in Magisk.
A12.1 tested. It should work on A13.
Edit: A13 is also confirmed working.
Reply problems if you find any.
I use advanced charging controller, I stop charging at 81% and I can regulate voltage as well. Temperature triggers etc it's great.
How does it increase battery life by 30%?
Or you mean battery health ?
I use ACC plus Tasker to keep the battery entering idle mode at around 50% while plugged. I got my pixel 6 last November, now the battery gets 82 cycles so far.
ChongoDroid said:
I use advanced charging controller, I stop charging at 81% and I can regulate voltage as well. Temperature triggers etc it's great.
Click to expand...
Click to collapse
bush911 said:
I use ACC plus Tasker to keep the battery entering idle mode at around 50% while plugged. I got my pixel 6 last November, now the battery gets 82 cycles so far.
Click to expand...
Click to collapse
The thing is, ACC monitors/controls too many components in the system that I don't fully get, and I am not sure if it conflicts with built-in "smart charging" or other circuit controllers or not, and have to combine a Magisk backend module and a root-access frontend APP to make it work with so many details settings to setup....... It is just......too heavy?
(or I am too old to tinkering those things.....my sad middle-age life)
These .zips are the "10-second solution" for lazy folks.
It does only 1 thing, It is transparent and super snappy (only 2 lines of script, no binary), and it can hardly go wrong.....it just works.
Paz9 said:
How does it increase battery life by 30%?
Or you mean battery health ?
Click to expand...
Click to collapse
You are right Shakespeare, "life span" to be precise, sorry for my English ahahahah.
bush911 said:
I use ACC plus Tasker to keep the battery entering idle mode at around 50% while plugged. I got my pixel 6 last November, now the battery gets 82 cycles so far.
Click to expand...
Click to collapse
Would you like to share how (ACC + Tasker. Tasker project, everything)?
Thanks
E!ad said:
Would you like to share how (ACC + Tasker. Tasker project, everything)?
Thanks
Click to expand...
Click to collapse
Yes, this might be device dependent. It is better to choose and set proper charging switch which supports battery idle mode.
Latest AcC module must be flashed
kylechen said:
The thing is, ACC monitors/controls too many components in the system that I don't fully get, and I am not sure if it conflicts with built-in "smart charging" or other circuit controllers or not, and have to combine a Magisk backend module and a root-access frontend APP to make it work with so many details settings to setup....... It is just......too heavy?
(or I am too old to tinkering those things.....my sad middle-age life)
These .zips are the "10-second solution" for lazy folks.
It does only 1 thing, It is transparent and super snappy (only 2 lines of script, no binary), and it can hardly go wrong.....it just works.
You are right Shakespeare, "life span" to be precise, sorry for my English ahahahah.
Click to expand...
Click to collapse
It doesn't interfere with the built in stuff and you don't need magisk module anymore. It takes 20.9mb on system so it's not heavy, I also like being able to adjust on the fly (have it set to 70% for long home use and 85% for out and about)
ChongoDroid said:
It doesn't interfere with the built in stuff and you don't need magisk module anymore. It takes 20.9mb on system so it's not heavy, I also like being able to adjust on the fly (have it set to 70% for long home use and 85% for out and about)
Click to expand...
Click to collapse
Are you referring to the Tasker implementation or ACC?
Zilla0617 said:
Are you referring to the Tasker implementation or ACC?
Click to expand...
Click to collapse
Acc
Yay finally a solution that works. Pixel 6 here, A13 Stock
Thanks.
ChongoDroid said:
Acc
Click to expand...
Click to collapse
Could you share your config file? What phone and is are you using? Thanks
Zilla0617 said:
Could you share your config file? What phone and is are you using? Thanks
Click to expand...
Click to collapse
Pixel 6 pro stop charging at 82 and start at 76 that's all I used
ChongoDroid said:
Pixel 6 pro stop charging at 82 and start at 76 that's all I used
Click to expand...
Click to collapse
So when I setup acc stopping at 80% on Android 13 and its place on pixel stand 2, the charging oscillates on/off. It would charge for few minutes then stop and charge for few mins and stop. Are you experiencing this? This behavior did not occur with Android 12
Zilla0617 said:
So when I setup acc stopping at 80% on Android 13 and its place on pixel stand 2, the charging oscillates on/off. It would charge for few minutes then stop and charge for few mins and stop. Are you experiencing this? This behavior did not occur with Android 12
Click to expand...
Click to collapse
Oh weird I get the osculation on car charger but it was always random. It won't even charge on 13.
Change the switch to 0 should have it working I don't know if that causes the switch enough
ChongoDroid said:
Oh weird I get the osculation on car charger but it was always random. It won't even charge on 13.
Change the switch to 0 should have it working I don't know if that causes the switch enough
Click to expand...
Click to collapse
Hmmm I don't use the front end app. Maybe I should try it and see if the behavior changes. Which version of the app are you using?
Zilla0617 said:
Hmmm I don't use the front end app. Maybe I should try it and see if the behavior changes. Which version of the app are you using?
Click to expand...
Click to collapse
1.0.35
kylechen said:
The thing is, ACC monitors/controls too many components in the system that I don't fully get, and I am not sure if it conflicts with built-in "smart charging" or other circuit controllers or not, and have to combine a Magisk backend module and a root-access frontend APP to make it work with so many details settings to setup....... It is just......too heavy?
(or I am too old to tinkering those things.....my sad middle-age life)
These .zips are the "10-second solution" for lazy folks.
It does only 1 thing, It is transparent and super snappy (only 2 lines of script, no binary), and it can hardly go wrong.....it just works.
You are right Shakespeare, "life span" to be precise, sorry for my English ahahahah.
Click to expand...
Click to collapse
I strongly agree, just not worth having to deal with acc, getting idle mode to work, debugging, getting it to work again and hoping it still works. If I get the time to do so might write a module that integrates a slider in settings or as a quick setting to set to what percentage it should charge and executing those lines of code with that percentage.
kylechen said:
P6n_charginglimit_80.zip (charging to 80%, should give more than double the battery life span)
Click to expand...
Click to collapse
I peeked inside this one (as it's the one I'm successfully using), and noticed the following:
echo 79 > /sys/devices/platform/google,charger/charge_start_level
echo 80 > /sys/devices/platform/google,charger/charge_stop_level
Click to expand...
Click to collapse
I get the "80" for the charge_stop_level, but I don't understand why "79" is the charge_start_level value? (But I'm new at this, so..forgive my ignorance.)

Categories

Resources