Script for managing battery charging limits on corebooted ThinkPads using ectool.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nixi 20aa3e7b58 Include README.md 5 years ago
README.md Include README.md 5 years ago
chrlimit.sh Add the current script 5 years ago

README.md

ec-chrlimit

Installation

Simply add an x permission to the script and run it directly from the working directory. You can copy the file to shared binary folder as well, eg. /usr/local/sbin.

This script requires ectool to be installed.

Usage

The script expects two integers (0-100) for lower and upper limit respectively.

$ ./chrlimit.sh 40 80