Comments (6)
I found the following new charging switches:
/sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:google,bms/power_supply/charger/charge_disable 0 1
/sys/kernel/debug/google_charger/chg_suspend 0 1
/sys/kernel/debug/google_charger/input_suspend 0 1
Pro tip: since the first matches .*/power_supply/.*
, it can be abbreviated as charger/charge_disable 0 1
.
Test command: acc -t [file] [on] [off]
e.g. acc -t charger/charge_disable 0 1
Set a working switch with acc -s chargingSwitch [file [on] [off]
e.g. acc -s chargingSwitch charger/charge_disable 0 1
from acc.
Yes, the next version will include these changes.
from acc.
Thank you! The first one works for me on the Pixel 4 XL. I haven't tried any of the others but I suspect they will as well. Can we expect this to be included in the next app update? Also, could you add the ability to add a custom switch in the app in the select switch popup?
from acc.
@VR-25 Now working on my Pixel 4 as well after trying the commands above. Thanks a lot!
from acc.
I have the same issue as the user above. I have a pixel 4 XL running the latest version of android 10 and after some testing it seems that none of the switches work which is why we are unable to get the service to do anything. After some digging i think its because the phone has different control files/missing ones so we just need to find one that works as a switch. Any ideas on where to start?
from acc.
Also same issue here. Pixel 4 XL.
from acc.
Related Issues (20)
- Deapply applyOnPlug on force charge HOT 1
- Proposal: If using voltage for stop/resume, and cooldown enabled, measure voltage during cooldown. HOT 1
- How to always charge 100%? HOT 3
- [Bug][acc pause_capacity resume_capacity] does not respect enforced charging switch
- Magisk default settings for ACC/AccA HOT 3
- Charge/Discharge Bug HOT 2
- Wrong charging status on Nothing Phone 2, exit code 7 HOT 3
- How know what switch is being used?
- Terminated error HOT 3
- Manual idle mode toggle HOT 3
- Option "Screen always on when charging" will stop working when ACC halts charging HOT 1
- /system/bin/sh: acc: inaccessible or not found HOT 3
- Constant audible "discharge_polarity set successfully!" notifications HOT 2
- Install hangs on install/uninstall.sh flock HOT 2
- some weird bug HOT 6
- dead link in readme HOT 1
- Install then unroot? HOT 3
- battery charges for a brief moment in idle mode HOT 2
- readme/config error in resume_capacity comment HOT 1
- Can't access acc from termux HOT 2
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.