So I've been using Pop!_OS on my ASUS ROG laptop for a while now and one thing that always bugged me was not having a proper way to cap my battery charging like you can on Windows with GHelper.
I got tired of manually echoing values into sysfs every time I rebooted, so I built ghelper-linux, a small TUI (terminal
UI) that lets you set a charge limit (like stop at 80%) so your battery doesn't sit at 100% all day plugged in. That'shonestly terrible for long-term battery health.
It's written in Rust, runs in your terminal, weighs under 1MB and looks like this:
▶ battery │ 85% Charging
system │ voltage 12.1V current 2.3A power 27.8W
settings │
│ charge limit
│ 80%
│ presets [80%] 60% 100%
│ [a] apply [s] setup persist
What it does:
- Set a battery charge cap (60 / 80 / 100% or custom)
- Survives reboots automatically via a systemd service
- Shows live battery stats, CPU/GPU temps, memory usage
- Fully keyboard driven, no desktop environment needed
It's still early days and I'm sure there's stuff to improve. If you use an ASUS laptop on Linux and want to give it a try, I'd really appreciate it.
A on GitHub goes a long way for motivation too lol.
Happy to answer any questions or take feature requests. Things like fan control and performance mode switching are on my list if people are interested!
ichihiroy•1h ago
So I've been using Pop!_OS on my ASUS ROG laptop for a while now and one thing that always bugged me was not having a proper way to cap my battery charging like you can on Windows with GHelper.
I got tired of manually echoing values into sysfs every time I rebooted, so I built ghelper-linux, a small TUI (terminal
UI) that lets you set a charge limit (like stop at 80%) so your battery doesn't sit at 100% all day plugged in. That'shonestly terrible for long-term battery health.
It's written in Rust, runs in your terminal, weighs under 1MB and looks like this:
▶ battery │ 85% Charging
system │ voltage 12.1V current 2.3A power 27.8W
settings │
│ charge limit
│ 80%
│ presets [80%] 60% 100%
│ [a] apply [s] setup persist
What it does:
- Set a battery charge cap (60 / 80 / 100% or custom)
- Survives reboots automatically via a systemd service
- Shows live battery stats, CPU/GPU temps, memory usage
- Fully keyboard driven, no desktop environment needed
It's still early days and I'm sure there's stuff to improve. If you use an ASUS laptop on Linux and want to give it a try, I'd really appreciate it.
A on GitHub goes a long way for motivation too lol.
Happy to answer any questions or take feature requests. Things like fan control and performance mode switching are on my list if people are interested!