system76-power charge-threshold 40 50 fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
System76 |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 22.04, fully up-to-date.
$ sudo system76-power --version
system76-power 1.1.24
$ system76-power charge-thresholds 40 50
thread 'main' panicked at 'Mismatch between definition and access of `thresholds`. Could not downcast to TypeId { t: 150071249875832
', /build/
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
It's pretty easy to workaround by writing into /sys/class/
Filed a bug and patch. See https:/