Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #61014

Bug#898629: improve battery life on laptop with kernel config

From Hideki Yamane <henrich@iijmio-mail.jp>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#898629: improve battery life on laptop with kernel config
Date 2018-05-14 15:10 +0200
Message-ID <vPloJ-7j-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: linux
Version: 4.17~rc3-1~exp1
Severity: wishlist
Tags: patch

Hi,

 I've found Fedora28 tries to improve battery life on laptop.
 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. 


 Can we introduce such improvement into debian kernel? (especially amd64)
 I've tested it with modified 4.17~rc3 kernel as below and powertop, power
 consumption becomes 5.76 w to 4.61 w on my ThinkPad E450.


--- ./linux-4.17~rc3/debian/config/config	2018-04-20 09:33:41.000000000 +0900
+++ /home/henrich/linux-4.17~rc3/debian/config/config	2018-05-06 10:54:04.478447041 +0900
@@ -199,6 +199,7 @@
 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 @@
 ## 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
@@ -7327,7 +7329,8 @@
 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

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#898629: improve battery life on laptop with kernel config Hideki Yamane <henrich@iijmio-mail.jp> - 2018-05-14 15:10 +0200

csiph-web