Enable/Disable battery threshold on Lenovo Thinkpad laptops. If you mainly use the system with the AC power adapter connected and only use the battery sporadically, you can increase battery life by setting the maximum charge value to less than 100%. This is useful because batteries that are used sporadically have a longer lifespan when kept at less than full charge.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Version | Status |
---|---|
49 | Active |
48 | Active |
47 | Active |
46 | Inactive |
45 | Active |
44 | Active |
43 | Active |
42 | Active |
41 | Active |
40 | Active |
39 | Active |
38 | Active |
37 | Active |
36 | Active |
35 | Rejected |
34 | Active |
33 | Active |
32 | Active |
31 | Active |
30 | Active |
29 | Active |
28 | Active |
27 | Active |
26 | Active |
25 | Active |
24 | Active |
23 | Active |
22 | Active |
21 | Active |
20 | Active |
19 | Active |
18 | Active |
17 | Active |
16 | Active |
15 | Active |
14 | Inactive |
13 | Active |
12 | Inactive |
11 | Active |
10 | Active |
9 | Active |
8 | Active |
7 | Active |
6 | Active |
5 | Active |
4 | Inactive |
3 | Inactive |
2 | Inactive |
1 | Inactive |
1. Don't use `this.` since that won't allow them to get garbage collected after window close (line 15-16 prefs.js). 2. Extensions cannot use `run_dispose()` (libs/drivers.js and libs/indicator.js): > This function should only be called from object system implementations. https://gjs-docs.gnome.org/gobject20~2.0/gobject.object#method-run_dispose
Thank you!!! I misunderstood about "run_dispose()". I've already corrected it and uploaded a new version.