blob: dd19ba7efcaa67219e49e075ba870acee3dca272 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
# repetition is key in here
echo 95 | sudo tee -a /sys/class/power_supply/BAT0/charge_control_end_threshold &>/dev/null
echo 95 | sudo tee -a /sys/class/power_supply/BAT0/charge_control_start_threshold &>/dev/null
echo 95 | sudo tee -a /sys/class/power_supply/BAT0/charge_control_end_threshold &>/dev/null
echo 95 | sudo tee -a /sys/class/power_supply/BAT0/charge_control_start_threshold &>/dev/null
echo 95 | sudo tee -a /sys/class/power_supply/BAT0/charge_control_end_threshold >/dev/null
echo 95 | sudo tee -a /sys/class/power_supply/BAT0/charge_control_start_threshold >/dev/null
|