AdnanHodzic / AdnanHodzic/auto-cpufreq

[Feature] D-Bus Interface like PPD

Đang mở
#876 5 bình luận 4 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
7.8k
Fork
357
Merge trung bình
3 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

First of all, thank you for developing `auto-cpufreq` — it’s an excellent tool for dynamic CPU frequency scaling.

Currently, several desktop environments (DEs) provide a **power mode/slider integration** in their system tray or settings panels. These sliders usually work with `power-profiles-daemon` or `tuned-ppd`, allowing users to switch between modes such as *Performance*, *Balanced*, and *Power Saver*.

It would be great if `auto-cpufreq` could integrate with these power sliders across DEs.

## Benefits
- Unified user experience across desktop environments.
- Quick and intuitive switching between `auto-cpufreq` profiles without relying on CLI.
- Encourages wider adoption since many users prefer GUI-driven controls.

## Examples of DE Integration Points
- **KDE Plasma** – System Tray Power Management Slider (via `powerdevil`).
- **GNOME** – Settings → Power Mode toggle (exposed via `power-profiles-daemon`).
- **XFCE** – Power Manager panel plugin.
- **Cinnamon / MATE / Budgie** – Power applets that already use PPD as backend.

## Possible Implementation Approaches
- Allow `auto-cpufreq` to **expose its profiles via D-Bus**, making them visible to DEs in the same way as `power-profiles-daemon`.
- Provide an **optional compatibility layer** that lets DEs treat `auto-cpufreq` as if it were `power-profiles-daemon` or `tuned-ppd`.
- Offer a **configurable mapping** of `auto-cpufreq` modes to standard power profiles.

## References
- KDE Plasma PowerDevil: [https://invent.kde.org/plasma/powerdevil](https://invent.kde.org/plasma/powerdevil)
- GNOME Power Profiles: [https://gitlab.freedesktop.org/upower/power-profiles-daemon](https://gitlab.freedesktop.org/upower/power-profiles-daemon)

---

### **Feature Request Summary**
Add integration between `auto-cpufreq` and desktop environment power sliders (KDE, GNOME, XFCE, etc.) by exposing profiles through a standard interface (e.g., D-Bus, PPD compatibility), similar to how `power-profiles-daemon` and `tuned-ppd` work. I just really like the look and feel of KDE's powerdevil

Image

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.