Skip to content

feat(power): Charge limit daemon - #710

Open
winghugs wants to merge 2 commits into
armada-os:mainfrom
winghugs:charge-limit-daemon
Open

winghugs wants to merge 2 commits into
armada-os:mainfrom
winghugs:charge-limit-daemon

Conversation

@winghugs

Copy link
Copy Markdown
Contributor

This is a stopgap solution for charge limitations until kernel patches allow us to set charge limits. Currently it uses the lowest possible limit I've found for charging when above the charge threshhold set in the config file. This was tested on the AYN Thor.

This is just the backend daemon and I have not included implementation into armada-control for this feature. I have it enabled automatically, and error handling is done in script, with the daemon not restarting if it doesn't know how to set the limits.

This will both need a UI component and device testing before it should be upstreamed, but the backend here would be fine to put in for users who don't mind changing a config file.

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.

1 participant