acc icon indicating copy to clipboard operation
acc copied to clipboard

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

Open tp20c5 opened this issue 1 year ago • 2 comments

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 avatar Aug 02 '24 07:08 tp20c5

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

tp20c5 avatar Aug 22 '24 04:08 tp20c5

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.

tp20c5 avatar Aug 22 '24 04:08 tp20c5

charger/online always 1 is misleading, but it's irrelevant anyway.

Try the new build with the stock config (batt_status_workaround=true and everything else default). I also added charging switches.

acc_v2024.12.15.1-rc_202412151_1917.zip

VR-25 avatar Dec 15 '24 18:12 VR-25

charger/online always 1 is misleading, but it's irrelevant anyway.

Try the new build with the stock config (batt_status_workaround=true and everything else default). I also added charging switches.

acc_v2024.12.15.1-rc_202412151_1917.zip

Thanks for the reply. It doesn't test well after upgrading though (have restored all default parameters via acc -sr a), with or without charging the battery state while charging changes between 'charge', 'idle', ' discharge', with logs acc-logs-arcfox_2024-12-16_16-53-29.zip

And the current values seem to be farther off, then I set it to af=250000 to barely look close to the current values found by other tools.

tp20c5 avatar Dec 16 '24 09:12 tp20c5

The current is farther off because of a recent change that can easily be reverted. Manufacturers keep messing things up. I'll take a deeper look at the logs.

VR-25 avatar Dec 17 '24 16:12 VR-25

Keep testing with batt_status_workaround=true. wireless_boost_en 0 1 is now built-in. acc_v2024.12.17-rc_202412170_1821.zip

VR-25 avatar Dec 17 '24 17:12 VR-25

Keep testing with batt_status_workaround=true. wireless_boost_en 0 1 is now built-in. acc_v2024.12.17-rc_202412170_1821.zip

Tried again, and not good yet -_-

The auto switch is failing, charging won't stop as expected, and manually setting the switch to wireless boost en doesn't work anymore. With bsw=true. So I really doubt that the problem is caused by abnormal current value detection. acc-logs-arcfox_2024-12-19_18-22-22.zip

Returning to version 6.2 with the following parameters works stably, just not controlling wired charging. acc_config6.2.txt

tp20c5 avatar Dec 19 '24 13:12 tp20c5

acc_v2024.12.21-rc_202412210_1349.zip

This fixes the issue with batt_status_workaround=true. Try a full switch test.

VR-25 avatar Dec 21 '24 12:12 VR-25

acc_v2024.12.21-rc_202412210_1349.zip

This fixes the issue with batt_status_workaround=true. Try a full switch test.

Tested it some days and it's much better than the first two versions. Wired charging ok, 15W wireless (actually 20W+, higher than before) charging to pause occasionally gets very hot, and there have been a couple of “exit code-7” when charging has been suspended. Do I need to attach a log? Doesn't reproduce very consistently.

tp20c5 avatar Dec 31 '24 08:12 tp20c5

acc_v2024.12.29-rc_202412290_2033.zip Try that and see how it goes. Grab logs if you still stumble upon those issues.

VR-25 avatar Jan 01 '25 19:01 VR-25

acc_v2025.1.5-rc_202501050_0818.zip

Occasional problems. Earlier logs are high temperature and exit code 7 after charging to 75, later logs are charging to 75 paused and then resumed to continue charging。 acc-logs-arcfox_2025-01-07_16-17-19.zip

tp20c5 avatar Jan 07 '25 08:01 tp20c5

acc_v2025.1.14-rc_202501140_2120.zip

Using wireless fast charging, high temperatures when approaching a power pause. Force “wireless_boost_en 0 1”, only this switch takes effect. acc-logs-arcfox_2025-01-22_12-21-32.zip

tp20c5 avatar Jan 22 '25 04:01 tp20c5

acc_v2025.1.14-rc_202501140_2120.zip

Using wireless fast charging, high temperatures when approaching a power pause. Force “wireless_boost_en 0 1”, only this switch takes effect. acc-logs-arcfox_2025-01-22_12-21-32.zip

and this version looks like a problem recognizing the current polarity, now I have to set bsw to false to match the actual charging state.

tp20c5 avatar Jan 30 '25 16:01 tp20c5

Oops, I've noticed that even after uninstalling Acc, this Moto phone occasionally overheats a lot when charging with 15W wireless power(even though occasionally), but USB charging doesn't seem to have any issues. So this is probably an issue with the phone manufacturer, no need to worry further.

tp20c5 avatar Feb 14 '25 09:02 tp20c5

Yes, Moto's design allows for a wireless charging power of 15 watts. However, it does not have any power limitations, which means it can actually achieve more than 22+ watts in practice. As a result, it exceeds the thermal limits. I think this is approximately what happened.

tp20c5 avatar Feb 22 '25 04:02 tp20c5