Question Quick and easy charging limit Magisk module - Google Pixel 7 Pro

Hi,
Just to report the charging limit Magisk modules posted here do work with the P7P:
https://forum.xda-developers.com/t/mod-magisk-root-set-charging-limit-to-80-85-90-95-v2.4482011/
The charging actually stops at the given percentage (checked with battery guru) despite still showing the charging icon.
Quick and easy solution for those including me who don't want to deal with ACC.
Charging to 80/85% is a game changer for the lifespan of a li-ion /lipo cell.

Why just not using magisk with acc? I know its simple way to have charging limit but when u want ocasionally charge to 100% (long time without power) you need to disable module and reboot

Tracker31 said:
Why just not using magisk with acc? I know its simple way to have charging limit but when u want ocasionally charge to 100% (long time without power) you need to disable module and reboot
Click to expand...
Click to collapse
Can you kindly elaborate on how to achieve this please?

niko26 said:
Can you kindly elaborate on how to achieve this please?
Click to expand...
Click to collapse
it's a magisk module. acc. and there's an app acca that can be used to control it via a gui

Try Battery Charge Limit (Root) - https://play.google.com/store/apps/details?id=com.slash.batterychargelimit
Worked for all my previous phones when I'd rooted them. Worth a try.

Beefheart said:
Try Battery Charge Limit (Root) - https://play.google.com/store/apps/details?id=com.slash.batterychargelimit
Worked for all my previous phones when I'd rooted them. Worth a try.
Click to expand...
Click to collapse
Is there another way for non-root users?
I had the function on my Samsung S21 already installed by default, anyway do not understand why GOOGLE the mother of Android has not already built something...
Google still has a long way to go, in some things Samsung is way ahead.

AngelNine said:
Is there another way for non-root users?
I had the function on my Samsung S21 already installed by default, anyway do not understand why GOOGLE the mother of Android has not already built something...
Google still has a long way to go, in some things Samsung is way ahead.
Click to expand...
Click to collapse
Unfortunately, I'm not sure if there is a way of setting it on the Pixel. But I do believe Adaptive Battery goes some way towards alleviating it.

Beefheart said:
Unfortunately, I'm not sure if there is a way of setting it on the Pixel. But I do believe Adaptive Battery goes some way towards alleviating it.
Click to expand...
Click to collapse
Too bad, because I use my smartphone as a hotspot for my PC when I'm at home, since my provider is faster on the smartphone and offers unlimited data volume.
But so far I have not noticed anything from Addaptive Battery, my phone always charges to 100% and constantly holds this range, with Samsung I could limit to 85% and there my charge was always held.
****ing Google so simple things they do not get... I think I'll write an improvement proposal of the software.

Beefheart said:
Try Battery Charge Limit (Root) - https://play.google.com/store/apps/details?id=com.slash.batterychargelimit
Worked for all my previous phones when I'd rooted them. Worth a try.
Click to expand...
Click to collapse
Thanks. So basically this app would replace the functionality from the Magisk module which someone has posted before, right?

niko26 said:
Thanks. So basically this app would replace the functionality from the Magisk module which someone has posted before, right?
Click to expand...
Click to collapse
If you're rooted it allows you to set a percentage where the phone will stop charging, then another lesser percentage where it will start again. I used to set mine at 87% and 90% which meant it would never be below 87% or above 90%.
It's worth noting that I recall it saying it doesn't work on all phones. I've also heard it didn't work on wireless charging, which never bothered me as I don't use it anyway. That might have changed though.

Related

Why is Android's battery always so darn inaccurate

