Power saving (after looking for wiki)

powersave
intelgpu
power-management
#1

Hello all,

I'm a newbie,recently switched to Manjaro from Ubuntu on a laptop (Dual boot with Windows 7)
My major concern is power consumption, Everything is fine on windows, but not on Ubuntu or Manjaro.
Have gone through the following:

  1. [HowTo] Power savings setup| 20180906
  2. No batteries detected on Manjaro

Grub configuration:

GRUB_CMDLINE_LINUX="scsi_mod.use_blk_mq=1 acpi_osi=Linux acpi_osi='!Windows 2015' acpi=force acpi_enforce_resources=lax i915.modeset=1 kernel.nmi_watchdog=0 rd.udev.log-priority=3"

Installed TLP
TLP Config:

--- TLP 1.2.1 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_HWP_ON_AC=balance_performance
CPU_HWP_ON_BAT=balance_power
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="nvme0n1 sda"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm max_performance"
AHCI_RUNTIME_PM_TIMEOUT=15
RADEON_POWER_PROFILE_ON_AC=default
RADEON_POWER_PROFILE_ON_BAT=default
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=0
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=0
RESTORE_DEVICE_STATE_ON_STARTUP=0
NATACPI_ENABLE=1
TPACPI_ENABLE=1
TPSMAPI_ENABLE=1

+++ Processor
CPU model      = Intel(R) Core(TM) i5-4300M CPU @ 2.60GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3300000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3300000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3300000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3300000 [kHz]

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  24 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  27 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  26

x86_energy_perf_policy.cpu0                            = power 
x86_energy_perf_policy.cpu1                            = power 
x86_energy_perf_policy.cpu2                            = power 
x86_energy_perf_policy.cpu3                            = power 

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

INXI -FXZZZ

System:
  Host: shreenivas-pc Kernel: 4.19.36-1-MANJARO x86_64 bits: 64 
  compiler: gcc v: 8.3.0 Desktop: Xfce 4.13.3git-UNKNOWN tk: Gtk 3.24.7 
  info: xfce4-panel wm: xfwm4 dm: LightDM 1.28.0 Distro: Manjaro Linux 
Machine:
  Type: Laptop System: FUJITSU product: LIFEBOOK E744 v: 10601186099 
  serial: <filter> Chassis: type: 10 v: LIFEBOOK E744 serial: <filter> 
  Mobo: FUJITSU model: FJNB270 v: M3 serial: <filter> 
  UEFI: FUJITSU // Phoenix v: Version 1.07 date: 03/10/2014 
Battery:
  ID-1: CMB1 charge: 9.7 Wh condition: 46.4/51.1 Wh (91%) volts: 14.0/14.4 
  model: Fujitsu CP673057-02 type: Li-ion serial: <filter> 
  status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i5-4300M bits: 64 type: MT MCP 
  arch: Haswell rev: 3 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20762 
  Speed: 898 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 898 2: 899 
  3: 898 4: 901 
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics 
  vendor: Fujitsu Limited. driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:0416 
  Display: x11 server: X.Org 1.20.4 driver: intel 
  unloaded: fbdev,modesetting alternate: vesa resolution: 1600x900~60Hz 
  OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 19.0.3 
  compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Fujitsu Limited. driver: snd_hda_intel v: kernel bus ID: 00:03.0 
  chip ID: 8086:0c0c 
  Device-2: Intel 8 Series/C220 Series High Definition Audio 
  vendor: Fujitsu Limited. driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  chip ID: 8086:8c20 
  Sound Server: ALSA v: k4.19.36-1-MANJARO 
Network:
  Device-1: Intel Ethernet I217-V vendor: Fujitsu Limited. driver: e1000e 
  v: 3.2.6-k port: 3080 bus ID: 00:19.0 chip ID: 8086:153b 
  IF: enp0s25 state: down mac: <filter> 
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: efa0 
  bus ID: 02:00.0 chip ID: 8086:08b1 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 9.42 GiB (2.0%) 
  ID-1: /dev/sda vendor: Seagate model: ST500LM000-1EJ162 size: 465.76 GiB 
  speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: FJ14 scheme: GPT 
Partition:
  ID-1: / size: 18.21 GiB used: 8.62 GiB (47.3%) fs: ext4 dev: /dev/sda5 
  ID-2: /home size: 76.88 GiB used: 824.0 MiB (1.0%) fs: ext4 dev: /dev/sda7 
  ID-3: swap-1 size: 488.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:
  System Temperatures: cpu: 60.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 179 Uptime: 26m Memory: 7.69 GiB used: 895.1 MiB (11.4%) 
  Init: systemd v: 242 Compilers: gcc: 8.3.0 Shell: bash v: 5.0.3 
  running in: xfce4-terminal inxi: 3.0.33 

