Repository navigation
[feature request] Limit battery charging level to reduce wear #4474
moWerk
started this conversation in
Suggestions
Replies: 1 comment
|
I made a plugin that sets this from the battery popup on the bar: Super Battery. On laptops with Three differences from your service:
It also has low battery alerts (with your own sounds) and an auto power saver. Repo: https://github.com/Paul-Bob/omarchy-super-battery |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
What do you need?
Coming from KDE, i miss a config feature to limit the battery charging to a user defined level.
On devices with support for the kernel feature,
charge_control_end_thresholdandcharge_control_start_thresholdare available in/sys/class/power_supply/BAT0/I tested to manually echo values to the Sysfs files and had success after setting
charge_behaviourtoauto.For myself i made a quick and dirty service that writes the values after boot, suspend and sleep.
I made an attempt to cleanly add the feature to omarchy setup next to the power profile settings and make it depend on hardware availability but failed. I used battery-monitor as an implementation example for the service and menu entry and now face the issue that i got a user service running but my script needs to write to Sysfs as root.
This is how far i got in case someone is interested in either giving me hints on how to continue or pick up the work.
master...moWerk:omarchy:feature/battery-thresholds-configurable
All reactions