Commit graph

11 commits

Author SHA1 Message Date
Ashley Wulber
65b8376a40 fix: hide the charge limit toggle on unsupported devices 2025-07-28 14:51:43 -04:00
Ian Douglas Scott
417f43a0f5 Update to zbus 5.x 2025-05-28 13:40:23 -04:00
Pavol Žáčik
726c8288da fix(battery): default to the balanced profile with PPD backend
TuneD provides a compatibility daemon (tuned-ppd) which replaces
power-profiles-daemon in Fedora 41 [1]. However, the new daemon
can report an "unknown" profile in case the user manipulates with
underlying TuneD profiles directly; see [2].

Before this change, the "unknown" profile makes the battery applet
panic. With this change, the applet reports the balanced profile.
This is in line with the behavior of cosmic-settings [3].

[1] https://pagure.io/fesco/issue/3222
[2] https://github.com/redhat-performance/tuned/pull/669
[3] 6f05e9e/cosmic-settings/src/pages/power/backend/mod.rs (L65)
2025-01-24 12:32:43 +01:00
Ashley Wulber
5b5cd77e7c update iced 2024-10-31 17:52:33 -04:00
Piotr
cf06e14545
feat(battery): support charging limits with system76-power 2024-09-06 17:56:11 +02:00
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Ashley Wulber
87250b5e50 zbus update 2024-05-18 01:38:41 +02:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Ryan Brue
c7765278f0 fix: use same connection for all connect attempts 2024-04-30 00:14:47 +02:00
Lily Foster
e4a6f94723 battery: Give up if both power-profiles-daemon and system76-power connections fail 2024-04-18 20:17:48 -04:00
Ryan Brue
25c24ce184 feat: add power-profiles-daemon as an additional power profile backend 2024-04-16 17:50:02 -04:00