It would be good for me to find a solution

Thanks.

#2

How do you know it's not fine?

#3

Do we have precise numbers about power consumption? Best way I guess it's run youtube video (just only video with one browser tab) on windows/ubuntu and manjaro and compare results

#4

Your BIOS is way out of date. The new version contains meltdown and spectre fixes apart from any other improvements. Current is 1.26 (19/02/2019), you can download it from the Fujitsu website. Since you are running Windows on it still, use the Windows version of the BIOS Update as it contains a flashing utility to apply it.

My Lifebook A512 now gives me a full working day now from full charge to 10% using Manjaro and the tweaks in the Power saving setup thread. I've just fitted a brand new 5200mAh battery I got through Amazon since the original 4400mAh was starting to fail. The old battery managed around 5 hours when new but only did 3 and a half lately.

The critical difference with mine from the stock A512 is the fact I have fitted a Crucial MX300 SSD. This consumes far less power than the 500GB mechanical WD Blue that came with it.

#5

@jonathon Well, it takes 2 hours to completely drain off in linux, whereas 4 to 4.30 hours in Windows. Suggest me tool like tlp-stat -b in windows to estimate current level in mAh, so that i can compare between Windows and Linux as @webcapcha suggested with youtube.

@micsim35 Thanks, for the suggestion, I agree that hardware changes have great impacts. But my main concern is that windows provides good battery life while linux can't on the same hardware, I don't know about BIOS much.
*** BTW I have installed Manjaro in efi mode. Don't know if this is relevant.

#6

What do you mean? tlp-stat in Linux also shows current level in mAh.
Or you can even do like watch cat /sys/class/power_supply/BAT0/charge_now It will refresh every 2 second (just throw away last three 0)

#7

I mean that I need same kinda tool for windows. In linux I can do with tlp ofcourse

#8

for example powercfg /batteryreport /output "C:\ battery_report.html" in windows console
also there are some graphical tools like HWiNFO64

#9

And I need a clarification: Will changing acpi in grub affect windows boot also?

#10

No it won't affect windows at all, the command is specific for booting linux only.

Regarding EFI versus Legacy BIOS mode, I use EFI too, it is irrelevant to power saving.

From the information you posted above, it appears you have not actually configured tlp for your processor yet. Do that as well. This is my configuration, you should alter yours according to the notes in tlp specific to your own processor generation:

sudo tlp-stat
[sudo] password for antikythera: 
--- TLP 1.2.1 --------------------------------------------

+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
CPU_SCALING_GOVERNOR_ON_AC=powersave
CPU_SCALING_GOVERNOR_ON_BAT=powersave
CPU_SCALING_MIN_FREQ_ON_AC=1200000
CPU_SCALING_MAX_FREQ_ON_AC=2400000
CPU_SCALING_MIN_FREQ_ON_BAT=1200000
CPU_SCALING_MAX_FREQ_ON_BAT=1200000
CPU_MIN_PERF_ON_AC=50
CPU_MAX_PERF_ON_AC=100
CPU_MIN_PERF_ON_BAT=50
CPU_MAX_PERF_ON_BAT=50
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=power
DISK_DEVICES="nvme0n1 sda"
DISK_APM_LEVEL_ON_AC="keep keep"
DISK_APM_LEVEL_ON_BAT="keep keep"
DISK_SPINDOWN_TIMEOUT_ON_AC="keep keep"
DISK_SPINDOWN_TIMEOUT_ON_BAT="keep keep"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm max_performance"
AHCI_RUNTIME_PM_TIMEOUT=15
RADEON_POWER_PROFILE_ON_AC=default
RADEON_POWER_PROFILE_ON_BAT=default
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=off
WIFI_PWR_ON_BAT=on
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_AC=0
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
USB_AUTOSUSPEND=0
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=0
RESTORE_DEVICE_STATE_ON_STARTUP=0
NATACPI_ENABLE=1
TPACPI_ENABLE=1
TPSMAPI_ENABLE=1

+++ System Info
System         = FUJITSU  LIFEBOOK A512
BIOS           = Version 1.24
Release        = "Manjaro Linux"
Kernel         = 5.1.0-1-MANJARO #1 SMP PREEMPT Mon May 6 05:10:55 UTC 2019 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-5.1-x86_64 root=UUID=42c33c8c-01c6-49c6-8a55-5ae5b84be575 rw i915.modeset=1 scsi_mod.use_blk_mq=1 quiet resume=UUID=f7727171-baf0-4faa-a6c9-c165aca2bd01
Init system    = systemd 
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = enabled
Last run       = 09:10:58,     77 sec(s) ago
Mode           = battery
Power source   = battery