My icon in the notif bar looks like 80% and it is 40% lol. I don't get it.
hah2110 said:
My icon in the notif bar looks like 80% and it is 40% lol. I don't get it.
Click to expand...
Click to collapse
Strange, I haven't noticed this.
1) What phone are you using
2) What ROM are you running
3) Have you wiped your phone along with the cache?
akapoor said:
Strange, I haven't noticed this.
1) What phone are you using
2) What ROM are you running
3) Have you wiped your phone along with the cache?
Click to expand...
Click to collapse
Almost every Android phone. It is a known problem.
I don't seem to have an issue with it.
When it reaches 75%, my bar is 3/4s. When it's 50, its half-way...etc...etc...
hah2110 said:
Almost every Android phone. It is a known problem.
Click to expand...
Click to collapse
Awsome job answering 3 questions with a random statement.
I know the phone stores the info about the battery in a file. This file includes the max charge the battery can charge too. There is a method somewhere on these forums that show how to drain your battery, wipe the file, then do a full charge so the phone can relearn the battery and the correct settings get saved.
I believe flashing new roms and doing storage wipes can cause this file to be removed and created with false info.
WoZeR said:
Awsome job answering 3 questions with a random statement.
I know the phone stores the info about the battery in a file. This file includes the max charge the battery can charge too. There is a method somewhere on these forums that show how to drain your battery, wipe the file, then do a full charge so the phone can relearn the battery and the correct settings get saved.
I believe flashing new roms and doing storage wipes can cause this file to be removed and created with false info.
Click to expand...
Click to collapse
No... It has nothing to do with this. Every Android phone I've had... Regardless of whether it is brand new, stock, rooted, flashed, new kernel, anything... Doesn't matter.
May I know how many android phones you previously had?
not trying to flame btw.. but i dont have that case with my phone.. and this is my first phone
You have tokinda program the Lion Batt internal charger first, you charge them full->run till dead--> repeat process 2 times and then the system will be way more accurate. Try this and reply in about 3 days the results.
lagu805 said:
May I know how many android phones you previously had?
not trying to flame btw.. but i dont have that case with my phone.. and this is my first phone
Click to expand...
Click to collapse
John512 said:
You have tokinda program the Lion Batt internal charger first, you charge them full->run till dead--> repeat process 2 times and then the system will be way more accurate. Try this and reply in about 3 days the results.
Click to expand...
Click to collapse
You guys are still missing it. The ICON is not accurate but the internal sensor is. Jeebus. Look at these links... and it seems as my answer is in the first two sentences:
http://senk9.wordpress.com/2010/06/07/android-app-of-the-day-battery-left-widget/
http://www.androidjunkies.com/index...ets-you-keep-watch-of-your-power-app-reviews/
Honestly, if "it" truly bothers you, why not just put the overlay ontop so you get the "real" percentage.
It's work just fine for me, usually +/- 3% at most, works great on froyo.
Calibrate if it is way off
Sent from my HTC Magic using XDA App
I'm trying to understand how android calculates battery percentage, and from my testing it seems that the battery meter is hard coded into each particular phone model. This link seems to kinda verify this.
http://www.android-x86.org/documents/howtoconfigurebatteryservice
Does anyone know where in the system the battery file is located? Either the battery driver, or the algorithm it uses, or even a stats file. Anyone able to point me in the right direction? Thanks.
Daveenna said:
It's work just fine for me, usually +/- 3% at most, works great on froyo.
Calibrate if it is way off
Sent from my HTC Magic using XDA App
Click to expand...
Click to collapse
How abouts do you calibrate the visual battery indicator at the top of the notification bar to be within 3%??
Are you talking about something else like the battery charge status reading?
I've experienced the same problem as the OP on all my Android phones as well. It is a problem when you think you have 75% charge and all the sudden you are getting low battery warnings.
same here. Notification Bar battery is hilariously off.
akapoor said:
I don't seem to have an issue with it.
When it reaches 75%, my bar is 3/4s. When it's 50, its half-way...etc...etc...
Click to expand...
Click to collapse
oh yea? mine goes to nine percent...and takes forever for it to shut down. only when i shut down the phone or reboot it, does it not come back on. lol

Relation between charging at night and performance/battery

