Skip to content

Systemd service (start/stoppable) to minimize the power consumption of your notebook/pc running on Linux.

Notifications You must be signed in to change notification settings

Thoma5/pc-reduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

pc-reduction

Simple scipt to minimize the power consumption of your notebook/pc running on Linux.

Currently only tested on my Dell Inspirion Ultrabook (14z 5423).

Requirements

Recommended kernel params (additionally to those you already have like quiet etc.):

acpi_osi='!Windows 2012' acpi_osi='Linux' add_efi_memmap video.use_native_backlight=1 drm.vblankoffdelay=1 pcie_aspm=force i915.enable_rc6=7 i915.enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1 nmi_watchdog=0 

Watch out! There are currently some problems with some of the i915 params and Intel Skylake Iris graphics, which will keep your X Server from starting...

If you are using an Atheros 9k wifi device, you will also need :

ath9k.ps_enable=1

I don't know if this also reduces power consumption? Propably not worth to disable ipv6:

ipv6.disable=1

Warning

Could lead to data loss if your device is not compatible to the techology used (SATA_ALPM,ASPM,...).

Install

To install:

git clone https://github.com/Thoma5/pc-reduction.git
cd pc-reduction
sudo cp pc_reduction /usr/lib/systemd/scripts/
sudo cp pc_reduction.service /usr/lib/systemd/system/
sudo chown root:root /usr/lib/systemd/scripts/pc_reduction
sudo chmod +x /usr/lib/systemd/scripts/pc_reduction
sudo chown root:root /usr/lib/systemd/system/pc_reduction.service

To activate:

sudo systemctl start pc_reduction.service

To deactivate:

sudo systemctl stop pc_reduction.service

For activation on startup:

sudo systemctl enable pc_reduction.service

and same with disable for deactivating.

Disclaimer

I am not responsible if you use this and brick your device or if you suffer data loss or if your device blows up, implodes, flames start shooting from it or anything else. Use at your own risk. I am not responsible...

About

Systemd service (start/stoppable) to minimize the power consumption of your notebook/pc running on Linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages