Possible solution for setting battery threshold in Qubes

This can be done by opening a terminal at dom0 and:

echo '85' | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold
echo '75' | sudo tee  /sys/class/power_supply/BAT0/charge_control_start_threshold

This is set to:

  • battery starts charging: 75%
  • battery stops charging: 85%
3 Likes