mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Stop GUI thread hogging CPU
This commit is contained in:
@@ -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!(
|
||||
|
||||
@@ -214,6 +214,7 @@ async fn main() -> Result<()> {
|
||||
})
|
||||
.unwrap();
|
||||
}
|
||||
sleep(Duration::from_millis(300));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user