yashsingh1/xdaforums huggingface dataset:
[Magisk] maxkolonko123:
I thought OnePlus 6t is compatible with acc and I'm just on stock not custom rom

---------- Post added at 11:43 PM ---------- Previous post was at 11:41 PM ----------

OK gonna a give it a go now and see if my phone will charge with app if not then I suppose can't make it work, but it's really odd cause for me it looks like there is something set that phone won't charge battery discharge will reach certain level, so probably if I could adjust that then the problem should be solved

---------- Post added at 11:59 PM ---------- Previous post was at 11:43 PM ----------

Ok so good news module with app works fine, I mean now my phone charge whenever I plug the charger, the battery stats are same as on phone bar so there is no issue here like someone had this issue few posts back.
[Magisk] Ryakna:
I tried to blacklist the kernel wakelock that is keeping the system awake after pausing charge by writing in the acc.conf:

wakeUnlock=c440000.qcom,spmi:qcom,pmi8998@2:qcom,qpnp-smb2

However, it is being ignored and after pausing the wakelock is still keeping the system awake.
[Magisk] melphoi:
What command should I type if I want the phone to not able to charge if it not yet reach 20% and then stop the charging when reach 80%?

I used the ACC app, the daemon is running, but it still able to charging freely, and able to pass 80%

Kindly advice and thank you
[Magisk] Demodroid:
capacity=0,101,20-80

Put that in your config.txt
[Magisk] Macusercom:
Is it normal that upon reaching the max percentage it stops charging, starts charging for maybe halb a second and then stops completely?

Maybe related to the auto detection of the charging switch?
[Magisk] VR25:
A Stable Release

A lot of bugs were killed.

There are many new and useful features.

https://github.com/VR-25/acc/releases/tag/201907180

Note: this is NOT compatible with AccA 1.0.11-; a new version of the app will be up soon, with a major new feature.

P.S., please read the updated documentation: https://github.com/VR-25/acc/blob/master/README.md

Most questions whose answers are already documented will no longer be answered again here.

EDIT

The app is up: https://github.com/MatteCarra/AccA/releases/tag/v1.0.12
[Magisk] lm089:
Many thanks to both of you for the updates. This is indeed a great new feature!

Found a minor bug in acca: opening the 'log' view results in just one entry at the bottom of the page:

tail: not integer: -F

UPDATE: the above behaviour so far only happened on my Xperia TabletZ, but not on my OP6
[Magisk] BostonDan:
Still having issues with all the latest releases (ACC and ACCA APK). I still have a difference of over 10% between my status bar battery and that reported in ACCA.

Also, the profile selected does not stay highlighted (green bar on the left hand side) between apps opening in ACCA.

Please do not take these as criticisms. I am only trying to help identify bugs and issues to help improve ACCA.

Cheers,

B.D.
[Magisk] LoneWolfz:
Latest version doesn't work properly on my device once i installed the latest version it keep telling me installation failed in Magisk however in the Acc App It keep installing whenever i open the app

Also i rebooted my device several times the results are the same...

Device Huawei Mate 10 Lite

Android 8.0
[Magisk] jiajialing:
Installed new zip (20190718) from magisk, and installed new apk (1.0.12)

when open the apk, it keeps telling me installing failed, back to magisk, found module been removed.

Android Q beta5, magisk beta 19.3

back to old one, work fine

tks
[Magisk] JV Spartacus:
Its written in the description that it won't work with ACCA app
[Magisk] jiajialing:
I thought it wont work with old apk

ive already update to new apk, still doesnt work
[Magisk] lm089:
It's not working with ACCA V 1.0.11, but it does with the updated V 1.0.12

---------- Post added at 12:06 ---------- Previous post was at 12:00 ----------

noob question alert regarding 'acc -L':

just tried that command one one of my devices, works fine (juast as it does from ACCA). Noob question: how do I get out of the continous log in my device's terminal window? Tried various and random commands that came to my mind like 'exit' or 'quit' or ':q' but no reaction. In this mode terminal doesn't accept special keys like 'Vol-Up' or whatever.... (I'm using Jack Palevich's Terminal Emulator, btw)
[Magisk] S2_fa_007:
Normally it's CTRL + C, depends how your terminal app simulates CTRL.

