Hello, does anybody have any idea how to set ACCA so it won't show charging icon, when connected¬ charging? I would like to see to be able to check when the phone has stopped charging during the night, exactly.
Run su -c acc -s cs=true on terminal.Hello, does anybody have any idea how to set ACCA so it won't show charging icon, when connected¬ charging? I would like to see to be able to check when the phone has stopped charging during the night, exactly.
After latest update, I now getRunning initial test on wireless charger provided
:/ $ su :/ # acc --test (!) Charger must be plugged to continue... (i) Alright, this may take a minute or so... (!) [/sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/mmi_charging_enable 1 0] won't work :/ #
That's one of the recently discovered charging switches.After latest update, I now get
[/sys/devices/platform/soc/socplus,chg_intf/oplus_chg/battery/mmi_charging_enable 1 0] works
- battIdleMode=false
Will see how it works tonight
$ su -c acc -s cs=trueRun su -c acc -s cs=true on terminal.
cs is short for capaciy_sync (more details in the readme).
I shall keep an occasional watch for the changes.Unfortunately, Android is a mess when it comes to standards.
Only a handful of devices/kernels actually offer fairly well defined intefaces for those features.
Nonetheless, I'm exploring ways of abstracting as many control interfaces as possible.
Keep an eye on release changelogs.
Thanks. Right now disabling and enabling online charging manually is what I oftentimes do.Meanwhile, as workarounds, you can disable/enable charging on demand with acc -d and acc -e, respectivelly - and limit the max charging current to 500 mA.
Acc -p came back with the following. Wireless charging is still charging to 100%. Seeing if latest update helped.That's one of the recently discovered charging switches.
There might be more, according to the output of acc -p.
:/ $ su
:/ # acc -p
/sys/class/qcom-battery/moisture_detection_en 0 1
battery/hwmon4/waiting_for_supplier 0 1
battery/cycle_count 0 1
battery/waiting_for_supplier 0 1
wireless/hwmon7/waiting_for_supplier 0 1
wireless/waiting_for_supplier 0 1
usb/hwmon6/in0_input 0 1
usb/hwmon6/waiting_for_supplier 0 1
usb/waiting_for_supplier 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,common-charge/oplus_chg/common/camera_on 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,common-charge/oplus_chg/common/chg_enable 1 0
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,common-charge/oplus_chg/common/ship_mode 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,common-charge/oplus_chg/common/waiting_for_supplier 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/chg_enable 1 0
/sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/cycle_count 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/waiting_for_supplier 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/battery_notify_code 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/deviated 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/chg_enable 1 0
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/trx_power_vol 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/rx_power 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/batt_chg_enable 1 0
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/adapter_type 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/factory_mode 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/waiting_for_supplier 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/tx_power 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/fod_cal 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/trx_power_en 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/quiet_mode 0 1
/sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/adapter_sid 0 1/sys/devices/virtual/devlink/f000000.pinctrl--soc:qcom,pmic_glink:qcom,battery_charger:oplus,pm8350b_typec/sync_state_only 0 1
/sys/devices/virtual/devlink/f000000.pinctrl--soc:qcom,pmic_glink:qcom,battery_charger:oplus,pm8350b_typec/waiting_for_supplier 0 1
/sys/devices/virtual/devlink/c440000.qcom,spmi:qcom,pm8350c@2:pinctrl@8800--soc:oplus,chg_intf:oplus,wireless-charge/sync_state_only 0 1
/sys/devices/virtual/devlink/c440000.qcom,spmi:qcom,pm8350c@2:pinctrl@8800--soc:oplus,chg_intf:oplus,wireless-charge/waiting_for_supplier 0 1
/sys/devices/virtual/devlink/f000000.pinctrl--soc:oplus,chg_intf:oplus,wireless-charge/sync_state_only 0 1
/sys/devices/virtual/devlink/f000000.pinctrl--soc:oplus,chg_intf:oplus,wireless-charge/waiting_for_supplier 0 1
/sys/devices/virtual/devlink/c440000.qcom,spmi:qcom,pm8350c@2:pinctrl@8800--soc:qcom,pmic_glink:qcom,battery_charger/sync_state_only 0 1
/sys/devices/virtual/devlink/c440000.qcom,spmi:qcom,pm8350c@2:pinctrl@8800--soc:qcom,pmic_glink:qcom,battery_charger/waiting_for_supplier 0 1
/proc/charger/hmac 1 0
/proc/charger/passedchg_reset_count 0 1
/proc/tbatt_pwroff 1 0
/proc/touchpanel/charge_detect 0 1
/proc/touchpanel/wireless_charge_detect 1 0
:/ #
/sys/devices/platform/google,charger/charge_start_level:100
/sys/devices/platform/google,charger/charge_stop_level:0
Same. I'm interested and want to learn how to setup ACC the best for my P6P...I'm curious if anyone has had success with this on the Pixel 6. I read this on the acc github but I'm not sure how to make use of that in the configuration (I'm a noob with this module/config app).
You can place those lines into a file (e.g., acc -p /sdcard/my-list.txt) and run acc -t /path/to/file to test all.Acc -p came back with the following. Wireless charging is still charging to 100%. Seeing if latest update helped.
Code::/ $ su :/ # acc -p /sys/class/qcom-battery/moisture_detection_en 0 1 battery/hwmon4/waiting_for_supplier 0 1 battery/cycle_count 0 1 battery/waiting_for_supplier 0 1 wireless/hwmon7/waiting_for_supplier 0 1 wireless/waiting_for_supplier 0 1 usb/hwmon6/in0_input 0 1 usb/hwmon6/waiting_for_supplier 0 1 usb/waiting_for_supplier 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,common-charge/oplus_chg/common/camera_on 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,common-charge/oplus_chg/common/chg_enable 1 0 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,common-charge/oplus_chg/common/ship_mode 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,common-charge/oplus_chg/common/waiting_for_supplier 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/chg_enable 1 0 /sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/cycle_count 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/waiting_for_supplier 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/oplus_chg/battery/battery_notify_code 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/deviated 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/chg_enable 1 0 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/trx_power_vol 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/rx_power 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/batt_chg_enable 1 0 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/adapter_type 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/factory_mode 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/waiting_for_supplier 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/tx_power 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/fod_cal 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/trx_power_en 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/quiet_mode 0 1 /sys/devices/platform/soc/soc:oplus,chg_intf/soc:oplus,chg_intf:oplus,wireless-charge/oplus_chg/wireless/adapter_sid 0 1/sys/devices/virtual/devlink/f000000.pinctrl--soc:qcom,pmic_glink:qcom,battery_charger:oplus,pm8350b_typec/sync_state_only 0 1 /sys/devices/virtual/devlink/f000000.pinctrl--soc:qcom,pmic_glink:qcom,battery_charger:oplus,pm8350b_typec/waiting_for_supplier 0 1 /sys/devices/virtual/devlink/c440000.qcom,spmi:qcom,pm8350c@2:pinctrl@8800--soc:oplus,chg_intf:oplus,wireless-charge/sync_state_only 0 1 /sys/devices/virtual/devlink/c440000.qcom,spmi:qcom,pm8350c@2:pinctrl@8800--soc:oplus,chg_intf:oplus,wireless-charge/waiting_for_supplier 0 1 /sys/devices/virtual/devlink/f000000.pinctrl--soc:oplus,chg_intf:oplus,wireless-charge/sync_state_only 0 1 /sys/devices/virtual/devlink/f000000.pinctrl--soc:oplus,chg_intf:oplus,wireless-charge/waiting_for_supplier 0 1 /sys/devices/virtual/devlink/c440000.qcom,spmi:qcom,pm8350c@2:pinctrl@8800--soc:qcom,pmic_glink:qcom,battery_charger/sync_state_only 0 1 /sys/devices/virtual/devlink/c440000.qcom,spmi:qcom,pm8350c@2:pinctrl@8800--soc:qcom,pmic_glink:qcom,battery_charger/waiting_for_supplier 0 1 /proc/charger/hmac 1 0 /proc/charger/passedchg_reset_count 0 1 /proc/tbatt_pwroff 1 0 /proc/touchpanel/charge_detect 0 1 /proc/touchpanel/wireless_charge_detect 1 0 :/ #
I'm curious if anyone has had success with this on the Pixel 6. I read this on the acc github but I'm not sure how to make use of that in the configuration (I'm a noob with this module/config app).
It mentions:
Code:/sys/devices/platform/google,charger/charge_start_level:100 /sys/devices/platform/google,charger/charge_stop_level:0
I'm confused on how to create the commands to set this up. It's clearly a "acc -s" command, but where does the "charger/charge_start_level:100" go? I'm assuming "/sys/devices/platform/google" is the switch file?
The general rule of thumb is updating things only if you absolutelly need to.Should I update the Magisk module even though I'm using the AccA or should I only update the AccA through the apk?
Last update for AccA was from a few months ago while the Magisk module was just last updated back in the 1st week of November.
After testing, I found the following 2 reporting "works" on my OP9.You ca
You can place those lines into a file (e.g., acc -p /sdcard/my-list.txt) and run acc -t /path/to/file to test all.
Perhaps you may want to filter the output a bit - i.e., remove lines that don't remotely resemble a charging switch.
Sometimes, certain lines may trigger a reboot. ACC remebers to skip those next time, so that one can continue testing by simply running the same command again until all lines get tested.
To set switches, run acc --set charging_switch="file on off file2 on off --"After testing, I found the following 2 reporting "works" on my OP9.
sys/devices/platform/soc/socplus,chg_intf/oplus_chg/battery/chg_enable 1 0
/sys/devices/platform/soc/socplus,chg_intf/socplus,chg_intfplus,wireless-charge/oplus_chg/wireless/batt_chg_enable 1 0
For each, I entered acc -ss /path/to/switchabove.
Ill see of it works nay better.
Ran again with a better usb charger and found another working switch. Applied first and third. Now Daemon is back to stopping while charging. Both with battery idle mode=true cause the daemon to stop almost immediately after starting charging.To set switches, run acc --set charging_switch="file on off file2 on off --"
As you can see, more than one switch can be set at once, but most of the time, one is enough. The trailing " --" ensures the switch is not unset if it fails (i.e., prevents falling back to "automatic")
acc --set charging_switch= can be shortened for faster typing: acc -s s=