powersave ========= A fork from vodik's `powersave` [1]. My configuration for maximizing the battery life on my Vaio VPCSA4. Included here are various configs that set or control certain power saving features. As much as possible is set statically on boot; it's silly to have needless power consumption. This is integrated with vodik's backlight-util package `lightd` [2]. modprobe.d/powersave.conf ------------------------- Set the following kernel module options: - `kbd_backlight=0` for `sony_laptop` - `autosuspend=1` for `usbcore` - `power_save=1` and `power_save_controller=Y` for `snd_hda_intel` sysctl.d/powersave.conf ----------------------- - disable NMI watchdog - set laptop mode - increase the dirty expire/writeback time rules.d/50-*-powersave.rules ---------------------------- - `backlight`: Set brightness depending on AC power. - `network`: Set the powersaving features that must be enabled by 3rd-party commands: ethtool -s ethX wol d iw dev wlanX set power_save on - `pci` and `usb`: Set power management attributes `power/control="auto"` for PCI and USB devices. - `sata`: Enable SCSI/SATA link powersaving features - `sony`: Set fan control profile `silent` for `sony-laptop`. Links ----- [1] https://github.com/vodik/powersave [2] https://github.com/vodik/lightd