Compare commits

..

2 Commits

Author SHA1 Message Date
Timofey Gelazoniya 805ba16c2c
refactor: imports 2024-09-06 04:21:29 +03:00
Timofey Gelazoniya d9f92c97f4
revert cpu usage optimizations due some errors
This reverts commits 46af703 and 9866802
2024-09-06 04:18:53 +03:00
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ use winapi::um::{
winuser::{self, ShowWindow, SW_SHOW}, winuser::{self, ShowWindow, SW_SHOW},
}; };
const BATTERY_UPDATE_INTERVAL: Duration = Duration::from_secs(5); const BATTERY_UPDATE_INTERVAL: Duration = Duration::from_secs(60);
const DEVICE_FETCH_INTERVAL: Duration = Duration::from_secs(5); const DEVICE_FETCH_INTERVAL: Duration = Duration::from_secs(5);
#[derive(Debug)] #[derive(Debug)]