Acer

Capability

  • 2 modes: Full Capacity Mode, and Maximum Life Span mode.
  • The charging threshold are fixed at value 100% and 80% and are not customizable.
  • Full Capacity mode is the what Acer refers to as Battery Charge Limit enabled (100%).
  • Maximum Life Span mode is the what Acer refers to as Battery Charge Limit disabled (80%).

Dependencies

Depends on separate kernel module acer-wmi-battery, that need to be installed.

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.

https://github.com/frederik-h/acer-wmi-battery
https://github.com/maxco2/acer-battery-wmi
https://github.com/PXDiv/Div-Linuwu-Sense For Predator / Nitro models.

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.

Testing charging threshold using command-line

After installing kernel module below sysfs path will be available and charging threshold/mode can be changed. Now user will be able to set charging threshold, using commandline and test charging behavior. Charging mode can be set by using echo command in terminal.

To turn on Battery Limit charge

Require root privileges

acer-battery-wmi frederik-h and maxco2 kernel module

echo '1' | pkexec tee /sys/bus/wmi/drivers/acer-wmi-battery/health_mode


PXDiv/Div-Linuwu-Sense Nitro

echo '1' | pkexec tee /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/nitro_sense/battery_limiter


PXDiv/Div-Linuwu-Sense Predator

echo '1' | pkexec tee /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/predator_sense/battery_limiter


To turn off Battery Limit charge

Require root privileges

acer-battery-wmi frederik-h and maxco2 kernel module

echo '0' | pkexec tee /sys/bus/wmi/drivers/acer-wmi-battery/health_mode


PXDiv/Div-Linuwu-Sense Nitro

echo '0' | pkexec tee /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/nitro_sense/battery_limiter


PXDiv/Div-Linuwu-Sense Predator

echo '0' | pkexec tee /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/predator_sense/battery_limiter


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.

The current threshold value can also be read using cat command in terminal.

acer-battery-wmi frederik-h and maxco2 kernel module

cat  /sys/bus/wmi/drivers/acer-wmi-battery/health_mode


PXDiv/Div-Linuwu-Sense Nitro

cat /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/nitro_sense/battery_limiter


PXDiv/Div-Linuwu-Sense Predator

cat  /sys/module/linuwu_sense/drivers/platform:acer-wmi/acer-wmi/predator_sense/battery_limiter


Condition for applying threshold

  • Accepted values for health_mode : 0 or 1

If charging threshold are applied successfully using above commands, the extension is compatible.

Quick Settings


Gnome 43 and above Gnome 42

Extension Preferences



Back to top