Gesendet von meinem ONEPLUS A5000 mit Tapatalk
[Magisk] aryaherro:
I have problem,

Uninstall acc app(1.0.11)..

Update acc from magisk,, restart..

Install lastest acc app.. And in magisk, acc module was removed Automatically
[Magisk] Noru29:
Exactly the same problem:

ACCA 1.0.12 installed after updated the script from Magisk.

Reboot... no more script but ACCA is working well, ACC Daemon is Running and Profile is lauch... really strange but doesn't seem really serious.
[Magisk] oseiasrodrigues0:
The acc works on galaxy s gts7582l rom aop 7.1.1 ?
[Magisk] wilsonhlacerda:
Do a backup, try it and let us know! ?

Having MM module just in case is also a good idea. (From same dev of ACC)
[Magisk] oseiasrodrigues0:
I already sent the log to the dropbox and I wanted to know if it is possible for this device

---------- Post added at 01:16 PM ---------- Previous post was at 01:11 PM ----------

the magisk modules worked fine on this device just wanted to know if it is possible to control the battery charge because it is an old smartphone
[Magisk] lm089:
ACCA 1.0.12 works differently from all previous versions in that it automatically updates acc. Means: you don't have to update acc through Magisk but simply install acca which should then also update acc. At least that's what it says, and that's what happened on all three of my devices. We'll see what will happen with future releases
[Magisk] Macusercom:
For some reason "acc -s r" doesn't seem to work on 2019.7.18. It doesn't reset or change the config anymore.
[Magisk] maxkolonko123:
Hey guys I have same issue again now on my op6t with charging, today baterry was on 15% tried to charge and it wasn't charging till I choose in acca " charge once with low or zero restrictions" then started charging.

In profiles I have highlited charge to 90% btw
[Magisk] BostonDan:
Again, showing battery as 100% on latest ACCA, but 53% in status bar. Latest versions of acc and ACCA. Thus, will not charge phone.

Cheers,

B. D.
[Magisk] maxkolonko123:
Try to charge with selecting " charge once with low or zero restrictions" and see if charge then
[Magisk] DuskGolem:
I don't know whether my problem already has been solved or not but since I couldn't find anything so..... [MENTION=5228676]VR25[/MENTION] man the latest update is still causing the same issues on my Galaxy A8 (SM-A530F). Can you please take a look into this problem. I am attaching my previous logs (page 208) and latest logs for latest update. Kindly solve this, please....

P.S: I also noticed that after restarting the phone, the ACC daemon does not start on its own, although the app says to wait for 30 sec but it does not start regardless of the 30 sec time or more.
[Magisk] olivrd:
check out the new bugfix release, works perfect (sony xperia xa2 with los16)
[Magisk] lm089:
Thx, my mistake: it's <vol down> + C, and usually the emulator shows me if I hit one of the <vol> keys. Here it doesn't, so I thought it was ignored, but it's working fine
[Magisk] ChingghisKhan:
Enable or disable wakelock

Hi,

I disabling a wakelock works with this command:

acc -s wakeUnlock WAKELOCK_a600000.ssusb

Which command do I need to re-enable the wakelock, please?

Thanks
[Magisk] DuskGolem:
Well it still doesn't work, on installing the module and rebooting, my battery percentage droped from 91% to 78% immediately. For the next five hours or so, the battery droped to 65%. Now when I uninstalled the module, the battery percentage went up again to 78%. How f*ckin' weird. Maybe the module is not the problem, maybe samsung f*cked up something?
[Magisk] yangyangyanglei:
thank you
[Magisk] lxNightxl:
How to change the settings?

I install this module and what? Where is icon of application, how to operate, how to understand that module is working or not?
[Magisk] wilsonhlacerda:
Read, at least, OP. Good also 5, 10, or more, previous pages of the thread just before your post.
[Magisk] lxNightxl:
Yes I checked, people showing picture from the screen some program, but I don't have that program. I install script from magisk manager and no have program.... What I have to do?

