From 666caf0511e05c19eecb57aa49823a09cd656d1a Mon Sep 17 00:00:00 2001 From: Francesco Palmarini Date: Tue, 28 Aug 2018 09:00:56 +0200 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index c4410cd..5cfd54d 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,20 @@ git clone https://github.com/erpalma/lenovo-throttling-fix.git sudo ./install.sh ``` +### Uninstall +To permanently stop and disable the execution just issue: +``` +systemctl stop lenovo_fix.service +systemctl disable lenovo_fix.service +``` +If you also need to remove the script from the system: +``` +rm -rf /opt/lenovo_fix /etc/systemd/system/lenovo_fix.service +# to purge also the config file +rm /etc/lenovo_fix.conf +``` +On Arch you should probably use `pacman -R lenovo-throttling-fix-git` instead. + ## Configuration The configuration has moved to `/etc/lenovo_fix.conf`. Makefile does not overwrite your previous config file, so you need to manually check for differences in config file structure when updating the tool. If you want to overwrite the config with new defaults just issue `sudo cp etc/lenovo_fix.conf /etc`. There exist two profiles `AC` and `BATTERY` and the script can be totally disabled by setting `Enabled: False` in the `GENERAL` section. Undervolt is applied if any voltage plane in the config file (section UNDERVOLT) was set. Notice that the offset is in *mV* and only undervolting (*i.e.* negative values) is supported. All fields accept floating point values as well as integers.