Hi everyone !
I haven't seen this info anywhere on XDA, at least on this forum, but i think everyone should know this.
Not trying to take credit in any way, because OP made a terrific job at researching and testing, just wanna spread the knowledge.
Basically : Charging your phone at night or leaving it charging even while at 100% for a few hours will have a big impact on how it behaves and how your battery holds up.
Quick explaination : Since Nougat, you don't get the App Optimization screen anymore on the first boot.
That's because Google has delayed it, and it triggers only in specific conditions : When the device is idle, fully charged, and still plugged in.
This optimzation allows to build the ART cache, which speeds up the system and apps, saving CPU power because it avoids using the JIT (Just In Time) compiler, thus, saving battery juice.
This also means wiping cache isn't going to help with your battery life, quite the opposite.
You'll see he made a test with other users, and the results are quite clear.
Here is a link to the post with detailled explaination and testing, thanks a lot to anupritaisno1 for all this info :
https://forums.oneplus.com/threads/...-and-battery-calibration-myths-busted.993896/
Forced the building through "cmd package bg-dexopt job" on my own OP6 running Pixel Experience, took like 15mn. SOT improved quite a lot.
Interesting read, thanks
What if you charge it at night while the phone is OFF?
Thank you for sharing this :laugh:
---------- Post added at 11:42 PM ---------- Previous post was at 11:41 PM ----------
SOCOM-HERO said:
What if you charge it at night while the phone is OFF?
Click to expand...
Click to collapse
Read the thread linked in OP.
The system works harder when you charge your phone while it's off.
Very interesting read. Basically debunks majority of the stuff people preach to maximize phone performance and battery.
SOCOM-HERO said:
What if you charge it at night while the phone is OFF?
Click to expand...
Click to collapse
If the phone is OFF it can't trigger the optimization task, this won't be beneficial.
In the article he actually made a test about this, you should read it !
Interesting, but... who claimed that clearing the cache helps with the *battery*?
Also, what happened to the old adage "never leave your phone plugged in" because it causes battery wear?
krakout said:
Interesting, but... who claimed that clearing the cache helps with the *battery*?
Also, what happened to the old adage "never leave your phone plugged in" because it causes battery wear?
Click to expand...
Click to collapse
A lot of people claim this, that you should clear the cache after an update, without clear reason why. At least we have a reason not to.
And this old adage is indeed old, like the "Fully discharge it for calibration". We're not in 2002 anymore. Modern technology had the nice idea to remember to stop the charge, and use Lithium batteries haha !
Leaving it plugged at 100% is not causing any wear. The post mentions a response from an electrical engineer, saying the battery is in fact on stand by and the phone is running off the charger only.
krakout said:
Also, what happened to the old adage "never leave your phone plugged in" because it causes battery wear?
Click to expand...
Click to collapse
Debunked here
Totone56 said:
A lot of people claim this, that you should clear the cache after an update, without clear reason why. At least we have a reason not to.
And this old adage is indeed old, like the "Fully discharge it for calibration". We're not in 2002 anymore. Modern technology had the nice idea to remember to stop the charge, and use Lithium batteries haha !
Leaving it plugged at 100% is not causing any wear. The post mentions a response from an electrical engineer, saying the battery is in fact on stand by and the phone is running off the charger only.
Click to expand...
Click to collapse
That's just one way to read it. Leaving it plugged in does not, indeed, mean that it keeps trying to charge. But once it goes down, it will charge up again. Also, supposedly, the fuller the battery is when charging, the higher the temperature and hence, the wear. Cannot attest to that, that's just how the argument goes.
casual_kikoo said:
Debunked here
Click to expand...
Click to collapse
Yes, but that's irrelevant. Totally different issue, I was not talking about calibration.
krakout said:
That's just one way to read it. Leaving it plugged in does not, indeed, mean that it keeps trying to charge. But once it goes down, it will charge up again. Also, supposedly, the fuller the battery is when charging, the higher the temperature and hence, the wear. Cannot attest to that, that's just how the argument goes.
Click to expand...
Click to collapse
Indeed. But from the looks of it, and what i've read in other places, it waits for it to drop a bit. If the battery is not used, it won't fall to 99% in a night, and won't be charged again until you unplug it. Kinda like when your phone is off. It's gonna be a long time before the battery goes down on it's own.
Interesting, gotta try it.
Still, does the <50, >70% not apply in terms of battery wear? I mean, even for straight-forward charges?
krakout said:
Interesting, gotta try it.
Still, does the <50, >70% not apply in terms of battery wear? I mean, even for straight-forward charges?
Click to expand...
Click to collapse
I'd say yes, it still applies. It's a different topic ! Everithing said here is related to software and charging control, when this is more related to battery chemistry. But you're right, it's still true.
To sum it up :
- Charging above 70 or 80% and discharging under 30% (Thoses are the values i read about) is indeed not the best thing for your battery health on the long term.
- BUT, the superior battery life your phone will get with these app optimizations easily counter-balances it. If the phones lasts twice longer, it means 2 times less chaging cycles required, when you think about it (Ofc not accurate, but you see what i mean)
Best thing you can do, if you really want to get the best of both worlds, is staying in between those ideal values, and triggering the optimization manually via the Linux Terminal Emulator
Although, i don't think i'm not personally going to bother, i'll just charge my phone, use it, and charge it again in the evening.
Two days after triggering dexopt manually, without flashing or changing anything, using the phone the same way, i went from 16h idle/2h SOT at the end of the day with 50% remaining to 20h idle/2h15 of SOT with 70% remaining, that's quite a drastic improvement.
Ooh can you share more?I tried googling about triggering the optimization but came up empty...
Yes, that's logic in that, if optimization is so dramatic!
PS I meant 80, not 70, just as you mentioned.
Sent from my ONEPLUS A6000 using Tapatalk
krakout said:
Ooh can you share more?I tried googling about triggering the optimization but came up empty...
Yes, that's logic in that, if optimization is so dramatic!
PS I meant 80, not 70, just as you mentioned.
Sent from my ONEPLUS A6000 using Tapatalk
Click to expand...
Click to collapse
Yes, it's hard to get an info about this, wierd.
Run any terminal app on you phone, type "su" to ask for root permission, then enter "cmd package bg-dexopt-job" (without quotes).
It will run for a certain amount of time (between 10mn and more than an hour, depending of the number of apps you have installed).
When you get the shell back (A line appears under the last one to enter another command), it means it's complete.
If you wanna be sure, run it again, it will finish very fast, because the cache will be up to date (It still checks it, so it's not an instant completion).
Do it plugged in the charger, but with like 30% charge, maybe on USB so it doesn't get to 100% too fast, to avoid the awkward situation where it overlaps with the actual automatic background process doing the same thing haha
The phone can heat up a bit because the CPU is working quite a bit.
You can also run the command through an ADB shell on a PC, if you're not rooted.
Or just leave it charging during a night for once, works too
Best way seems to let if charge for the night regularly though (Quote from the OP) :
"I just say overnight because the device being idle is a condition for the optimisation to begin
Also the optimisation is profile guided. If you were to AOT compile your entire base system it would take 4-5 GB off your storage and that is just the base system we haven't even considered the apps you'll install. Since optimisation generates huge optimisation files it is more sensible to only compile what is slow for JIT to do at runtime. This might seem weird but it takes the cache size down to less than 1 GB on most devices
In other words every time you use your phone the runtime sees what is slow and queues it up for optimisation the next time the condition is satisfied"
Wow. This should be pinned somewhere!
I'll do it in the terminal just for fun, but will also leave it (for my first time ever) overnight too.
Thanks, man!
Sent from my ONEPLUS A6000 using Tapatalk
krakout said:
Wow. This should be pinned somewhere!
I'll do it in the terminal just for fun, but will also leave it (for my first time ever) overnight too.
Thanks, man!
Sent from my ONEPLUS A6000 using Tapatalk
Click to expand...
Click to collapse
I think everyone should read this yes, even if it's just for the sake of knowing how things really work.
And i can confirm again, my battery life is so much better ...
A few days ago, going to work, listenting to Spotify on my motorcycle for 20mn, and checking my mails for 2m got me to 96% battery.
Yesterday, and today, same routine, an an hour after that i'm still at 100% ... That's very impressive.
Really interesting.
Sadly the command does nothing on my device.
Sent from my OnePlus6 using XDA Labs
Stroky said:
Really interesting.
Sadly the command does nothing on my device.
Sent from my OnePlus6 using XDA Labs
Click to expand...
Click to collapse
Are you sure ? It doesn't display anything, that's true. But you'll know it's over when the shell returns.
Or you can juste leave your phone plugged for a night or two, same result.
My battery goes from 100% to ~97% within minutes without using it after unplugging the phone from the charger when charging overnight.
Why is that and how can I get rid of it? It occurs since a few days on custom rom as well as on oos now again.

90hz "all the time" mod

So I read about the mod through ABD that allows to force 90hz but all I find are negative comments on how it'll kill battery life and everything. I can't find any real reviews from people that actually are using the force. Can we get any input here please
Enough info to be found in the other two threads.
Why a third one. Plus, simply try for yourself, each person's usage is different :good:
Pfeffernuss said:
Enough info to be found in the other two threads.
Why a third one. Plus, simply try for yourself, each person's usage is different :good:
Click to expand...
Click to collapse
Like to thread if possible. The XDA app sucks for searching.
lg3FTW said:
Like to thread if possible. The XDA app sucks for searching.
Click to expand...
Click to collapse
https://forum.xda-developers.com/oneplus-7-pro/how-to/guide-force-90hz-app-game-uncaps-fps-t3940071
https://forum.xda-developers.com/oneplus-7-pro/how-to/screen-refresh-rate-t3938576
lg3FTW said:
So I read about the mod through ABD that allows to force 90hz but all I find are negative comments on how it'll kill battery life and everything. I can't find any real reviews from people that actually are using the force. Can we get any input here please
Click to expand...
Click to collapse
I did nothign different today and used the JOneplus tool and you can switch it on the fly back to auto, 60hz or forced 90hz for all apps. SOOOO EASY. It's in the play store. No need for the ADB commands with a PC.
That said I am seeing less than 1% difference of SOT drain per hour. Before the 90hz forced all apps I was getting about 6.1-6.3% drain per hour of screen on time and that was with 90hz auto. With 90hz forced all apps I saw 6.9% drain per hour of screen on time 19% drain over 3:21 of SOT. I'm getting that percentage from AccuBattery. I use Auto brightness with EX Kernel and High Brightness Mode app set to auto as well and I only ever use LTE, never WiFi.
The negative comments are of people that are scared to try it and have no clue what they are talking about. They are scared so they should just get a dog IMO.
Eric214 said:
I did nothign different today and used the JOneplus tool and you can switch it on the fly back to auto, 60hz or forced 90hz for all apps. SOOOO EASY. It's in the play store. No need for the ADB commands with a PC.
That said I am seeing less than 1% difference of SOT drain per hour. Before the 90hz forced all apps I was getting about 6.1-6.3% drain per hour of screen on time and that was with 90hz auto. With 90hz forced all apps I saw 6.9% drain per hour of screen on time 19% drain over 3:21 of SOT. I'm getting that percentage from AccuBattery. I use Auto brightness with EX Kernel and High Brightness Mode app set to auto as well and I only ever use LTE, never WiFi.
The negative comments are of people that are scared to try it and have no clue what they are talking about. They are scared so they should just get a dog IMO.
Click to expand...
Click to collapse
I'm not rooted so the jtool doesn't work for me sadly. But thank you for the feedback. I'll be trying this soon. So what gather from your experience is that it's worth it? I leave my phone in power save mode 90% of the day anyhow to easily restrict background data and syncing. TIA for all input
lg3FTW said:
I'm not rooted so the jtool doesn't work for me sadly. But thank you for the feedback. I'll be trying this soon. So what gather from your experience is that it's worth it? I leave my phone in power save mode 90% of the day anyhow to easily restrict background data and syncing. TIA for all input
Click to expand...
Click to collapse
I will be staying with the 90hz all apps. I never use battery save mode so this is all just with the phone regular. So, yes, I would say this is definitely a win! And why aren't you rooted. Life only starts when rooted. Hurts nothing, Oneplus doesn't void warranty either
Eric214 said:
I will be staying with the 90hz all apps. I never use battery save mode so this is all just with the phone regular. So, yes, I would say this is definitely a win! And why aren't you rooted. Life only starts when rooted. Hurts nothing, Oneplus doesn't void warranty either
Click to expand...
Click to collapse
I'm on the verge of rooting my phone, but widevine certification is stopping me. I wish there was a way to keep L1 even after rooting.
Jenishpat said:
I'm on the verge of rooting my phone, but widevine certification is stopping me. I wish there was a way to keep L1 even after rooting.
Click to expand...
Click to collapse
Yeah, The only real app that I need to worry about L1 is with Netflix and I really never watch Netflix on my phone. If I will need some entertainment I'll watch YouTube (1440p) or just move a movie from my PC library onto the phone for local playback. I have no problem with YouTube, ESPN.com or my Slingbox app Slinplayer (NOT Sling TV) which streams my local TV to my phone in 1080P
Eric214 said:
I will be staying with the 90hz all apps. I never use battery save mode so this is all just with the phone regular. So, yes, I would say this is definitely a win! And why aren't you rooted. Life only starts when rooted. Hurts nothing, Oneplus doesn't void warranty either
Click to expand...
Click to collapse
Tell ya truth I didn't want to reset phone. That's main reason for no root. Lol
I've always rooted all my phones until I got my G6 2 years ago and I kinda lived without it for 2 years and besides gravity box I didn't see much need for root truly. But thanks in advance for reply looks like I'll be rooting this weekend anyhow.. IMO beside CM9 back in the day there's never been a custom Rom that I'd ever run. So mostly debloat and gravity box truly. but I guess this being my 1st OP device I must do it.
lg3FTW said:
Tell ya truth I didn't want to reset phone. That's main reason for no root. Lol
I've always rooted all my phones until I got my G6 2 years ago and I kinda lived without it for 2 years and besides gravity box I didn't see much need for root truly. But thanks in advance for reply looks like I'll be rooting this weekend anyhow.. IMO beside CM9 back in the day there's never been a custom Rom that I'd ever run. So mostly debloat and gravity box truly. but I guess this being my 1st OP device I must do it.
Click to expand...
Click to collapse
Yeah I hear ya. This is why I root my phone after a boot it up and put in my gmail account and BOOM rooted, and then set everything up.

Battery Charge Limit: still a good idea?

This gadgethacks article from two years ago suggests limiting battery charge to 80% and even links to an app to do so.
Given the speed at which things evolve in the Android world, is this still a good idea today, and specifically on OP7 devices?
There is much debate around this but I personally stop at 90% and try to recharge around 15%, not letting it go lower.
Thank you! It's helpful to hear the latest thinking on this.
Forgot to ask: do you control that manually, or do you use something like this root app?
Taking it out for a spin but not sure what to expect.
When phone charges 100%. It's not using maximum capacity. Neither is it fully discharged when it hits 0. Manufacturers of course know that and that's something they take into account calibrating the software. I see no reason for limiting it further lower and making yourself to charge it more frequently. That wears it out faster instead
Help!
How can I run?
Mahesar said:
How can I run?
Click to expand...
Click to collapse
Move one leg faster than the other.
who ah way said:
Forgot to ask: do you control that manually, or do you use something like this root app?
Taking it out for a spin but not sure what to expect.
Click to expand...
Click to collapse
I use what is shown in the attached screenshot.
Thank you very much.
For anyone else following the thread, looks like this module is referred on this how-to guide and this official thread.
I'm a ~20 - 90% kinda routine. But I don't dwell on it...
If you use a Chargie device (https://chargie.org), you can limit the charging of any non-rooted phone. It's a much better option. And it's also developed and tested on a OnePlus 7T, so it works well with OnePluses. Check it out.
who ah way said:
This gadgethacks article from two years ago suggests limiting battery charge to 80% and even links to an app to do so.
Given the speed at which things evolve in the Android world, is this still a good idea today, and specifically on OP7 devices?
Click to expand...
Click to collapse
ACC
I'm using ACC by VR25 since years on a Redmi Note 4 and now on my Pro 7. You may find it on XDA and Github. It's a Magisk module and you need root rights. Configuration is done by command line, but default is max. 80% and starts reloading at 70%. There is also a gui available from Matte Carrara called AccA, which I never used. I can recommend ACC, it's slim and works rock hard.
liam_davenport said:
Move one leg faster than the other.
Click to expand...
Click to collapse
bro..this cracked me up...Just can't stop laughing...

Question I want limit my batteries charge to 80-85%. How do I do that?

Hi y'all!
Had my 7 Pro for a week now and have "manually" stopped the charging at 85%. Read that this can be done automatically when you root the phone. Anyone who can point me in the right direction where I can get more info on this?
/Dave
Just use your phone normally, make life simple ...
It just a phone btw
Advanced Charging Controller (ACC) magisk module will do that. You also might want a frontend app for it. I use AccA.
daspunner said:
Hi y'all!
Had my 7 Pro for a week now and have "manually" stopped the charging at 85%. Read that this can be done automatically when you root the phone. Anyone who can point me in the right direction where I can get more info on this?
/Dave
Click to expand...
Click to collapse
The suggested methods (ACC, AccA, etc) never worked properly for me--but the 80% module from this thread has worked perfectly. I rooted my phone almost immediately and have been using this since:
[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...
forum.xda-developers.com
ACC AccA works but you need to play with settings. I have mine set to 75% and so far works good with every monthly update.
Was ACCA updated for A13?
daspunner said:
Hi y'all!
Had my 7 Pro for a week now and have "manually" stopped the charging at 85%. Read that this can be done automatically when you root the phone. Anyone who can point me in the right direction where I can get more info on this?
/Dave
Click to expand...
Click to collapse
I've seen around over the last couple of months that it seems @roirraW "edor" ehT has the same attitude/intention that you do....you could ask him how he goes about it (he speaks a bit on what's already been suggested in this thread with ACC, but this confirms ACC works on P7P/A13, as well as he maybe can help further set things up) -- apparently he's been doing it for years...
roirraW edor ehT said:
I only charge to 75%, and I try not to let the battery go lower than 25%. This has been my standard for most of the last six years - about the time of my first Pixel. That 50% operating range typically lasts me about 24 hours.
When I sell phones on Swappa (I didn't this time when I got the 7 Pro), I advertise that the battery is gently treated. Of course, when I sell my wife's phone, it's a free for all as to how the battery has been treated.
Click to expand...
Click to collapse
roirraW edor ehT said:
I checked now.
I have two schedules set to run at 1AM if my battery level is at least 40%. I don't charge the battery overnight (and further off-topic, I start charging when it gets down to 25%, and stop charging at 75% - I use ACC and ACC settings to automatically stop charging at 75%, and I use GSam to alert me with different tones when it gets down to 25% and when it's charged to 75%).
Click to expand...
Click to collapse
Also, maybe @wilberfan has spoken a bit on it and maybe has some methods he employs. BTW, he states it shouldn't go above 80% (vs. your 85%)....
Apparently I've overlooked the fact that wilberfan has already replied to this thread...my bad...
wilberfan said:
In general,
For optimized battery life, your phone should never go below 20 percent or never above 80 percent. It may put your mind at ease when your smartphone’s battery reads 100 percent charge, but it’s actually not ideal for the battery. https://www.gearpatrol.com/tech/a624169/smartphone-lithium-ion-charging-tips/
I did this for three years with my OnePlus 7T and my battery was still at 90-something percent of it's original specs.
Click to expand...
Click to collapse
simplepinoi177 said:
I've seen around over the last couple of months that it seems @roirraW "edor" ehT has the same attitude/intention that you do....you could ask him how he goes about it (he speaks a bit on what's already been suggested in this thread with ACC, but this confirms ACC works on P7P/A13, as well as he maybe can help further set things up) -- apparently he's been doing it for years...
Also, maybe @wilberfan has spoken a bit on it and maybe has some methods he employs. BTW, he states it shouldn't go above 80% (vs. your 85%)....
Apparently I've overlooked the fact that wilberfan has already replied to this thread...my bad...
Click to expand...
Click to collapse
Thanks @simplepinoi177!
daspunner said:
Hi y'all!
Had my 7 Pro for a week now and have "manually" stopped the charging at 85%. Read that this can be done automatically when you root the phone. Anyone who can point me in the right direction where I can get more info on this?
/Dave
Click to expand...
Click to collapse
Hi Dave @daspunner.
You'll want to install:
@VR25's Advanced Charging Controller (ACC)
CrazyBoyFeng's ACC Settings
I switched from using MatteCarra's AccA (Advanced Charging Controller App) front-end to ACC Settings in the last six or eight months. I can't remember if AccA just stopped working, or working consistently, but ACC Settings has been working well.
I'm using the latest non-pre-release version of ACC Settings, v2022.6.7 - but I don't think I've even tried the v2022.6.13-pre Pre-release. I have mine set to stop charging at 75% "Pause above", and I have "Charge below" set to 25%. I also have GSam Battery Monitor set to give me different tone alerts for above 74% and below 26%. I also have one set for below 25% in case I miss the below 26% one - although my brother discovered a bug where the second notification sound for the same type of event never goes off, but I haven't paid attention to see if it's fixed, or if it's specific to his Samsung Galaxy S9+.
AccuBattery can do this without root. I use this app for many years.​
Carlosk1966 said:
AccuBattery can do this without root. I use this app for many years.​
Click to expand...
Click to collapse
AccuBattery only notifies you when you reach a certain charge percentage. It doesn't actually stop the phone from charging when you reach a certain percentage, which I believe is what the OP wants.
Lughnasadh said:
AccuBattery only notifies you when you reach a certain charge percentage. It doesn't actually stop the phone from charging when you reach a certain percentage, which I believe is what the OP wants.
Click to expand...
Click to collapse
Yes You are right.
roirraW edor ehT said:
Thanks @simplepinoi177!
Hi Dave @daspunner.
You'll want to install:
@VR25's Advanced Charging Controller (ACC)
CrazyBoyFeng's ACC Settings
I switched from using MatteCarra's AccA (Advanced Charging Controller App) front-end to ACC Settings in the last six or eight months. I can't remember if AccA just stopped working, or working consistently, but ACC Settings has been working well.
I'm using the latest non-pre-release version of ACC Settings, v2022.6.7 - but I don't think I've even tried the v2022.6.13-pre Pre-release. I have mine set to stop charging at 75% "Pause above", and I have "Charge below" set to 25%. I also have GSam Battery Monitor set to give me different tone alerts for above 74% and below 26%. I also have one set for below 25% in case I miss the below 26% one - although my brother discovered a bug where the second notification sound for the same type of event never goes off, but I haven't paid attention to see if it's fixed, or if it's specific to his Samsung Galaxy S9+.
Click to expand...
Click to collapse
I just tried CrazyBoyFeng's ACC Settings, and it seems to be working for me. (P7P on the latest A13 QPR beta) I turned off the Magisk module I've been using and will see how this new method works for a few days.
And it made me chuckle that I've been quoted in here--I am most definitely NOT an expert. An Advanced Beginner (or perhaps a Beginning Intermediate) at best!
roirraW edor ehT said:
Thanks @simplepinoi177!
Hi Dave @daspunner.
You'll want to install:
@VR25's Advanced Charging Controller (ACC)
CrazyBoyFeng's ACC Settings
I switched from using MatteCarra's AccA (Advanced Charging Controller App) front-end to ACC Settings in the last six or eight months. I can't remember if AccA just stopped working, or working consistently, but ACC Settings has been working well.
I'm using the latest non-pre-release version of ACC Settings, v2022.6.7 - but I don't think I've even tried the v2022.6.13-pre Pre-release. I have mine set to stop charging at 75% "Pause above", and I have "Charge below" set to 25%. I also have GSam Battery Monitor set to give me different tone alerts for above 74% and below 26%. I also have one set for below 25% in case I miss the below 26% one - although my brother discovered a bug where the second notification sound for the same type of event never goes off, but I haven't paid attention to see if it's fixed, or if it's specific to his Samsung Galaxy S9+.
Click to expand...
Click to collapse
Which version of ACC do you use? I have acc settings 2022.6.7 and ACC 2022.6.4 My configuration is to pause at 75% and charge below 70%. I have noticed that it does stop charging at 75% BUT if you use battery guru , for example, or something similar like charging Master, it indicates that is still gives some mah,it's not shut down, but this quantity isn't enough to charge the phone. In the battery properties, the phones states: connected, not charging, but battery guru says the opposite. Have you noticed something like this?
mavrovelos said:
Which version of ACC do you use? I have acc settings 2022.6.7 and ACC 2022.6.4 My configuration is to pause at 75% and charge below 70%. I have noticed that it does stop charging at 75% BUT if you use battery guru , for example, or something similar like charging Master, it indicates that is still gives some mah,it's not shut down, but this quantity isn't enough to charge the phone. In the battery properties, the phones states: connected, not charging, but battery guru says the opposite. Have you noticed something like this?
Click to expand...
Click to collapse
I'm using the same version of ACC (v2022.6.4). I might be having the same experience - I haven't paid attention, but I'm not concerned with it. If I remember, the next time I charge my phone, and it reaches 75%, I'll check, but no promises.
mavrovelos said:
Which version of ACC do you use? I have acc settings 2022.6.7 and ACC 2022.6.4 My configuration is to pause at 75% and charge below 70%. I have noticed that it does stop charging at 75% BUT if you use battery guru , for example, or something similar like charging Master, it indicates that is still gives some mah,it's not shut down, but this quantity isn't enough to charge the phone. In the battery properties, the phones states: connected, not charging, but battery guru says the opposite. Have you noticed something like this?
Click to expand...
Click to collapse
If you're using AccA and don't like that, untick prioritize battery idle mode.
A charging switch that works is gcpm/constant_charge_current_max 4000000 0. Usually this gets autodetected, but sometimes it lands on one that doesn't work as well. With this switch (or in general?), max current control only works (somewhat) with qi charging. I have a magsafe battery pack, and the phone will constantly pull too much current and cause the pack to shut off and back on. With a 500ma limit, it seems to charge stably at ~1A.
ziddey said:
If you're using AccA and don't like that, untick prioritize battery idle mode.
A charging switch that works is gcpm/constant_charge_current_max 4000000 0. Usually this gets autodetected, but sometimes it lands on one that doesn't work as well. With this switch (or in general?), max current control only works (somewhat) with qi charging. I have a magsafe battery pack, and the phone will constantly pull too much current and cause the pack to shut off and back on. With a 500ma limit, it seems to charge stably at ~1A.
Click to expand...
Click to collapse
I use acc settings, not acca!
Rooted and got charge to stop at 80%. Any of the settings you guys want to comment about?
I am using ACC settings.
When is says "Connected, not charging". Does it mean that the phone draw power from the charger then instead of the battery?
Unless you are planning on keeping this phone for many, many years limiting the charge will do very little for you. In fact, if by limiting the charge to 80% causes you to have to charge it up more often then it could actually work against you! Let the built in software do it's job. However, a lower charge is always better as long as the heat is controlled.

Categories

Resources