FYI:also checked 1st topic and no found any FAQ with my problem or instruction
[Magisk] maxkolonko123:
Uninstall module in magisk and just download lastest accu app and that's it
[Magisk] DuskGolem:
Any samsung galaxy user with stock pie rom using this module? I have done everything I can but couldn't make it work on my galaxy A8 SM-A530F with stock pie rom rooted with magisk 19.3. Not even the latest build works.

Problems are;

1) extreme battery drain soon after installation (without rebooting).

2) battery percentage not being shown correctly neither in-app nor the status bar.(shows 20% less battery than the actual value without the module)

3) Installing module first, rebooting and then installing the ACCA app removes the module itself completely.

4) setting charge and pause threshhold doesn't matter even if manually editted in text editor. Phone randomly starts charging and randomly pauses the charging:confused::confused::confused:

[MENTION=5228676]VR25[/MENTION] brother atleast point me to the post or the section of guide where the solution to this problem is present. I have been using this module since day 1 (was using Xperia Z5 Premium at that time). I remember having just one problem in the past with the tasker integration but even that was optional and was not the only path to use this module. Now I am completely out of luck...
[Magisk] lxNightxl:
Uninstall module from magisk, download acc-201907211.zip, install from recovery and where is the program? ( no have

Maybe problem with phone, I have one plus 3t lineage os, android 9 + root, maybe not sipported

---------- Post added at 03:46 PM ---------- Previous post was at 03:24 PM ----------

Where u download app? In Google play no have
[Magisk] DuskGolem:
The github link in the first post. It is the documentation for using this module and at the end there is the link to download apk...
[Magisk] lxNightxl:
Del

---------- Post added at 04:02 PM ---------- Previous post was at 03:58 PM ----------

Thank you very much, not every think is OK, please update 1st topic
[Magisk] DuskGolem:
Dude, I am not a moderator for this thread, VR25 is, he may be busy, I am sure he will update it as soon as he finds time....
[Magisk] maxkolonko123:
next time just read few posts back cause it was about it, literally not further then 5 pages ago, with links etc, i just think u are a lazy git buddy
[Magisk] Syamsyung:
Delete
[Magisk] MuhAfifuddin14:
okay i have some problem, last time i set the battery voltage max to 4.2v... but when i set the battery voltage max to default, it doesn't make any change, the battery voltage max is still limited to 4.2v... what can i do?
[Magisk] lm089:
This is a bit like asking "Last time I wanted to use my phone I couldn't. What can I do?" ;)

Please try to be specific: what exactly did you do, did you use the app or did you use terminal commands? What's in your acc config now? Which version of acc and/or acca are you using? etc.
[Magisk] MaXi32:
The description: ACC is primarily intended for extending battery service life. On the flip side, the name says it all.

When developing script or solutions, people need to have reason why we need to use this? What is the problem with the existing battery management? It doesn't matter that we don't see the UI but we need to understand why we need this ? How does it extend battery life?

I hope to see the problem statement in the documentation because I don't understand how it works (I'm also a developer). Because without problem statement, the best way to understand how the script work is to go through all the codes you have published on GitHub.

Note that, the first thing I did before commenting here is reading all the docs on github. The doc is too technical for end users.
[Magisk] MuhAfifuddin14:
I set the voltage max using acca, but once i set it back to default (disable voltage limit in acca), the voltage is still limited to what i set before, even i checked it with terminal command "acc -v", it says the voltage max already set to default,..., I haven't change anything in my config except the voltage. i'm using latest version of acc downloaded and flashed via magisk, and latest acca from github.
[Magisk] lm089:
what you could try to do is make a copy of your current acc configuration (\data\adb\acc-data\config.txt). Alternatively you could also issue 'acc -s' through terminal, that lists all config items and their values.

Next you can try to reset config using 'acc -s r'. Again check what has changed.

To set a new value you could also use terminal (see documentation, section 'terminal commands').

Please note that voltage limitation apparently is not supported on all devices; I have at least one device where setting a limit is simply ignored.

Good luck

---------- Post added at 15:40 ---------- Previous post was at 15:23 ----------

There used to be some explanation in the OP but I can't find it anymore; it's still in the project's README.MD.

