PINE64
docking bar limits charging rate? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: docking bar limits charging rate? (/showthread.php?tid=14496)



docking bar limits charging rate? - nelstomlinson - 07-23-2021

I'm using a 1.5A USB charger, and that is barely able to charge the battery faster than I am discharging it. When I plug in that same charger through the docking bar, I see that the USB current limit is only 0.5A, and that is definitely NOT enough to keep ahead of the discharge.

Is this a known issue? Is there a fix?

This is a beta edition, convergence model,  running Mobian/Phosh from the SD.


RE: docking bar limits charging rate? - 8bit - 07-23-2021

Are you using a PD capable charger? With a PD charger (from a Pixel, capable of 3A at 5V) I get the same 1500mA with or without the dock. 
Code:
cat /sys/class/power_supply/axp20x-usb/uevent
POWER_SUPPLY_NAME=axp20x-usb
POWER_SUPPLY_TYPE=USB
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_VOLTAGE_MIN=4500000
POWER_SUPPLY_INPUT_CURRENT_LIMIT=3000000
POWER_SUPPLY_USB_BC_ENABLED=0
POWER_SUPPLY_USB_DCP_INPUT_CURRENT_LIMIT=1500000
POWER_SUPPLY_USB_TYPE=[PD] SDP DCP CDP Unknown
The device has to negotiate with the PD power supply, since with the dock the phone may be either powered by the dock or provide power to it. You can see it in dmesg.
Code:
[28898.854286] anx7688 1-0028: plug irq (cd=1)
[28898.872420] anx7688 1-0028: cable inserted
[28898.912415] anx7688 1-0028: power enabled
[28898.976557] anx7688 1-0028: eeprom0 = 0x03
[28898.976592] anx7688 1-0028: fw loaded after 40 ms
[28898.976778] anx7688 1-0028: OCM firmware loaded (version 0x2410)
[28898.977797] anx7688 1-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[28899.025671] anx7688 1-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[28899.026265] anx7688 1-0028: send pd packet cmd=0x02 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77
[28899.027117] anx7688 1-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[28899.027658] anx7688 1-0028: OCM configuration completed
[28899.028624] anx7688 1-0028: status changed to 0x00
[28899.028658] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[28899.028687] anx7688 1-0028: DP state changed to 0x00
[28899.028702] anx7688 1-0028: VCONN role change to SINK
[28899.028738] anx7688 1-0028: DATA role change requested to UFP
[28899.469100] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SNK.Power3.0
[28899.543177] anx7688 1-0028: recv ocm message cmd=0x00 09 00 2c 91 01 08 c8 d0 02 00 97
[28899.543248] anx7688 1-0028: received SRC_CAP
[28899.543259] anx7688 1-0028: SRC_CAP PDO_FIXED (5000mV 3000mA)
[28899.543275] anx7688 1-0028: SRC_CAP PDO_FIXED (9000mV 2000mA)
[28899.543560] anx7688 1-0028: RDO max voltage = 5000mV, max power = 15000mW, PD current limit = 3000mA
[28899.547075] anx7688 1-0028: recv ocm message cmd=0xf0 03 f0 16 00 f7
[28899.547119] anx7688 1-0028: received response to PWR_OBJ_REQ (SUCCESS)
[28900.828878] anx7688 1-0028: updating power mode to PD, current limit 3000mA (0 => BC1.2)
[28900.828942] anx7688 1-0028: disabling USB BC 1.2 detection
[28900.829038] anx7688 1-0028: setting vbus_in current limit to 3000 mA
[28900.829125] anx7688 1-0028: enabling vbus_in power path



RE: docking bar limits charging rate? - bcnaz - 07-26-2021

On my Post Market Edition (Convergent model) Running a recent Mobian Nightly running from an sd card.

When using the docking bar :

My charge 'limit' goes up to 2.0 amps, from the 1.5 limit that it shows when the charger is connected directly to the phone.

Have you tried comparing different chargers ?

Last year with the same hardware, I ran the battery almost dead, the phone shut down.
Then it would only charge at 0.5 amps (several hours) when it finally got above 10% it started charging normally again.


RE: docking bar limits charging rate? - nelstomlinson - 08-10-2021

(07-26-2021, 09:13 PM)bcnaz Wrote: On my Post Market Edition (Convergent model)  Running a recent Mobian Nightly running from an sd card.

When using the docking bar :

My charge 'limit' goes up to 2.0 amps,  from the 1.5 limit that it shows when the charger is connected directly to the phone.

Have you tried comparing different chargers ?

Last year with the same hardware,  I ran the battery almost dead,  the phone shut down.
Then it would only charge at 0.5 amps (several hours)  when it finally got above 10%  it started charging normally again.
I'm seeing the same thing with a Motorola charger which claims 3A at 5V: it will show a 1.5A limit when connected directly, 2A when connected through the docking bar.


RE: docking bar limits charging rate? - mouffa - 08-10-2021

https://xnux.eu/devices/feature/anx7688.html


RE: docking bar limits charging rate? - nelstomlinson - 08-11-2021

(08-10-2021, 07:11 AM)mouffa Wrote: https://xnux.eu/devices/feature/anx7688.html

Thanks, mouffa. That looks like the best spot for hardware info!