Toshiba

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 Toshiba refers to as Eco Charge Mode disabled (100%).
  • Maximum Life Span mode is the what Toshiba refers to as Eco Charge Mode enabled (80%).

To change from Full Capacity to Maximum Life Span mode, the battery level should be below 80%.
If the battery level is 80% or above, the embedded controller (EC) refused to set threshold limit to 80%.

Dependencies

  • No dependencies required.
  • Toshiba laptop that allows setting charging threshold are supported by mainline linux kernels.

Testing charging threshold using command-line

For Toshiba laptops the battery powersupply name could be BAT0 or BAT1. Hence charging threshold path could be one of the following and can be check using ls command.
ls -l /sys/class/power_supply/BAT0/charge_control_end_threshold
ls -l /sys/class/power_supply/BAT1/charge_control_end_threshold

Charging mode can be set by using echo command in terminal.

If battery power supply name is BAT0 To enable Eco Charge Mode

Require root privileges

echo '80' | pkexec tee /sys/class/power_supply/BAT0/charge_control_end_threshold


To disable Eco Charge Mode

Require root privileges

echo '100' | pkexec tee /sys/class/power_supply/BAT0/charge_control_end_threshold


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.

cat /sys/class/power_supply/BAT0/charge_control_end_threshold


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

Condition for applying threshold

  • Accepted values for charge_control_end_threshold : 80 or 100
  • When switching threshold from 100 to 80, battery level should below 80%


To change charging threshold from 100% to 80%, the battery level should be below 80%.
If the battery level is 80% or above, the embedded controller (EC) refused to set threshold limit to 80%.

Quick Settings


Gnome 43 and above Gnome 42

Extension Preferences



Back to top