Skip to content

Instantly share code, notes, and snippets.

View saimonn's full-sized avatar

Simon Séhier saimonn

View GitHub Profile
# 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

Keybase proof

I hereby claim:

  • I am saimonn on github.
  • I am saimonn (https://keybase.io/saimonn) on keybase.
  • I have a public key whose fingerprint is 75AA 85F4 B0B4 900B 8E84 EEFF 0553 47BF 5133 A918

To claim this, I am signing this object: