Skip to content

fix(daemon): persist battery_auto_switch_mode setting at daemon startup#65

Merged
luytan merged 1 commit into
OpenGamingCollective:mainfrom
Neo-AzTeK:main
Jun 27, 2026
Merged

fix(daemon): persist battery_auto_switch_mode setting at daemon startup#65
luytan merged 1 commit into
OpenGamingCollective:mainfrom
Neo-AzTeK:main

Conversation

@Neo-AzTeK

Copy link
Copy Markdown
Contributor

I noticed that when the daemon restarted it didn't take into account the AC automatic mode value inside the config (cardwire.toml) and always used Smart. I looked in the code and found the issue where the battery auto-switch mode was hardcoded instead of getting it from the config. I fixed the issue but noticed too late in discord that you already intended to fix it. Here is what I would have done anyway based on what was already there.

@luytan

luytan commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Hi, thanks for your time, LGTM!

@luytan luytan merged commit 912aaab into OpenGamingCollective:main Jun 27, 2026
2 checks passed
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.

2 participants