You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depends on separate kernel module `acer-wmi-battery`, that need to be installed.<br>
29
+
30
+
{: .note }
31
+
Update: Acer now offers three optional kernel modules for different laptop model groups. Please review all three links and determine which one matches your specific laptop model.
32
+
29
33
<https://github.com/frederik-h/acer-wmi-battery>
34
+
<br>
35
+
<https://github.com/maxco2/acer-battery-wmi>
36
+
<br>
37
+
<https://github.com/PXDiv/Div-Linuwu-Sense> For Predator / Nitro models.
38
+
30
39
31
40
{: .note }
32
-
`acer-wmi-battery` module is supported by a third party and this extension/author is not in any way responsible for the kernel module installation, bugs or damages.
41
+
Kernel module is supported by a third party and this extension/author is not in any way responsible for the kernel module installation, bugs or damages.
33
42
34
43
## Testing charging threshold using command-line
35
-
After installing `acer-wmi-battery` below sysfs path will be available and charging threshold/mode can be changed.
44
+
After installing kernel module below sysfs path will be available and charging threshold/mode can be changed.
36
45
Now user will be able to set charging threshold, using commandline and test charging behavior.
37
46
Charging mode can be set by using `echo` command in `terminal`.
38
47
<br>
@@ -42,24 +51,62 @@ To turn on **Battery Limit charge**
42
51
43
52
Require root privileges
44
53
{: .label .label-yellow .mt-0}
54
+
55
+
56
+
acer-battery-wmi frederik-h and maxco2 kernel module
45
57
```bash
46
58
echo'1'| pkexec tee /sys/bus/wmi/drivers/acer-wmi-battery/health_mode
59
+
```
60
+
<br>
61
+
PXDiv/Div-Linuwu-Sense Nitro
62
+
```bash
63
+
echo'1'| pkexec tee /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/nitro_sense/battery_limiter
64
+
```
65
+
<br>
66
+
PXDiv/Div-Linuwu-Sense Predator
67
+
```bash
68
+
echo'1'| pkexec tee /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/predator_sense/battery_limiter
69
+
47
70
```
48
71
<br>
49
72
50
73
To turn off **Battery Limit charge**
51
74
52
75
Require root privileges
53
76
{: .label .label-yellow .mt-0}
77
+
78
+
acer-battery-wmi frederik-h and maxco2 kernel module
54
79
```bash
55
80
echo'0'| pkexec tee /sys/bus/wmi/drivers/acer-wmi-battery/health_mode
56
81
```
57
82
<br>
83
+
PXDiv/Div-Linuwu-Sense Nitro
84
+
```bash
85
+
echo'0'| pkexec tee /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/nitro_sense/battery_limiter
86
+
```
87
+
<br>
88
+
PXDiv/Div-Linuwu-Sense Predator
89
+
```bash
90
+
echo'0'| pkexec tee /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/predator_sense/battery_limiter
91
+
```
92
+
<br>
58
93
`sudo` also can be used in place of `pkexec` in the above commands as both `sudo` and `pkexec` can be use to run commands in root mode. To make use of polkit rules, the extension uses `pkexec`.
59
94
60
95
The current threshold value can also be read using `cat` command in `terminal`.
96
+
97
+
acer-battery-wmi frederik-h and maxco2 kernel module
0 commit comments