feat: add power-profiles-daemon as an additional power profile backend

This commit is contained in:
Ryan Brue 2024-04-16 15:00:09 -05:00 • committed by Ashley Wulber
parent db47edf9b6
commit 25c24ce184
6 changed files with 365 additions and 217 deletions

View file

@ -1,12 +1,10 @@
use crate::backend::{power_profile_subscription, Power, PowerProfileRequest, PowerProfileUpdate};
use crate::backlight::{
screen_backlight_subscription, ScreenBacklightRequest, ScreenBacklightUpdate,
};
use crate::config;
use crate::dgpu::{dgpu_subscription, Entry, GpuUpdate};
use crate::fl;
use crate::power_daemon::{
power_profile_subscription, Power, PowerProfileRequest, PowerProfileUpdate,
};
use crate::upower_device::{device_subscription, DeviceDbusEvent};
use crate::upower_kbdbacklight::{
kbd_backlight_subscription, KeyboardBacklightRequest, KeyboardBacklightUpdate,