Comments (8)
ACC changes the charging switch when it fails to disable charging.
That settings was never meant to be static.
There are a couple of reasons for this behaviour.
The main is that different power supplies may use distinct charging switches.
A notable example is wireless charging.
It often requires its own switch.
Another reason is that some switches are not always reliable (i.e., fail to disable charging under certain conditions - e.g., screen off, capacity above a certain threshold and so on).
Thus, ACC responds accordingly.
from acc.
I'm having the same issue. battery/charging_enabled
works just fine for me, but acc -t
and even acc -t 30
disagrees. When I hit my maximum charge level, accd starts checking for a working switch (even after I've explicitly set it), doesn't find one, gives up, and exits.
I propose an option to disable this auto-switching functionality since acc apparently has trouble correctly detecting working switches on some devices, and the current behavior of giving up and exiting without notifying the user in any way should be improved somehow. I tried this module several months back, saw it did nothing, and immediately uninstalled. Same thing with ACCA -- installed, saw it did nothing, saw "daemon stopped", restarted it, saw "daemon stopped" again after hitting my charge limit again, and immediately uninstalled. Great intentions with the auto-switching functionality, but very, very poor user experience when things don't go as planned.
from acc.
I have it set to stop charging at 85% but the charge switch switches to automatic and the acc daemon stops. This is tricky because on my pixel4, only charger/charge_disable 0 1
works as expected.
I can't upload the log from smartphone, I'll upload it later.
from acc.
from acc.
Install today's version and share the output of acc -t
, along with a fresh log archive (acc -le
).
from acc.
The latest log.
acc-logs-flame.tar.gz
from acc.
# charging_switch (s) #
# If unset, acc cycles through its database and sets the first working switch/group that disables charging.
# If the set switch/group doesn't work, acc unsets chargingSwitch and repeats the above.
# If all switches fail to disable charging, chargingSwitch is unset, switchDelay is reverted to 1.5 and acc/d exit with error code 7.
# This automated process can be disabled by appending "--" to "charging_switch=...".
# e.g., acc -s s="battery/charge_enabled 1 0 --"
See if this helps (v2020.7.22+).
from acc.
I added --
and ran it a few times and it works fine. Thanks.
from acc.
Related Issues (20)
- Battery jump between idle and charging during idle mode HOT 4
- How exactly does native battery idle mode work? HOT 1
- nexus 10 (manta) failed to install acc HOT 1
- Update app on F-droid or upload to IzzyOnDroid HOT 1
- Fast charging & Mar 2024 update HOT 6
- Pixel 5 Idle Configuration Help HOT 4
- Redmi 7 issues HOT 6
- resetBsOnPause and resetBsOnUnplug not working on Pixel 8 / Android 14 HOT 1
- Charging Does Not Stop At Pause Capacity HOT 9
- Battery is slowly draining with Idle mode enabled HOT 10
- Xiaomi Poco X4 Issues HOT 1
- v2024.4.7-rc fails with segfault HOT 15
- Charge % limit not working with wireless charging on OnePlus 12 HOT 4
- Pixel 6 latest version intermittent charging HOT 3
- damon stopped with exit code 1 pixel 8 A14 HOT 13
- "Charge once" becomes permanent until restarting acc HOT 3
- Can you add support for APatch? Installation failed in APatch. HOT 1
- acca crashes with latest build HOT 2
- OnePlus 9 Pro
- Nothing phone 2a HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acc.