yashsingh1/xdaforums huggingface dataset:
[Google Pixel 6 Pro] kylechen:
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.
[Google Pixel 6 Pro] E!ad:
Would you like to share how (ACC + Tasker. Tasker project, everything)?

Thanks
[Google Pixel 6 Pro] bush911:
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
[Google Pixel 6 Pro] ChongoDroid:
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)
[Google Pixel 6 Pro] Zilla0617:
Are you referring to the Tasker implementation or ACC?
[Google Pixel 6 Pro] ChongoDroid:
Acc
[Google Pixel 6 Pro] rolarocka:
Yay finally a solution that works. Pixel 6 here, A13 Stock👍
[Google Pixel 6 Pro] cbomb1337:
Thanks.
[Google Pixel 6 Pro] Zilla0617:
Could you share your config file? What phone and is are you using? Thanks
[Google Pixel 6 Pro] ChongoDroid:
Pixel 6 pro stop charging at 82 and start at 76 that's all I used
[Google Pixel 6 Pro] Zilla0617:
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
[Google Pixel 6 Pro] ChongoDroid:
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
[Google Pixel 6 Pro] Zilla0617:
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?
[Google Pixel 6 Pro] ChongoDroid:
1.0.35
[Google Pixel 6 Pro] IdrisMC:
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.
[Google Pixel 6 Pro] wilberfan:
I peeked inside this one (as it's the one I'm successfully using), and noticed the following:

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.)
[Google Pixel 6 Pro] Sohip:
I just wanna report that this Magisk Mod (P6n_charginglimit_80.zip) is working perfectly fine on my rooted Pixel 7 Pro (Stock Kernel and Rom).

Last time I checked I got about ~5hrs20mins Screen time (Battery usage was from %80 to %10) and I'm also using an app called HEBF Optimizer that helped improve the battery life a little more.

CustomKernel might improve battery life even further but I haven't done that yet.
[Google Pixel 6 Pro] liver20:
If i change value to 100 for stop and 94 for start.. Not works in pixel 7...

Why?
[Google Pixel 6 Pro] BetaPix:
I can also confirm this works on my Pixel 7, so I didn't bother setting up ACC :)

Thank you for your work OP!
[Google Pixel 6 Pro] 73sydney:
fwiw i used to use acc and tried both front ends for it on my Pixel 2XL and it was always dropping in or out - often having to reset the charging switch etc - just niggly stuff, i like simple magisk modules over apps any day of the week....

have a few of my own here
[Google Pixel 6 Pro] TerryS2K:
Hi, does anyone know if this will also work for the Pixel 7 pro?
[Google Pixel 6 Pro] 73sydney:
its a magisk module and should be reversible (part of the design of magisk), so why not flash it and try....
[Google Pixel 6 Pro] TerryS2K:
Fair enough, I'm still using my 6 Pro and have a 7 Pro on the way. I'll give it a try once I receive it and get it all set up!
[Google Pixel 6 Pro] WhoIsJohnGalt1979:
Works perfectly fine on 7 pro
[Google Pixel 6 Pro] 73sydney:
Yup, it would have been strange if they suddenly changed the backend charging gear
[Google Pixel 6 Pro] fernoct:
Just a quick question, everyone: let's say I download the 90% module, but charging is stuck at 90% even though it still displays as charging. Has the phone's complete disregard for input power been proven?
[Google Pixel 6 Pro] 73sydney:
Not sure what youre asking

Are you asking if if the limit is set to 90 and its at 90 is it still charging?

try from terminal:

su

cat /sys/devices/platform/google,battery/power_supply/battery/status

this will tell you if its charging, probably other ways via terminal...this is just the first i found...
[Google Pixel 6 Pro] jcp2:
This works great on my P6P, any ideas if it would work on my old P3xl? running 12.1 stock

EDIT... Tried but doesn't work on Pixel 3xl :(
[Google Pixel 6 Pro] LeoPeink:
I'm gathering information about the Pixel 7 battery management inner workings to write a small app to limit max charge, save presets etc.

Help me get it straight: charge_stop_level (default 100) is the SoC% at which the phone stops charging (=maintains SoC without it dropping down), at least that's how I see it working on my Px7. Editing it to 85% works as expected.

