Ooooze

Ooooze / batctl

Public

⚡ Battery charge threshold manager for Linux laptops

21
0
100% credibility
Found Mar 08, 2026 at 21 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

batctl is a terminal tool for Linux laptop users to view battery info, set charge thresholds, apply presets, and make settings persist across reboots for better battery longevity.

How It Works

1
🔍 Discover batctl

You hear about a simple tool that helps laptop batteries last longer by controlling charge levels.

2
📥 Get it on your laptop

You download and set up the tool with a quick, easy step that works on most Linux laptops.

3
🖥️ Open the battery screen

Launch the friendly dashboard to see your battery's health, charge level, and current limits at a glance.

4
⚙️ Adjust charge limits

Use arrow keys to slide the bars and set when charging starts and stops, like 40% to 80%.

5
Pick a smart preset

Choose from ready plans like 'max lifespan' that fit your laptop perfectly and feel just right.

6
💾 Save and make permanent

Hit apply to set it now, then enable auto-remember so it sticks after restarts or sleep.

🥳 Battery lives longer

Your laptop now protects its battery automatically, staying healthy for years of use.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 21 to 21 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is batctl?

batctl is a Go-built CLI and TUI tool for setting battery charge limits on Linux laptops, letting you cap charging at levels like 80% to extend battery life. It auto-detects your hardware—covering ThinkPads, ASUS, Dell, Framework, and more with a generic fallback—and handles vendor quirks via simple batctl commands like `sudo batctl set --stop 80` or `sudo batctl` for interactive tweaks. Presets such as max-lifespan (20-80%) snap to your battery charger's supported ranges, with persistence via systemd for reboots and suspend.

Why is it gaining traction?

Unlike config-heavy tools like TLP, batctl delivers a zero-dependency binary with instant hardware detection, no manual sysfs hunting. The TUI shows real-time battery health and capacity while you arrow-key adjust thresholds; CLI supports scripting presets and status checks. Developers dig the one-command persistence enable for always-on battery charge limits without boot scripts.

Who should use this?

Linux users on supported laptops—ThinkPad pros, Framework tinkerers, or System76 owners—who plug in daily and want to enforce battery charge limits without BIOS dives. Ideal for remote devs optimizing lifespan on the go, or anyone scripting batctl commands in dotfiles for consistent battery charger behavior across machines.

Verdict

Grab it if your hardware matches (run `batctl detect`); the single-binary install and solid docs make testing low-risk despite 18 stars and 1.0% credibility score signaling early maturity. Promising for battery github mac or openwrt setups, but watch for edge-case vendor gaps.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.