[Touch-packages] [Bug 1980991] Re: /usr/sbin/on_ac_power incorrectly reporting ac power status

2023-06-14 Thread Bjorn Toft Madsen
It's worth adding that in #1973359 (was closed as duplicate of this bug; I was the author), the computer is plugged in with a barrel power plug, not via USB-C PD. I'm not sure how it still ends up being routed as a USB power source in /sys/class/power_supply. Specifically, it's this computer: https

[Touch-packages] [Bug 1973359] [NEW] on_ac_power says false, but real answer is true

2022-05-13 Thread Bjorn Toft Madsen
Public bug reported: On a Dell 7000 Micro (Intel 12700T), plugged into mains power, on_ac_power reports false. As the micro computer is plugged into mains power, I had expected it instead to report true. /sys/class/power_supply$ ls ucsi-source-psy-USBC000:001 /sys/class/power_supply/ucsi-source