I can't figure out charge_start_level: it is 0 by default, and from what OP said earlier, leaving it at 0 should mean that the phone won't charge until dead, but if I plug it in with 60%SoC it regularly charges up to 85. Please correct me if I'm wrong, I want to learn!
[Google Pixel 6 Pro] 73sydney:
All the relevant switches to set limits will be different for older Pixels....i cant rememebr what it is on the Pixel 2XL anymore even...

the ones being used here are (look in modules's service.sh file)

/sys/devices/platform/google,charger/charge_start_level

/sys/devices/platform/google,charger/charge_stop_level

a bit of searching (literally 2 minutes) using search terms "battery charge limit pixel 3" would have found you this thread:

https://xdaforums.com/t/battery-charge-limit-settings-for-pixel-3.4157427/

i suggest reading the last post on the page, unzipping this module, editing and substituting the part between the first and last /'s in that line for the lines in the service.sh of the module, rezipping it and renaming it for pixel 3 so you know which device its for...and flashing it to test
[Google Pixel 6 Pro] Zilla0617:
My experience with this mod is that it creates a huge wakelock causing the battery to drain excessively after it reaches it's desired stop level. This is using a Pixel 6 Pro
[Google Pixel 6 Pro] 73sydney:
screenshot or it didnt happen....
[Google Pixel 6 Pro] Zilla0617:
I guess you can chalked it up to it not happening since I did not record the information and have since moved on, just giving my experience
[Google Pixel 6 Pro] 73sydney:
its just that reporting an error is only really useful if you can provide some sort of screenshot or error log :)

Many of us have used this for months and not noticed any wakelock issues
[Google Pixel 6 Pro] jcp2:
All the relevant switches to set limits will be different for older Pixels....i cant rememebr what it is on the Pixel 2XL anymore even...

Thanks for the helpful information. I changed the wording in the module and flashed it on the 3xl I passed on to my Mom. Now I don't have to worry about overcharging my 6 Pro or her 3xl :)
[Google Pixel 6 Pro] kylechen:
From what I have tested so far, it is something like this:

The charge_stop_level is the trigger, it starts the "no-charge mode".

Once it starts, the charge_start_level is the "reset" of it.

except:

If the charge_stop_level is at default, the whole thing seems to be ignored.

Besides the charge_start_level, there are some other "reset" mechanisms, like reboot/plug-unplug cable multiple times, etc. etc. I randomly found.

It is a blackbox atm until someone read google's source code and explain it.
[Google Pixel 6 Pro] LeoPeink:
I managed to solve all my issues with AAC and AccA. They work awesomely, but you have to set the right trigger. No need to write a front end app when AccA works beautifully.
[Google Pixel 6 Pro] StanWiz:
Are you setting your triggers with the akp? Care to share your settings? In my instance acc is a hit or miss affair - at times it charges to 100%.

Thanks
[Google Pixel 6 Pro] LeoPeink:
Ok, this is the export config output from AccA.

[{"profile":{"uid":4,"profileName":"Daily (80-85)","accConfig":{"configCapacity":{"shutdown":2,"resume":80,"pause":85},"configVoltage":{},"configTemperature":{"coolDownTemperature":35,"maxTemperature":45,"pause":90},"configResetUnplugged":false,"configResetBsOnPause":false,"configChargeSwitch":"/sys/devices/platform/google,charger/charge_stop_level 100 5","configIsAutomaticSwitchingEnabled":false,"prioritizeBatteryIdleMode":true}},"mIsChecked":true}]

ACC version is V2022.7.30-dev (the latest), and I'm not using djs. Just the daemon running.

It works 100% of the times, even with Wireless Charging.

Although with slow chargers, like 500ma ones (5W old bricks) it does not work well, but i use a 5V 2A Xiaomi charger and a 12W Samsung Wireless Pad and it stops every time at 85%, to resume at 80%.
[Google Pixel 6 Pro] StanWiz:
Not that different from my settings. I'll try playing with it a bit. Thanks

