Stop GUI thread hogging CPU

This commit is contained in:
Luke D. Jones
2024-12-25 11:29:10 +13:00
parent e2d3f99d91
commit e7bbd99178
2 changed files with 3 additions and 0 deletions

View File

@@ -339,6 +339,8 @@ impl DeviceManager {
if do_kb_backlight {
// TUF AURA LAPTOP DEVICE
// product_name = ASUS TUF Gaming F15 FX507ZE_FX507ZE
// product_family = ASUS TUF Gaming F15
let product_name = DMIID::new().unwrap_or_default().product_name;
let product_family = DMIID::new().unwrap_or_default().product_family;
info!(

View File

@@ -214,6 +214,7 @@ async fn main() -> Result<()> {
})
.unwrap();
}
sleep(Duration::from_millis(300));
}
});