Persist Framework power-button lighting across reboots

This commit is contained in:
ajp_anton committed 2026-10-20 13:30:03 +00:00
1 parent ddb912d4ba
commit dc2372ef3f
10 files changed
+142 -5

No files matched your search

+8
View File
@@ -139,10 +139,16 @@ the system tray to suppress that effect.
- Keyboard brightness: 0–100%. **Use Fn+Space to leave or enter Auto mode.**
The inspected 13 Pro firmware does not expose a host command to change that
mode; its ambient-light logic overrides manual percentage changes in Auto.
The tool does not save or restore keyboard brightness itself; Fedora's
backlight service may restore it, while firmware Auto can override it.
- Power-button brightness: 1–100%, or firmware Auto. This is the illuminated
power button surrounding the fingerprint reader, not its authentication.
The Automatic brightness checkbox disables the slider; both mode and brightness
are staged until Save and Apply. Unchecking it allows a fixed brightness to be selected.
Saving writes `/etc/framework-laptop-tools/power-button.json` and enables a
one-shot service to restore the choice at boot, even without the GUI running.
Installation alone does not enable it. After upgrading from an older version,
change and save the power-button setting once to enable restoration.
- Fan: firmware Auto, manual duty, or a four-point curve. Manual values
range from 0–100%, including fan off. Manual speeds below 30% show a warning.
Saving manual or curve speeds below 30% also requires explicit confirmation.
@@ -165,6 +171,8 @@ the system tray to suppress that effect.
vary with voltage and system/charger limits. Zero restores firmware defaults.
This is **battery charging power**, not wall power or total laptop power.
Charge current has no read-back command in the interface used here.
The charging-power limit is currently applied only for the running session;
it is not saved or restored by this tool.
The C-rate used by some other utilities expresses current relative to battery
capacity: 1 C means 4.64 A for a 4.64 Ah battery, not a fixed number of watts.
- CPU: minimum/maximum frequency, governor and energy preference, with optional