[[{"profile":{"uid":2,"profileName":"Charge to 90%","accConfig":{"configCapacity":{"shutdown":5,"resume":70,"pause":89},"configVoltage":{},"configTemperature":{"coolDownTemperature":40,"maxTemperature":45,"pause":90},"configOnPlug":"9000000","configResetUnplugged":false,"configResetBsOnPause":false,"configIsAutomaticSwitchingEnabled":true,"prioritizeBatteryIdleMode":true}},"mIsChecked":true}]
[Google Pixel 6 Pro] evtoofly:
Noob question but does this mean I no longer need to use acc? I would like to try this with my pixel 6a but know if this can be used to override acc or I need to use both at once. Does this also fix the overheating when charging?
[Google Pixel 6 Pro] t3chwizard:
This works great on my Pixel 7, I was unable to get ACC to work so thankfully I found this
[Google Pixel 6 Pro] cbomb1337:
I was able to get my rom dev to add this method for his charging limit. Thanks now I don't need to use the module.
[Google Pixel 6 Pro] TheTrueJayTwenty:
I'm unsure if this has been asked here (Not a fan of the search function). But is there a way to use this mod to set the max battery to say for example I'm using the 90% mod, but then have the phone display 100% even though it's really only going to 90%?
[Google Pixel 6 Pro] JanF18:
I'm pretty new to the forum, does this work with magisk AND root only, or is it possible to use it without root?
[Google Pixel 6 Pro] TheTrueJayTwenty:
It's a Magisk module, so yes needs to be rooted with Magisk installed.
[Google Pixel 6 Pro] kylechen:
That goes down the rabbit hole of the "battery management" arena.

From what I know, there is a complex manufacture + smart-self-updated battery "profile" in binary format mating the physical status and the display status of the battery. (remember the reset battery status function on the old androids?)

Is there a way? Yes, if you are BL unlocked rooted, everything has a way.

Is there an easy way? No, not that ive heard of.
[Google Pixel 6 Pro] Flyview:
Thanks for this! It's working great on my Pixel 6 Pro. I used ACC in the past but as other have said, it often glitched, and it screwed up the normal charging currents as percentage goes up.
[Google Pixel 6 Pro] Anchewei:
This set worked for me, I don't get terribly slow charging speed due to some weird setting.

But have you tried to change the charging speed by setting Max voltage or Max Current?
[Google Pixel 6 Pro] kylechen:
Yea, that's the point of this mod :D
[Google Pixel 6 Pro] fyresg:
Hi, I downloaded P6n_charginglimit_80.zip then installed it as a module in the Magisk app, then rebooted. And verified the module is loaded. Yet my phone charges to 100%. Any ideas what am I doing wrong?

Specs: Xiaomi 13, using xiaomi.eu firmware 14.0.23 (Android 13), and Magisk 26.1.
[Google Pixel 6 Pro] majorfigjam:
Yup - you're not using a Pixel 6. This module is app specific.
[Google Pixel 6 Pro] fyresg:
Thanks. Google brought me here, and I couldn't tell from the first post nor title that this is only for Pixel 6.
[Google Pixel 6 Pro] Zaxx32:
Can anyone verify if this mod is still working on Android 14 Stable yet? Tia...
[Google Pixel 6 Pro] majorfigjam:
Yes, it's still working.
[Google Pixel 6 Pro] Zaxx32:
Awesome! Ty!
[Google Pixel 6 Pro] mavrovelos:
I want my pixel 7 pro to charge until 75%. Is there a way to change the values, or to do something about it ?
[Google Pixel 6 Pro] Pixiz:
Literally everyone who is speaking about acc didn't try this simple module,

My main issue was activating the battery idle, no matter how hard I tried with acc just doesn't work

Seems like by settings the diffrence to 1% I'm stop and Start, it's get activated automatically
[Google Pixel 6 Pro] kylechen:
Regarding the battery health the 75% doesn't make too much sense, because 80% is pretty good for that already.

But you can easily use 7-zip to unzip the file, change the number in the script, and re-zip the file.
[Google Pixel 6 Pro] Arkl1ne:
Does it work for android 14?
[Google Pixel 6 Pro] snovvman:
Yes
[Google Pixel 6 Pro] x111:
is there a chance to make it work in kernelsu instead of magisk ?
[Google Pixel 6 Pro] nutzfreelance:
i tried 7zip to unzip and rezip and it error-ed out trying to install it in magisk

any special way to do it?

and can i do it on my device? with some other app ( like zarchiver)
[Google Pixel 6 Pro] andyxo:
Hi guys, I realize this is for Pixel 6 but I tried it out on my newly rooted Magisk Pixel 5 since there is nothing like this over in the Pixel 5 section but unfortunately it didn't work (I installed the 80%, rebooted, but then it charged right past 80). Since there is nothing like this over in the Pixel 5 section is there a way I can "mod" this 80% script in the original post to work with a Pixel 5? Thanks guys :)
[Google Pixel 6 Pro] majorfigjam:
Start by locating the equivalent fields to these in the P5, and then edit the service.sh in the zip:

/sys/devices/platform/google,charger/charge_start_level

/sys/devices/platform/google,charger/charge_stop_level
[Google Pixel 6 Pro] andyxo:
Hi & thanks for your reply. So do you mean search for "google,charger/charge_start_level" and "google,charger/charge_stop_level" on Pixel 5 using a something look a rootexplorer? Unfortunately my RootExplorere has been searching for hours and I can't find these file names. Ugh, I wish something could be made like this for Pixel 5... I would think there would be many but nothing...
[Google Pixel 6 Pro] majorfigjam:
These files exist in the P6P, but in P4A they're at

/sys/devices/platform/soc/soc:google,charger/charge_start_level

I no longer have a P5, but assume they must be there somewhere in your /sys/devices/platform tree
[Google Pixel 6 Pro] andyxo:
You're a good dude, majorfigjam. Got it working with Pixel 5 huzzah :) So after installing the module I charged it up from 40% and now currently it's just sitting here on my desk at 80 and the back is not warm like it's still charging so am assuming all is good.

So if any Pixel 5 owners come looking here that don't want to mess with ACC (like me, wow complicated) all I had to do was change the below two lines in service.sh :

echo 79 > /sys/devices/platform/google,charger/charge_start_level

echo 80 > /sys/devices/platform/google,charger/charge_stop_level

to (which I guess is same as Pixel 4a)

echo 79 > /sys/devices/platform/soc/soc:google,charger/charge_start_level

echo 80 > /sys/devices/platform/soc/soc:google,charger/charge_stop_level

​
[Google Pixel 6 Pro] Locoman_:
This works on Android 15 beta 4.
[Xiaomi Mi Mix 3 Questions & Answers] Gilles Van pellicom:
I was wondering if there is any way to get files of my mi mix 3 with a broken screen. There is no video and the digitizer might also be broken.

The internals are still fine since it charges, boots and connects to the wifi.

I don't have USB debugging enabled and the fact that my model can't connect to a USB hub to use a monitor and mouse doesn't make this easy.

Are there any options left to get some kind of access to my device without purchasing a replacement screen?
[Xiaomi Mi Mix 3 Questions & Answers] ze7zez:
Maybe yes or maybe not. Read first:

MI MIX 3 TEST POINT

www.tembelpanci.com
[OnePlus Nord 2 5G] suly77130:
hello sorry for my english I'm french, infact I tried to restore oos after rooting oos 12 which gave me a brick except that after flashing oos 11a.20 with mtk client my phone does not start even boot logo nothing i don't know what to do

bonjour désolé pour mon anglais je suis français, en fait j'ai essayé de restaurer oos après avoir rooté oos 12 ce qui m'a donné une brique sauf qu'après avoir flashé oos 11a.20 avec le client mtk mon téléphone ne démarre même pas logo boot rien je ne sais pas Que faire
[OnePlus Nord 2 5G] Coconut_cube:
Did you flash your A20 preloader backup as well? If not, then that's likely the cause of the problem you're facing.
[OnePlus Nord 2 5G] vczilla:
Also the phone needs to be restarted for it to get out of that pesky Brom mode.

( Vol up + power for at least 30 seconds ).
[Sony Xperia 5 III] patrickt:
I just got an Xperia 5III and my 5II is in a drawer. I was surprised at how different the operating system was on my new 5III compared to my 5II. There is one change that is negative. With the 5II if I was in an app and got a notification I could pull it down and read it.. With the 5III I can't. I have to return to the Home Page to pull down the notification. Is this just the way it is or did I screw a setting in my installation?

Other than that, I'm enjoying the 5III.View attachment 5690419
[Sony Xperia 5 III] Jaromos:
I actually haven't encountered this issue, so I'd suggest to search for a solution in settings menu
[Sony Xperia 5 III] patrickt:
Oh, golly, why didn't I think of that? I've looked at everything in settings, even settings that shouldn't be remotely related. That's why I thought I would ask here.
[Sony Xperia 5 III] anmolkakkar:
Could you share screenshot(s) of your issue and of what you used to see it in 5II for the same? It's a lil hard to imagine based on this. Additionally, it could also be how Android 12 is setup vs. Android 10/11 in 5II.

If we can indeed see what you are facing, maybe that will help us try to find a solution for it.
[Sony Xperia 5 III] patrickt:
I hate this. I'm a constant fiddler and this morning I fiddled with some settings in Google Messages. I was in shower when my reminder, from Google Calendar, came up. I waited till I got out of the shower, went to Google Photos on my 5 III, swiped down, and it worked. I went to my Oxford Dictionary and it worked, too. So, the problem that was irritating me is gone. AND I DON"T KNOW WHY!
[Touch HD General] AndyCr15:
Is this possible?

Settings -> Today -> Items and tick 'tasks', but when I come out, it shows nothing. I go back into settings and its unticked again.

I use the Tasks as my to do list, not to forget things, I miss not having it on my front page :(
[Touch HD General] Bl@ck:
unfortunately the tf3d disables the standard winmo home, so unless you don't remove the tf3d you can't use them :P

but probably there's some 3rd party program that can make them usable again.
[Touch HD General] donzx6:
You could use second today....Pretty sure it has support for tasks. Its free, just do a search on XDA_Devs
[Huawei Watch GT 3] anotheronemate:
found extra function in Voice Recorder for huawei watch, it records phone calls too :) good to have
[Huawei Watch GT 3] sebhautdebit:
Hi, i'm interested, how to please ?

tHANKSS
[Huawei Watch GT 3] wmm:
I am interested as well. There is no voice recorder built-in to the GT3, and the app gallery does not show one either. (I think there is for other watch models, but not for the GT3, perhaps because it doesn't have wifi, only Bluetooth?)
[Huawei Watch GT 3] sebhautdebit:
Bonne remarque, en espérant qu'une application puisse être installée.

Cdt

Mod translation:

Good point, hoping that an application can be installed.

cdt
[Xiaomi Mi 11] songforwhoever:
Hi all,

Xiaomi Mi11 running the latest software and having accelerometer issues.

The phone thinks it's upright when my phone is on its side (landscape) so when the phone is upright my apps want to rotate.

I've tried CIT and calibration but it's not helped. is this a known issue?

I had no issues until I tried out pixel experience ROM, didn't like it so flashed the original ROM back on. I've tried several different versions of the stock ROM and still had issues.
[Xiaomi Mi 11] songforwhoever:
Additional note. I got the correct stock ROM from the Xiaomi website and flashed it using their tool using full clean and flash m
[Nubia Red Magic 7] ken2dal:
Hi there people.

I've got the following issue. If anyone has this issue or has fixed it let me know.

Calls seem to be interfering with my mic. Sometimes my voice doesn't go to the other end even though normal call or whatsapp call. They might hear 1 word then nothing from me for a few seconds then a word or two and it sometimes sounds like a clicking noise.

I've called my self too and I can't hear anything on my RM7 but whoever I call can hear the clicking noise and sometimes nothing from me.

Sometimes I can't hear the other person too. It cuts out.

Same with normal calls and whatsapp calls.

Continuing my testing, I can send voice notes without issue and receive them and play it via rhe earpiece without issue too. Even voice recording and video recording the microphone does a good job only in calls it bugs out.

Continuing my testing

Works fine with headphones connected. But mic and earpiece work fine when used by voice notes and video ect
[Nubia Red Magic 7] shani_d_best:
I don't know if it's a coincidence or not but I have the same issue. It started around last week.

I cleaned my speakers and mic thinking I got dirt build up. But it's still the same.

It seems like a software issue. Looking at the patch notes in latest OS update (NX679J_UNcommon_V3.16) for me, they have listed "Repair: possible issues with calls in some scenarios". I don't know when they released the update and when I applied it to my phone but that could be the reason for this issue too.

After reading your post I tried regular calls with headphones, speakers and video call with Google meet. They all work fine.

For call on speaker, as soon as you turn the speaker off it starts acting up again.

Hopefully they will fix this issue soon.
[Nubia Red Magic 7] ken2dal:
From my testing it seems like its an app or something interfeering with the calls. I started the phone up in safe mode (no 3rd party apps only stock ones) and the issue was gone, so the issue is a app related issue, thinking its a virus I just reset the phone to factory and all is good now. I didnt find what was causing it.
[Nubia Red Magic 7] shani_d_best:
Thanks for an update.

I will play around a bit and if it doesn't work out then will do the same.