From ccef5427cac461ca5720e2c5da319b29d3b5af34 Mon Sep 17 00:00:00 2001 From: Hideki Yamane Date: Sun, 20 May 2018 20:21:34 +0900 Subject: [PATCH] Improve Laptop Battery Life (Closes: #898629) I've found Fedora28 tries to improve battery life on laptop. See https://docs.fedoraproject.org/f28/release-notes/sysadmin/Kernel.html#sect-kernel-battery There are three points. 1. A new SATA link-powermanagement-policy has been written which mirrors Windows defaults: med_power_with_dipm, this has been merged for kernel 4.15, as part of this change this new policy will be the default on all Intel mobile chipsets. This saves aprox. 1.0 - 1.5 Watts of power on an idle laptop. 2. Enable Intel HDA codec power-saving by default with a 1 second timeout. This saves aprox. 0.4 Watts of power on an idle laptop. 3. Enable USB autosuspend for USB bluetooth receivers by default. If all other USB devices on the laptop also have USB auto-suspend enabled (which typically is true) this saves aprox. 0.4 Watts of power on an idle laptop. --- debian/config/config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/config/config b/debian/config/config index b5183a63f..d9ba69b1f 100644 --- a/debian/config/config +++ b/debian/config/config @@ -199,6 +199,7 @@ CONFIG_ATA_ACPI=y CONFIG_SATA_ZPODD=y CONFIG_SATA_PMP=y CONFIG_SATA_AHCI=m +CONFIG_SATA_MOBILE_LPM_POLICY=3 # CONFIG_SATA_AHCI_PLATFORM is not set # CONFIG_AHCI_CEVA is not set # CONFIG_AHCI_QORIQ is not set @@ -360,6 +361,7 @@ CONFIG_ZRAM=m ## file: drivers/bluetooth/Kconfig ## CONFIG_BT_HCIBTUSB=m +CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB_RTL=y CONFIG_BT_HCIBTSDIO=m @@ -7329,7 +7331,8 @@ CONFIG_SND_HDA_CODEC_CA0132_DSP=y CONFIG_SND_HDA_CODEC_CMEDIA=y CONFIG_SND_HDA_CODEC_SI3054=y CONFIG_SND_HDA_GENERIC=y -CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 +CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 +CONFIG_SND_HDA_POWER_SAVE=y ## ## file: sound/pcmcia/Kconfig