Skip to content

Modify task settings to start even on battery#16

Merged
Toxblh merged 3 commits intoToxblh:masterfrom
wheeheee:patch-1
Jul 12, 2025
Merged

Modify task settings to start even on battery#16
Toxblh merged 3 commits intoToxblh:masterfrom
wheeheee:patch-1

Conversation

@wheeheee
Copy link
Contributor

@wheeheee wheeheee commented Jul 11, 2025

Sets Settings.StopIfGoingOnBatteries and Settings.DisallowStartIfOnBatteries to false. Both default to true, which doesn't seem sane here to me.
Also, for fun, enable UseUnifiedSchedulingEngine.
Should fix #6, but have not tested it.
Perhaps this project should also consider moving to .NET 8?

wheeheee added 3 commits July 11, 2025 10:02
Sets Settings.StopIfGoingOnBatteries and Settings.DisallowStartIfOnBatteries to false; default is true...
@Toxblh
Copy link
Owner

Toxblh commented Jul 12, 2025

Awesome! Thank you

About .NET8. In real I don't think about it :).

@Toxblh Toxblh merged commit 85b291b into Toxblh:master Jul 12, 2025
@wheeheee wheeheee deleted the patch-1 branch July 12, 2025 17:18
@wheeheee
Copy link
Contributor Author

Well, I ran it through the dotnet upgrade assistant tool and fixed it up a little. The program works on my device. If you are willing to go through a little bit of trouble with msbuild and the workflow files to tag and publish a release, I can submit a PR with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Won't auto start if laptop not connected to ac adapter

2 participants