Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charging thresholds #196

Open
brammiddendorp opened this issue Jul 16, 2024 · 0 comments
Open

Charging thresholds #196

brammiddendorp opened this issue Jul 16, 2024 · 0 comments

Comments

@brammiddendorp
Copy link

To extend the battery life of devices running AsteroidOS, having the ability to set a charging threshold would be very helpful.
I'm not sure whether OpenEmbedded even allows this, as the procedure for it tends to differ from system to system.
On my laptop (Fedora) I could specify a maximum by changing the contens of /sys/class/power_supply/BAT0/charge_control_end_threshold. On my phone (SailfishOS) I was able to achieve this by running mcetool --set-charging-disable-limit=<desired percentage>.
I have inspected the various folders and files in the /sys folder, but could not find anything similar. mcetool also didn't recognize the option that was available on SailfishOS.
If it is at all possible with the current implementation, I'd be very glad to hear. If not, I think it would be a valuable addition.

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

No branches or pull requests

1 participant