docking bar limits charging rate?
#1
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.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply
#2
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
  Reply
#3
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.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply
#4
(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.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply
#5
https://xnux.eu/devices/feature/anx7688.html
  Reply
#6
(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!
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone Doesn't Boot LED Doesn't Show Any Signs When Charging dorkydev 1 194 04-02-2024, 11:50 AM
Last Post: Kevin Kofler
  Can't get Mobian on PinePhone to recognise USB-C docking bar duncan_bayne 9 6,830 12-04-2023, 02:14 AM
Last Post: Peter Gamma
  WIRELESS CHARGING ADD-ON CASE Fred Zyphal 4 2,532 08-28-2022, 05:17 PM
Last Post: Fred Zyphal
  Charging the phone while it is off orbital 1 1,197 07-05-2022, 12:19 AM
Last Post: biketool
  Mobile case wanted - with wireless charging! thorensjubilee 4 2,846 03-19-2022, 10:29 AM
Last Post: vap0rtranz
  battery and charging submariner 4 4,064 03-01-2021, 12:16 PM
Last Post: theD0ctor
  Plasma Mobile CE Pinephone - battery not fully charging PineSupporter 11 10,690 02-09-2021, 11:20 AM
Last Post: PineSupporter
  Hot when charging ADGW 16 14,866 01-10-2021, 10:41 AM
Last Post: dsimic
  Latest PinePhone CE Manjaro - Charging issues: hardware or software? kern707 5 4,785 11-20-2020, 12:09 AM
Last Post: bcnaz
  Pinephone not charging and not powering up gab 10 12,744 04-20-2020, 08:53 AM
Last Post: Bates132

Forum Jump:


Users browsing this thread: 1 Guest(s)