Good day everyone, Since linux 5.8 I'm experiencing a problem related to power source detection on my laptop. My machine is equipped with 2 typec ports, one of them has power delivery and is used for charging, another one has only data transfer capability. The issue is, when I unplug the power cable, the OS is reporting something like "Battery at 100%, plugged in but still discharging" (KDE Plasma notification) - whether another port is used or not. I checked with upower, you can see the output for kernel 5.4 and 5.10 attached. In brief, on 5.8 onwards I have some "line_power_ucsi_source_psy_USBC000o001" device which is considered a power supply and that prevents OS to switch to "battery mode" when unplugging the cable, instead it thinks there's a power source but not powerful enough to charge the battery, upower says this: "on-battery: no", but actually no ac power source is connected. I did some research with git bisect up to the merge commit `e611c0fe318c6d6827ee2bba660fbc23cf73f7dc` ("Merge tag 'usb-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb"), and looked through its content. My wild guess based on upower output is that a new driver introduced there, /drivers/usb/typec/ucsi/psy.c, is responsible for this wrong behavior. Could you please look into that based on info I'm providing? Thank you! -- ---- Best regards, Vladimir Yerilov