power: set power source for USBC is broken |
||
Issue descriptionThis CL, https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/231402/ Should have enabled the ability to select which USBC charger to use in the event there were multiple or disable them altogether by writing -1 to charge_control_limit_max sysfs parameter as mentioned here: https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/docs/power_supplies.md#Multiple-sources Lets fix this so we can perform these operations programmatically. In particular it would be useful to disable charging via, dbus-send --type=method_call --system --print-reply --dest=org.chromium.PowerManager /org/chromium/PowerManager org.chromium.PowerManager.SetPowerSource string:'-1' or for f in `find /sys/devices -name "charge_control_limit_max"` ; do echo -1 > $f ; done
,
Jan 18
(4 days ago)
This worked when we shipped samus, right? Are you saying that it regressed? If so, do you know what caused the regression?
,
Jan 18
(4 days ago)
I didn't think it was ever possible to disable charging when the Chromebook was connected to a dedicated source. Is that what this is about? |
||
►
Sign in to add a comment |
||
Comment 1 by tbroch@chromium.org
, Jan 18 (4 days ago)