When I have my HP (Elitebook 830 G6) turned off and plugged in via the USB-C port, everything is fine: It charges.
As soon as I turn the laptop on and the process passes GRUB it immediateley stops charging.
I tried plugging int the laptop while in the OS, it first charges, but randomly stops charging.
The system:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
$ uname -a
Linux kernel 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I tried booting off a USB drive (not plugged in the USB-C but the USB-A ;) with Xubuntu 20.04 -> same behaviour. Then I tried Xubuntu 21.10 -> same behaviour.
This all indicates a hardware problem. But I don't understand why the laptop would charge perfectly fine, when the computer is turned off.
Thanks!
* EDIT * I booted 21.10 not 20.10! Fixed above :)