+++ Processor
CPU model      = Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =  1200000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  1200000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =  1200000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  1200000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =  1200000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  1200000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =  1200000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  1200000 [kHz]

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  50 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      =  50 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   1
/sys/devices/system/cpu/intel_pstate/turbo_pct         =   0 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  13

x86_energy_perf_policy.cpu0                            = power 
x86_energy_perf_policy.cpu1                            = power 
x86_energy_perf_policy.cpu2                            = power 
x86_energy_perf_policy.cpu3                            = power 

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

+++ Temperatures
CPU temp               =    41 [°C]
Fan speed              = (not available)

+++ File System
/proc/sys/vm/laptop_mode               =     2
/proc/sys/vm/dirty_writeback_centisecs =  6000
/proc/sys/vm/dirty_expire_centisecs    =  6000
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Storage Devices
Devices = nvme0n1 sda

/dev/nvme0n1: not present.

/dev/sda:
  Type      = ATA
  Model     = Crucial_CT525MX300SSD1                  
  Firmware  = M0CR070
  APM Level = none/disabled
  Status    = active/idle
  TRIM      = supported
  Scheduler = [none] mq-deadline kyber bfq (multi queue)

  Runtime PM: control = on, autosuspend_delay_ms =   -1

  SMART info:
      9 Power_On_Hours            =      640 [h]
     12 Power_Cycle_Count         =     1040 
    194 Temperature_Celsius       =       23 (Min/Max 17/62)  [°C]

+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host0/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host1/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host2/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host3/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host4/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host5/link_power_management_policy  = med_power_with_dipm

+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:1f.2/ata1/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata2/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata3/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata4/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata5/power/control = on
/sys/bus/pci/devices/0000:00:1f.2/ata6/power/control = on

+++ Intel Graphics
/sys/module/i915/parameters/enable_dc        = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc       =  0 (disabled)
/sys/module/i915/parameters/enable_psr       = -1 (use per-chip default)
/sys/module/i915/parameters/modeset          =  1 (enabled)

/sys/class/drm/card0/gt_min_freq_mhz         =   350 [MHz]
/sys/class/drm/card0/gt_max_freq_mhz         =  1000 [MHz]
/sys/class/drm/card0/gt_boost_freq_mhz       =  1000 [MHz]
/sys/kernel/debug/dri/0/i915_ring_freq_table: 350 400 450 500 550 600 650 700 750 800 850 900 950 1000 [MHz] 

+++ Wireless
bluetooth = on
wifi      = on
wwan      = none (no device)

hci0(btusb)                   : bluetooth, not connected
wlp1s0(iwlwifi)               : wifi, connected, power management = on

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 1
/sys/module/snd_hda_intel/parameters/power_save_controller = Y

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)

+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu mei_me nouveau nvidia pcieport radeon (default)

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, ivb_uncore)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:16.0/power/control = on   (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:1a.0/power/control = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1b.0/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.3/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x020000, Ethernet controller, r8169)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)

+++ USB
Autosuspend         = disabled
Device whitelist    = (not configured)
Device blacklist    = (not configured)
Bluetooth blacklist = disabled
Phone blacklist     = disabled
WWAN blacklist      = disabled

Bus 004 Device 004 ID 8087:07da control = auto, autosuspend_delay_ms = 2000 -- Intel Corp.  (btusb)
Bus 004 Device 003 ID 046d:c52b control = on,   autosuspend_delay_ms = 2000 -- Logitech, Inc. Unifying Receiver (usbhid)
Bus 004 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =    0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 004 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 003 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 004 ID 04f2:b302 control = auto, autosuspend_delay_ms = 2000 -- Chicony Electronics Co., Ltd  (uvcvideo)
Bus 001 Device 002 ID 8087:0024 control = auto, autosuspend_delay_ms =    0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Features
natacpi    = inactive (no kernel support)
tpacpi-bat = inactive (laptop not supported)
tp-smapi   = inactive (laptop not supported)

+++ Battery Status
/sys/class/power_supply/BAT1/manufacturer                   = PAC  
/sys/class/power_supply/BAT1/model_name                     = BAT1
/sys/class/power_supply/BAT1/cycle_count                    = (not supported)
/sys/class/power_supply/BAT1/charge_full_design             =   5200 [mAh]
/sys/class/power_supply/BAT1/charge_full                    =   5292 [mAh]
/sys/class/power_supply/BAT1/charge_now                     =   5226 [mAh]
/sys/class/power_supply/BAT1/current_now                    =    916 [mA]
/sys/class/power_supply/BAT1/status                         = Discharging


Charge                                                      =   98.8 [%]
Capacity                                                    =  101.8 [%]
#11

Done, the changes:

#CPU_SCALING_MIN_FREQ_ON_AC=800000
#CPU_SCALING_MAX_FREQ_ON_AC=3300000
#CPU_SCALING_MIN_FREQ_ON_BAT=800000
#CPU_SCALING_MAX_FREQ_ON_BAT=2500000

