Skip to content

Instantly share code, notes, and snippets.

@nicolargo
Last active March 2, 2025 18:48
Show Gist options
  • Save nicolargo/00e6c5b9e9267ff9eb290ade3d093501 to your computer and use it in GitHub Desktop.
Save nicolargo/00e6c5b9e9267ff9eb290ade3d093501 to your computer and use it in GitHub Desktop.
Reduce power consuption of my Dell XPS 9530 laptop on Ubuntu 24.04 LTS
Before configuration, consumption is ~ 20 Watts (use powertop)
Configuration, install the Tlp software:
sudo apt instal tlp
then create (or edit by addind the line echo line), the /etc/rc.local file:
#!/bin/sh -e
echo auto > /sys/bus/pci/devices/0000\:01\:00.0/power/control
Note: Do not forget to chmod a+x /etc/rc.local
After configuration, consumption is ~ 10 Watts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment