Skip to content

Instantly share code, notes, and snippets.

@michaelb87
Created June 16, 2022 10:42
Show Gist options
  • Save michaelb87/2b1aa446001020fdbe9dc4e961eccd7a to your computer and use it in GitHub Desktop.
Save michaelb87/2b1aa446001020fdbe9dc4e961eccd7a to your computer and use it in GitHub Desktop.
cat bat_safe.sh
#!/bin/sh
sudo tlp setcharge 75 80 BAT0
sudo tlp setcharge 85 95 BAT1
cat bat_normal.sh
#!/bin/sh
sudo tlp setcharge 93 97 BAT0
sudo tlp setcharge 90 98 BAT1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment