implemented tui for multiple fans

This commit is contained in:
2026-02-26 14:12:20 +01:00
parent cab39a6478
commit ab4d5828d5
2 changed files with 30 additions and 16 deletions

View File

@@ -136,9 +136,10 @@ impl DellXps9380Guard {
impl EnvironmentGuard for DellXps9380Guard {
fn suppress(&mut self) -> Result<()> {
let services = ["tlp", "thermald"];
let services = ["tlp", "thermald", "i8kmon"];
for s in services {
if Command::new("systemctl").args(["is-active", "--quiet", s]).status()?.success() {
debug!("Suppressing service: {}", s);
Command::new("systemctl").args(["stop", s]).status()?;
self.stopped_services.push(s.to_string());
}