Towards the end of the file there is a link list whaere you find a linked reference to the Battery University (no, I didn't read all this; as you wrote: too technical). The basic idea is that there are several factors that can shorten a Li based battery's life. So, if you treat the battery nicely there's a good chance that it lives longer. I'm no expert here, but I know that one such factor is overheating the battery. Another one is frequently charging it to 100%.

You can very well look after your battery just like that following some basic rules. The acc module helps you doing this.
[Magisk] lxNightxl:
One plus 3t I choose default profile "charging up to 90%". Phone charging up to 90% and after that every 10 sec start charging and after 10 seconds stopping, during this screen is always on, if keep charging - phone slowly slowly start and stop charging up to 100%)oxygen OS, android 9
[Magisk] locolyric:
hi , acc running well on my phone but i do have issue on my kindle fire hdx 7, using aex nougat . after installation, i usee acca app to check status, the status turn red after i enter the main screen, try to restart the daemon and it switch on and off again.

What should i do next?
[Magisk] ocenyx:
This.

This is practically the only thing that prevents me from fully enjoying this mod.

It's great that it now works somehow, but I hope it becomes possible in the future to have this as a built-in feature as well, or a separate module, at the very least.

Thanks OP for sharing this fantastic mod ??
[Magisk] marian daciu:
Hi,I wonder if you could make possible for us, owner of OnePlus 3 phone, swapping an higher battery capacity on our phones. It's some software limitations from OnePlus side on Android 9.

Sorry for my language,and I will be happy from your answer.
[Magisk] ocenyx:
Just throwing in some help for those who want to take advantage of this module's "cooldown" feature.

If your ROM does not support preventing the screen from waking after charging stops/starts, then this macro will do it instead. Macrodroid required.

You guys can get the actual macro here: http://www.macrodroid.com/macrostore?id=1911

Day 2, and I am now able to fully enjoy this macro's cooldown feature. Loving it!
[Magisk] Bortex19:
The link doesn't work
[Magisk] glavinstone:
https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid
[Magisk] dd805bb:
Tried this on my pixel 3 XL on beta 5 q, it does what it says.. But also uses a lot of battery in the background when not in use. I looked for a switch like automation for unplugged and plugged in. Didn't find one. That would be nice if it had that, because if I turn it off battery life back to normal. If I leave this running I shave off at least 4 hrs for 80 percent charge. I usually get a 16-18hr run in my phone. With this i get 10-12hr on. And reference is from also an 80% charge. It does what it says and also tried out the app. Editing charge file and app work great too, just the extra eating of battery life is what I don't like. And only know this from trial and error with this mod for a few days now.
[Magisk] Bortex19:
Thank you, it works perfectly!
[Magisk] skeeter123:
Sorry for being so dense, but how did you set it up?
[Magisk] loulondono:
Can some one please help me uninstall this it just doesnt work as it's supposed to, I've tried using it and configuring it for a fortnight now and it still just didn't work and just kinda makes the wadi I used to charge my phone impossible because no configuration can change the quick charger. Thanks
[Magisk] lxNightxl:
It's very easy, just try. Don't wait always instruction man

---------- Post added at 07:46 PM ---------- Previous post was at 07:45 PM ----------

Same problem, if u have quick charge this program not working as must be. How to Uninstall correct?
[Magisk] skeeter123:
just as soon as I'm done with this 48-hour shift, I'll jump right on it. Thanks for the help.
[Magisk] loulondono:
Ye I just can't seem to do it, nothing I try works
[Magisk] bogomi6:
Thank you for this app!

My Acca settings for Xiaomi Mi6 (Aosp based rom, please test and report for other roms/MIUI):

Set "Stop charging at`: `101`

This disables charging switch based on capacity. We use switch only for temperature control.

Set charging voltage control file: `battery/voltage_max`

Set charging voltage max (mV): `4100` (300mV down from 4400mV default for Mi6 Li-Po battery)

