Repository navigation
Battery panel: show each battery on dual-battery laptops, and add a "Charge to 100%" toggle #13208
Replies: 2 comments
|
I made a plugin that covers the "Charge to 100%" half of this: Super Battery. It adds a Charge limit row to the battery popup. You pick the limit (50–100% in steps of 5), and the switch on that row turns it off. Off, the row reads "Off: charges to 100%". Switch it back on and the limit you picked comes back. Two differences from yours: it stays off until you switch it back on instead of resetting at reboot, and it doesn't show each battery separately yet. Dual-battery support is open for contributions. You already have the per-battery list working in your clone, so a PR bringing it into Super Battery would be welcome. It also has low battery alerts (with your own sounds) and an auto power saver. Repo: https://github.com/Paul-Bob/omarchy-super-battery |
|
A T480 owner reported the same single-battery display issue and patched the panel locally: [owner’s report](https://x.com/Ruth_Kant_/status/2116582360812867659). I maintain a small [owner-report directory](https://maxlothorn-7.github.io/linux-laptops/laptops/lenovo-thinkpad-t480.html) where I logged it. An upstream fix would help other dual-battery users. |

Uh oh!
There was an error while loading. Please reload this page.
Omarchy already notices when a charge limit is on ("Charge limit" / "Holding" in the power panel), but there's no way to change the limit from the panel, and laptops with two batteries only show the combined total.
I have a ThinkPad T480, which has an internal and a removable rear battery. I charge it to 80% to keep the batteries healthy, but sometimes I need a full charge for the next day. I added two things to a cloned
omarchy.powerpanel:(screenshot below)
How it could work upstream:
omarchy battery charge-limit [on|off|status]command that writes the laptop's own charge-limit setting in the kernel (charge_control_end_threshold), so it doesn't need TLP.My version currently uses TLP and assumes two batteries named BAT0/BAT1. If this sounds welcome, I'm happy to rework it as a general version and open a PR.
All reactions