Battery charging level threshold
Important feature for modern laptops: ability to set a threshold for charging your laptop. It's a feature on most modern laptops, built into the kernel. It was already brought up here: https://github.com/basecamp/omarchy/discussions/627 , but this seems important enough for an issue.
On Gnome this awesome extension was available: https://github.com/maniacx/Battery-Health-Charging
For Omarchy we now need something similar. In the above mentioned some references are already mentioned:
Coming from Gnome I have little knowledge on Hyprland but this seems like a possible first implementation : https://github.com/ReZeroE/Linux-Battery-Threshold-Tool
For reference : https://www.linuxuprising.com/2021/02/how-to-limit-battery-charging-set.html
Specific to Asus https://aur.archlinux.org/packages/bat-asus-battery-bin
And the Gnome details https://vdwaa.nl/gnome-upower-charge-thresholds.html
The maker of the Gnome extension also was so kind to share the resources he used: https://maniacx.github.io/Battery-Health-Charging/credits
Right now I fixed this with some self-made scripts. It's not too complicated. Let's put this functionality into Omarchy!
I changed the values here /sys/class/power_supply/BAT*/charge_control_{start, end}_threshold is working fine for me.
i made a toggle in my waybar that toggles through a 60/80/100 % threshold , i could share that.
although i think this setting makes more sense in the 'toggle' menu
Hopefully considering also #1213 #655
I don't think it's something most folks will be tinkering with, but would make for a nice Manual in the Discussion section 👌