This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This simple systemd unit sets battery thresholds to preserve battery life on Lenovo Thinkpad | |
# (works on T470 but might work for others models) | |
# | |
# use this command to create the unit file: | |
# | |
# systemctl edit --force --full battery_thresholds.service | |
# | |
# to enable the service and start it now, type: | |
# | |
# systemctl enable battery_thresholds.service --now |