This simple setting limits charging current to ~1500mA, limits charging capacity to ~74% and causes internal charging controller to pause charging at 4100 mV without turning off line supply (very good, since we don't have battery idle mode).
[Magisk] Fouladi:
when charging shows negative values for charging speed.

redmi 4x (santoni)
[Magisk] PhAnTøMmJ:
Idk why! But after installing the recent version , charging of my phone has stopped or something like that. Please let me know what is the problem
[Magisk] The War Profiteer:
Thanks for the app. Despite the bugs I have been facing with the ACC, I've fully translated AccA on crowdin.com, to Turkish language. Thank you for your cool project, and the app developer. I'll be checking crowdin every day to get it fully translated.
[Magisk] rybshik:
"voltage_max" vs "voltage_max_"

On my Moto G6 Oreo, I have 3 files, which contain the followings settings:

/sys/class/power_supply/battery/voltage_max 4400
/sys/class/power_supply/battery/voltage_max_ 4400000
/sys/class/power_supply/battery/voltage_now 4033637

I am wondering about "voltage_max" vs "voltage_max_". Which one does actually set the charging voltage?
[Magisk] shayanb2004:
The module has a problem with GSI Roms

it runs as a magisk module but in the middle of charging it changes its state

stops charging and changes the battery's status from "good" to "undefined"
[Magisk] pepit0grillo:
how does this module determine which switch is suitable for the smartphone? there are a lot of files in my phone matching the same switches names, but how does the module know if it is safe to modify that file?
[Magisk] Scottjerbi:
Learn to read
[Magisk] olivrd:
love this module so much since it's so simple and practical to use (and of course, healthy battery), so thank you devs!!!

but after a month of usage, i can confirm that both, the magisk module and the acca app, are draining the baterry. i haven't detailed it with a battery usage app, but it's obvious - overnight standby uses 7-8 percent, and 1-2 percent without the service running.

i use the the default config with lineageos 16 on sony xperia xa2.

i've used tasker before for turning on and off the battery switches and reset stats on a desired battery level, but this is so much more convenient.

just my feedback. keep up the amazing work and thank you for sharing this with us!

br,

o
[Magisk] pepit0grillo:
Hi, I have trying to make this module work with a OnePlus 7. Switches only allow to cut off power from charger, but not drawing power from charger (without charging the battery). This is the most important scenario for me, as I would like not to charge the battery while I am developing (phone connected to PC) or using it as a GPS (while powering with an external source). I have tried with a lot of sys files, but I can't get with it.

Is it possible for developers to try to figure it out, please? I would donate for it.

Regards and congratulations for your job.
[Magisk] Droid_JD:
It's my understanding that what you're describing is device and kernel specific, has nothing to do with the app/module developer.

I have a 6T now and would love this feature too, but I don't think the device supports it. My pixel XL did, and I'm using the same rom (los16) and kernel (Franco), but the "battery suspend" feature doesn't work on a 6t.
[Magisk] bitye:
Can somebody suggest profile for Xiaomi Pocophone F1? 4000mAh Li-Po battery?
[Magisk] VR25:
Run:

acc -v battery/voltage_max_:4100

acc -v battery/voltage_max:4100

The outputs will tell you whether or not these files work.
[Magisk] pepit0grillo:
Hi, isn't it dangerous to test voltage settings? I think, maybe setting a high voltage could damage the device for ever. :confused:
[Magisk] VR25:
ACC will refuse setting voltage values outside the 3500-4350 millivolts range. That range is well within the safe limits of all relatively modern to the latest Android smartphone batteries. Invalid/non-numeric/non-integer values are also blocked.
[Magisk] pepit0grillo:
Oh, thanks.

Do you mean that, using voltage control files could used as if our device supports battery idle mode?
[Magisk] VR25:
If "acc -t --" says that your device doesn't support "battery idle mode", but it does allow you to control the charging voltage - you can use the charging voltage control file as if it were a charging switch file. When this workaround fits, you get to enjoy "battery idle mode" as a side benefit.
[Magisk] pepit0grillo:
That's great news, as my device do not support battery idle mode. However, my device do not support charging voltage too :(

Damn OnePlus!
[Magisk] Droid_JD:
Anyone able to get battery idle mode or voltage limiting to work on a OnePlus 6t?

The pause/resume works fine, but the limiting would be better.

Kinda wondering what phone the preceding poster has...
[Magisk] bitye:
I tried to install in recovery and Magisk both failed, acc -u dev also not works. Any suggestion? I am on 0721 now.

Update: Ok, redownloaded and magisk worked, possible crc issue was.
[Magisk] bitye:
Please confirm if this normal with new prerelease