From f19f1ed6003a3599acdb499f748f918a40c7982c Mon Sep 17 00:00:00 2001 From: Fred Date: Thu, 26 Mar 2026 22:03:19 +0000 Subject: [PATCH] fix(schedule): allow task scheduling when on battery power --- schtasks/task.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schtasks/task.go b/schtasks/task.go index aa1d97b9..55f76ce5 100644 --- a/schtasks/task.go +++ b/schtasks/task.go @@ -55,7 +55,7 @@ func NewTask() Task { }, Settings: Settings{ Compatibility: TaskCompatibilityAT, - DisallowStartIfOnBatteries: true, + DisallowStartIfOnBatteries: false, IdleSettings: IdleSettings{ Duration: period.NewHMS(0, 10, 0), // PT10M WaitTimeout: period.NewHMS(1, 0, 0), // PT1H