Based on output of tlp-stat -p
But when i run tlp-stat -c those cpu scaling details doesnt show up like yours @micsim35

#12

you have to restart tlp after making any changes:

sudo systemctl restart tlp

#13

powertop is another useful tool for measuring power draw of different devices and software.

For example, you could be running a file indexer in the background.

#14

@jonathon
I have installed and changed some tunables, but noticed no improvement, pls tell me what I have to exactly look for in powertop

@micsim35 I have restarted laptop itself, now restarted tlp also, I ll share if there is any improvement.

#15

Things which are taking up power. You have to read the output and use a bit of common sense.

1 Like
#16

@micsim35 : the right way to apply changed TLP settings is:

tlp start

Refer to the FAQ

#17

@linrunner thanks for the information. I copied that method I gave above from here, so feel free to correct the wiki post compiled by other forum members but add a comment as to why to the bottom of the thread.

#18

Sorry, out of station for a while. After those changes, restarted tlp, there is some improvement, still not great compared to windows.
Windows gives me 3 minutes for 1%, Manjaro 2 minutes for 1%. The activities are:
Windows - Working MS Excel 2010
Manjaro - Working with Mousepad Text editor and occassioanlly running a very small pygtk app.

#19

I'm not sure what you're expecting here, but there's not a "magic button" to press which "fixes" power consumption.

All of the available resources have been linked to or mentioned already, apart from maybe the Arch wiki (which is well worth reading no matter which distro you're using).

You also didn't mention whether you updated your BIOS or not, or whether you looked at PowerTOP to see what might indicate power consumption.

You're the only one with your laptop in from of you. You need to do some work to try and harrow down the issue.

"Help us, help you."

On the other hand, if you need MS Excel then you should just run Windows and be happy.

#20

Ofcourse, I didn't expect a magic button, I'm also interested in understanding linux in the process. So I can also share powertop devices:

              Usage     Device name
              6.1%        DRAM
              6.1%        CPU misc
              6.1%        CPU core
            100.0%        USB device: xHCI Host Controller
            100.0%        USB device: usb-device-0b97-7761
            100.0%        USB device: O2Micro CCID SC Reader (O2)
            100.0%        USB device: USB Receiver (Logitech)
              9.6%        Display backlight
              0.0%        Audio codec hwC1D0: Realtek
              0.0%        Radio device: btusb
            100.0%        PCI Device: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader
            100.0%        PCI Device: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
            100.0%        Radio device: iwlwifi
            100.0%        PCI Device: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI
            100.0%        PCI Device: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1
            100.0%        PCI Device: Intel Corporation Wireless 7260
            100.0%        PCI Device: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8

and the tunables page:

Bad           Enable SATA link power management for host2                                                            
   Bad           Enable SATA link power management for host3
   Bad           Enable SATA link power management for host1
   Bad           Enable SATA link power management for host4
   Bad           Enable SATA link power management for host0
   Bad           VM writeback timeout
   Good          Autosuspend for USB device O2Micro CCID SC Reader [O2]
   Bad           Autosuspend for USB device USB Receiver [Logitech]
   Bad           Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1
   Bad           Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6
   Bad           Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1
   Bad           Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8
   Good          Bluetooth device interface status
   Good          Enable Audio codec power management
   Good          NMI watchdog should be turned off
   Good          Runtime PM for I2C Adapter i2c-0 (i915 gmbus ssc)
   Good          Autosuspend for unknown USB device 2-8 (8087:07dc)
   Good          Runtime PM for I2C Adapter i2c-4 (i915 gmbus dpb)
   Good          Runtime PM for I2C Adapter i2c-5 (i915 gmbus dpd)
   Good          Autosuspend for unknown USB device 2-5 (0b97:7761)
   Good          Autosuspend for unknown USB device 3-1 (8087:8000)
 Good          Autosuspend for USB device EHCI Host Controller [usb3]
   Good          Runtime PM for PCI Device Intel Corporation HM86 Express LPC Controller
   Good          Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
   Good          Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader
   Good          Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller
   Good          Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2
   Good          Runtime PM for PCI Device Intel Corporation Ethernet Connection I217-V
   Good          Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller
   Good          Runtime PM for PCI Device Intel Corporation Wireless 7260
   Good          Runtime PM for PCI Device Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
   Good          Runtime PM for PCI Device Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
   Good          Runtime PM for PCI Device Intel Corporation 4th Gen Core Processor Integrated Graphics Controller
   Good          Runtime PM for PCI Device Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI

Apart from turning into good, For those chipsets what can i do?

Edit:
I told that I was using MS Excel only to support the fact of 3 minutes per % of battery in Windows.