Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trebled-tech/e6d7e78ce4d6cb059b8cc1f8bac60670 to your computer and use it in GitHub Desktop.
Save trebled-tech/e6d7e78ce4d6cb059b8cc1f8bac60670 to your computer and use it in GitHub Desktop.
Quick how-to on building System76's power management on Elementary OS 6.1
# (assumes a standard install of Elementary OS 6.1)
# (following steps are cleaned-up and condensed from 100% trail and error, but easily figured out based on compile outputs)
# build
apt-get install -y git cargo libdbus-1-dev pkg-config libusb-1.0-0-dev
mkdir ~/git_repos
cd ~/git_repos
git clone https://github.com/pop-os/system76-power.git
cd ~/git_repos/system76-power
make
# install
sudo make install
sudo systemctl enable --now system76-power.service
# validation
sudo system76-power profile
sudo system76-power profile battery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment