{"repo":"Ooooze/batctl","free":true,"listed":false,"github":"https://github.com/Ooooze/batctl","clone":"git clone https://github.com/Ooooze/batctl.git","description":"⚡ Battery charge threshold manager for Linux laptops","language":"Go","stars":158,"topics":["battery","go","laptop","linux","power-management","terminal","thinkpad","tui","charge-threshold","cli"],"license":"MIT","category":"cli-tools","readme_excerpt":"⚡ batctl Battery charge threshold manager for Linux laptops Installation • Usage • Hardware • Presets • Persistence batctl is a terminal UI and CLI tool that lets you control battery charge thresholds on Linux. Set start/stop charge levels to extend battery lifespan, choose from built-in presets, and persist your settings across reboots — all from a single, zero-dependency binary. Why batctl? Most laptops support charge thresholds in hardware, but the Linux interface is fragmented: each vendor exposes different sysfs paths, value ranges, and quirks. Tools like TLP are powerful but heavy and config-file-driven. batctl gives you: - One binary, zero config — auto-detects your hardware and shows what's possible - Interactive TUI — see battery health, adjust thresholds with arrow keys, pick presets - Scriptable CLI — batctl set --stop 80 for automation and dotfiles - 16+ vendor backends — from ThinkPad to Apple Silicon, with a generic fallback - Persistence — survives reboots and suspend/resume via systemd Installation Quick install (any distro) To uninstall: From source Arch Linux / Omarchy (AUR) Or manually: Pre-built binary Download from Releases, then: Usage Interactive TUI Launch the full terminal interface (requires root for write operations): Controls: Key Action ----- -------- ↑ ↓ / j k Navigate between fields ← → / h l Adjust value (±1) H L Adjust value (±5) Enter Toggle edit mode Esc Cancel edit p Open preset picker a Apply current thresholds s Save config + enable persi","default_branch":null,"files":null,"tree":[],"storefront":"/r/Ooooze","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Ooooze/batctl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}