diff --git a/src/electron.js b/src/electron.js index 579860f0..731b4c72 100644 --- a/src/electron.js +++ b/src/electron.js @@ -2701,7 +2701,7 @@ function idleCheckLong() { if(powerMonitor.onBatteryPower) return false; const idleTime = powerMonitor.getSystemIdleTime() lastIdleTime = idleTime - if(idleTime > (settings.detectIdleTime ? settings.detectIdleTime : 180) && !notIdleMonitor) { + if(idleTime > (settings.detectIdleTime * 1 > 0 ? settings.detectIdleTime : 180) && !notIdleMonitor) { startIdleCheckShort() } }