10

Sorry if this is obvious, but I am a bit of a novice. I am using an Acer Nitro 5 laptop with a dual boot (Windows 10 and Ubuntu 18.04.1 LTS using Budgie). I have 2 fast charging ports (one usb-3 and one usb-c) that are indicated with a battery icon next to the port. When I boot into Windows, if my phone is plugged into either port it will charge rapidly at 1.5 amps. When I boot into Ubuntu I can only charge slowly at .5 amps using same cords etc. Is there anything I can do to get the fast charging under Ubuntu? Ubuntu does recognize my phone and has the correct model number for it when I plug it in, and allows data transfer.

lspci -d ::0c03 -k gives me the following:

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
    Subsystem: Acer Incorporated [ALI] Sunrise Point-H USB 3.0 xHCI Controller
    Kernel driver in use: xhci_hcd

and lsmod | grep typec gives me: typec 24576 0

Legacy USB is not turned on in BIOS.

11
  • Does your USB-C port need proprietary drivers to enable the fast charging (aka forwarding more electricity to this port)?
    – dadexix86
    Oct 2, 2018 at 21:01
  • I did a clean install of Windows on a new drive in the laptop and did not install any drivers other than for the GPU. Unless Windows installed one through windows update, I shouldn't be using anything proprietary.
    – Mark Smith
    Oct 2, 2018 at 21:05
  • Attach to your question the output of lspci -d ::0c03 -k please
    – dadexix86
    Oct 2, 2018 at 21:13
  • Great. What is the output of lsmod | grep typec? (again, add it to your question, and this time use the code formatting please)
    – dadexix86
    Oct 2, 2018 at 21:19
  • 1
    Relevant LWN article: lwn.net/Articles/693095. Basically, 1.5A charging should work if Linux can detect your USB port as CDP (charging downstream port). I believe it detects it as SDP now (standard downstream port).
    – mvp
    Oct 4, 2018 at 7:26

2 Answers 2

1

You can use this command to see how much amperage Linux is providing to the port:

sudo lsusb -v

This will print out a detailed report of your USB system. You want to look for areas with the MaxPower sign, you can filter and see them only using:

sudo lsusb -v | grep -i power

You should see output with lines like this:

MaxPower              500mA

There are tools and kernel modules that allow you to manually change how much power the USB port is given, but these tools could damage your system or hardware connected to those ports. One such tool is ipad-charge another is uhubctl (you have been warned)

1
  • 5
    uhubctl can change how much power is provided, but only off and back on. It cannot change output from 0.5A to 1.5A, and cannot damage anything (I am uhubctl author).
    – mvp
    Oct 4, 2018 at 7:04
-4

Some USB cables are used only for transferring data, others only for charging, and others allow both. I think you need to unplug other things from your laptop to make sure more power goes to the phone.

1
  • 1
    In both Windows and Ubuntu the only thing I have plugged into my laptop, besides the power cord, is either my phone by usb-c to usb-c cable, or my phone by usb-c to usb-a. Both cords allow both fast charging and data transfer under Windows, so I don't think the cords are the issue.
    – Mark Smith
    Oct 2, 2018 at 21:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .