Skip to content

Commit 58cebec

Browse files
bennetyeejacobgkauthomas-zimmerman
authored
Update laptop-battery-thresholds.md (#1369)
* Update laptop-battery-thresholds.md The firmware has been updated since Nov 2024 to save the threshold values to flash. * Simplify wording & remove additional mention of limitation --------- Co-authored-by: Jacob Kauffmann <jacob@system76.com> Co-authored-by: Thomas Zimmerman <41023059+thomas-zimmerman@users.noreply.github.com>
1 parent 044ffc6 commit 58cebec

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

content/laptop-battery-thresholds.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ To determine if your laptop has Open Firmware or proprietary firmware, see [this
3333

3434
## Configuring Charging Thresholds (Open Firmware)
3535

36-
**Note:** This feature is not currently finished. Currently, the thresholds are reset when the EC is reset (which happens when the system is shut down and the power is unplugged). Once the feature is complete, the thresholds will be persistent and a GUI will be available to set them. To work around this limitation in the short term, you can [use systemd to set thresholds at boot](#at-boot).
37-
3836
### Using the terminal
3937

4038
You can see the thresholds that are currently set using this command:
@@ -74,9 +72,12 @@ The thresholds can be controlled by reading from and writing to these sysfs file
7472

7573
### At boot
7674

77-
To work around the limitation in open firmware causing the thresholds to be reset when the system
78-
is shut down and unplugged, you can set the thresholds at boot via systemd. To do so, create a file called
79-
`/etc/systemd/system/charge-thresholds.service` with the following contents:
75+
Open Firmware versions dated 2025-02-04 and later save the charging thresholds automatically.
76+
As a result, this "at boot" workaround is no longer needed.
77+
78+
Earlier versions of firmware lost their configured thresholds when the system was shut down and unplugged.
79+
To work around this limitation in earlier firmware versions, you can set the thresholds at boot via systemd.
80+
To do so, create a file called `/etc/systemd/system/charge-thresholds.service` with the following contents:
8081

8182
```
8283
[Unit]

0 commit comments

Comments
 (0)