Skip to content

Instantly share code, notes, and snippets.

@highercomve
Created May 19, 2020 14:35
Show Gist options
  • Select an option

  • Save highercomve/d3cbe9aaeb46971ecd1bfacc0961a263 to your computer and use it in GitHub Desktop.

Select an option

Save highercomve/d3cbe9aaeb46971ecd1bfacc0961a263 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo $1 | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment