VR-25 / acc

Advanced Charging Controller
https://github.com/Magisk-Modules-Repo/acc
GNU General Public License v3.0
1.72k stars 108 forks source link

Dual-cell models recognize the wrong (half) current value #266

Open tp20c5 opened 1 month ago

tp20c5 commented 1 month ago

Model: Moto Razr 50 Ultra Android version: Android14, MyUI7.0 ACC version: v2024.6.2-rc,any installation method Other settings: charging_ switch="/sys/class/qcom-battery/wireless_boost_en 0 1 --" //Because the default charging switch doesn't work. batt_status_workaround=false //Because of the battery polarity is misrecognized by default. Charging optimization and overcharge protection that comes with the system

Folding models such as the moto razr50 have two battery cells, resulting in the acc reporting current always being half of what it actually is. acc-logs-arcfox_2024-08-02_14-50-24.zip

tp20c5 commented 3 weeks ago

Got it. To double the battery count, set it this way af=500000 Screenshot_20240822-120139_AccuBattery

tp20c5 commented 3 weeks ago

But the charging switch is still not stable, especially when using wireless charging (even a slow charge)

There are three instances of instability:

  1. occasionally it won't stop charging; (setting fo=true fixes this)
  2. it should stop charging, and it seems to be a very small trickle, the capacity barely changes, but the body gets seriously hot;
  3. or after pausing charging for a while, it automatically restarts charging at full power again.

There are normal conditions: Capacity pauses to change, even though the charging cradle shows it's working or not working, and the phone temperature is normal

Conditions for recurrence of unstable situations: The 2nd and 3rd bad conditions occur with less obvious regularity and may suddenly become better or suddenly worse. It seems that the first charge after each restart of the phone will be normal with a high probability.

And “charger/online 1” here always seems to show a connected charger? Does it have an effect on the above question.