Decreased Battery life

I’ve recently switched from Ubuntu 18.04/20.04 to start using eos, I feel like the battery drain on eos is significantly faster than on either ubuntu variant.

I am running a thinkpad E495, so with AMD CPU and no separate GPU. I have installed tlp, tp_smapi, and acpi_call following this arch wiki article. The battery still drains incredibly fast, i.e. total battery life approx 2 hrs when before it could go for more like perhaps 4-6.

I’ve also followed the Force battery (BAT) configuration by setting TLP_DEFAULT_MODE=BAT in /etc/tlp.conf. Is there something else to do or is this kind of battery life just something to accept?

See tlp status below:

[morten@endeavour ~]$ sudo tlp-stat 
--- TLP 1.3.1 --------------------------------------------

+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
defaults.conf L0012: SCHED_POWERSAVE_ON_AC="0"
defaults.conf L0013: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0014: NMI_WATCHDOG="0"
defaults.conf L0015: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0016: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0017: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
defaults.conf L0019: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0020: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0021: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0022: PCIE_ASPM_ON_AC="default"
defaults.conf L0023: PCIE_ASPM_ON_BAT="default"
defaults.conf L0024: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0025: RADEON_POWER_PROFILE_ON_BAT="default"
defaults.conf L0026: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0027: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0028: WIFI_PWR_ON_AC="off"
defaults.conf L0029: WIFI_PWR_ON_BAT="on"
defaults.conf L0030: WOL_DISABLE="Y"
defaults.conf L0031: SOUND_POWER_SAVE_ON_AC="0"
defaults.conf L0032: SOUND_POWER_SAVE_ON_BAT="1"
defaults.conf L0033: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0034: BAY_POWEROFF_ON_AC="0"
defaults.conf L0035: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0036: BAY_DEVICE="sr0"
defaults.conf L0037: RUNTIME_PM_ON_AC="on"
defaults.conf L0038: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
defaults.conf L0040: USB_AUTOSUSPEND="1"
defaults.conf L0041: USB_BLACKLIST_BTUSB="0"
defaults.conf L0042: USB_BLACKLIST_PHONE="0"
defaults.conf L0043: USB_BLACKLIST_PRINTER="1"
defaults.conf L0044: USB_BLACKLIST_WWAN="0"
defaults.conf L0045: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
defaults.conf L0046: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0047: RESTORE_THRESHOLDS_ON_BAT="0"
defaults.conf L0048: NATACPI_ENABLE="1"
defaults.conf L0049: TPACPI_ENABLE="1"
defaults.conf L0050: TPSMAPI_ENABLE="1"
/etc/tlp.conf L0031: TLP_DEFAULT_MODE="BAT"

+++ System Info
System         = LENOVO ThinkPad E495 20NE0001US
BIOS           = R11ET40W (1.20 )
Release        = "EndeavourOS Linux"
Kernel         = 5.10.11-arch1-1 #1 SMP PREEMPT Wed, 27 Jan 2021 13:53:16 +0000 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=779cbe99-9c78-4c30-8066-9b8079a48712 rw quiet loglevel=3 nowatchdog
Init system    = systemd 
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = not installed
Last run       = 12:25:31,   1138 sec(s) ago
Mode           = battery
Power source   = battery

+++ Processor
CPU model      = AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver    = acpi-cpufreq
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor  = schedutil
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = conservative ondemand userspace powersave performance schedutil 
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq  =  1400000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies = 2300000 1700000 1400000 [kHz]

/sys/devices/system/cpu/cpufreq/boost                  = 1

Intel EPB: unsupported CPU.

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

+++ Temperatures
/proc/acpi/ibm/thermal = 48 0 0 0 0 0 0 0 [°C]
/proc/acpi/ibm/fan     =     0 [/min]

+++ 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
/proc/sys/fs/xfs/xfssyncd_centisecs    =  3000

+++ Storage Devices
Devices = nvme0n1 sda

/dev/nvme0n1:
  Type      = NVMe
  Model     = UMIS RPJTJ256MED1OWX                    
  Firmware  = 2311.1.0
  Scheduler = [none] mq-deadline kyber bfq (multi queue)

  Runtime PM: control = auto, autosuspend_delay_ms = (not available)

  SMART info:
    Critical Warning:                   0x00
    Temperature:                        33 Celsius
    Available Spare:                    100%
    Available Spare Threshold:          10%
    Percentage Used:                    0%
    Data Units Written:                 7.095.386 [3,63 TB]
    Power Cycles:                       2.383
    Power On Hours:                     1.159
    Unsafe Shutdowns:                   38
    Media and Data Integrity Errors:    0

/dev/sda: not present.

+++ AHCI Link Power Management (ALPM)
No AHCI-enabled host controller detected.

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

hci0(btusb)                   : bluetooth, not connected
wlan0(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] performance powersave powersupersave (using BIOS preferences)

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

/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:00.2/power/control = auto (0x080600, IOMMU, no driver)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:01.1/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.2/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.3/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:01.6/power/control = on   (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:08.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:08.1/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0500, SMBus, piix4_smbus)
/sys/bus/pci/devices/0000:00:14.3/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:18.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.1/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.2/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.3/power/control = auto (0x060000, Host bridge, k10temp)
/sys/bus/pci/devices/0000:00:18.4/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.5/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.6/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:18.7/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)
/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 (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:05:00.0/power/control = auto (0x030000, VGA compatible controller, amdgpu)
/sys/bus/pci/devices/0000:05:00.1/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:05:00.2/power/control = auto (0x108000, Encryption controller, ccp)
/sys/bus/pci/devices/0000:05:00.3/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.4/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:05:00.5/power/control = auto (0x048000, Multimedia controller, no driver)
/sys/bus/pci/devices/0000:05:00.6/power/control = auto (0x040300, Audio device, snd_hda_intel)

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

Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 003 ID 13d3:56a6 control = auto, autosuspend_delay_ms = 2000 -- IMC Networks Integrated Camera (uvcvideo)
Bus 003 Device 002 ID 8087:0025 control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. Wireless-AC 9260 Bluetooth Adapter (btusb)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = active (data, thresholds)
tpacpi-bat = active (recalibrate)
tp-smapi   = inactive (ThinkPad not supported)

+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = SMP
/sys/class/power_supply/BAT0/model_name                     = 01AV446
/sys/class/power_supply/BAT0/cycle_count                    =    399
/sys/class/power_supply/BAT0/energy_full_design             =  45280 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  43710 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  15790 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   9134 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging

/sys/class/power_supply/BAT0/charge_start_threshold         =     95 [%]
/sys/class/power_supply/BAT0/charge_stop_threshold          =    100 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0

Charge                                                      =   36.1 [%]
Capacity                                                    =   96.5 [%]

[morten@endeavour ~]$ 

sorry i no XP with thinkpad… you can install " powertop " it a tool for diagnose issuse with power management + consumption of power . There also " powertop-auto-tune …

these might help find your power drain

4 Likes

Try to use TLP + TLPUI + Powertop. With TLP, disable cpu boost and make sure the cpu governor is at ondemand. And with Powertop, scroll using tab will you find a list of thing that are either marked bad or good. Unplug your mouse and check all the stuff (If you check everything while having your mouse plugged, the mouse will get disconnected after a while till your next click). After that, you’re all done. There is a wiki dedicated to power saving, so it’s better to check that out

I have checked the arch wiki, this is where I got inspiration to look into e.g. TLP and the thinkpad specifics. They also talk about fan-control, but I figured this may be a little dangerous to start playing with.

I set the cpu governor to powersave, you would recommend ondemand instead?

1 Like

@Shjim @TurkeyJohn Following your advice I’ve looked into powertop, and the results are as follows

The battery reports a discharge rate of 7.87 W
The energy consumed was 152 J
The estimated remaining time is 5 hours, 14 minutes

Summary: 1372,0 wakeups/second,  0,0 GPU ops/seconds, 0,0 VFS ops/sec and 31,0% CPU use

Power est.              Usage       Events/s    Category       Description
  832 mW      5,7 ms/s     208,3        Interrupt      PS/2 Touchpad / Keyboard / Mouse
  743 mW      3,7 ms/s     186,7        Timer          tick_sched_timer
  520 mW     26,0 ms/s     121,4        Process        [PID 3607] /usr/lib/electron/electron --type=renderer --field-trial-handle=16742922584191597421,3745693447269666907,131072 --en
  417 mW     24,7 ms/s      95,0        Process        [PID 3600] /usr/lib/electron/electron --type=gpu-process --field-trial-handle=16742922584191597421,3745693447269666907,131072 -
  403 mW     25,1 ms/s      80,2        Process        [PID 1009] /usr/bin/gnome-shell
  402 mW     71,6 ms/s      73,4        Process        [PID 3595] /usr/lib/electron/electron --type=renderer --field-trial-handle=16742922584191597421,3745693447269666907,131072 --en
  303 mW     16,0 ms/s      68,8        Process        [PID 914] /usr/lib/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -
  247 mW     14,5 ms/s      52,6        Process        [PID 2883] /usr/lib/gnome-terminal-server
  227 mW      3,5 ms/s      56,2        Interrupt      [84] amdgpu
  173 mW      4,1 ms/s      42,3        Process        [PID 3599] /usr/lib/electron/electron --type=gpu-process --field-trial-handle=16742922584191597421,3745693447269666907,131072 -
  157 mW      5,2 ms/s      37,3        Process        [PID 2185] /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 6913 -prefMapSize 234250 -parentBuildID 202
  154 mW      4,5 ms/s      37,1        Process        [PID 3604] /usr/lib/electron/electron --type=renderer --field-trial-handle=16742922584191597421,3745693447269666907,131072 --en
  118 mW      2,4 ms/s      28,9        Timer          hrtimer_wakeup
  102 mW      6,1 ms/s      23,3        Process        [PID 2543] /usr/lib/firefox/firefox -contentproc -childID 9 -isForBrowser -prefsLen 9194 -prefMapSize 234250 -parentBuildID 202
 97.3 mW      1,6 ms/s      24,0        Process        [PID 1788] /usr/lib/firefox/firefox
 97.2 mW    322,6 µs/s      24,5        Process        [PID 14] [rcu_preempt]
 93.7 mW     43,8 ms/s       6,4        kWork          commit_work
 91.8 mW     13,2 ms/s      17,9        Process        [PID 1708] /usr/lib/firefox/firefox
 83.4 mW      0,8 ms/s      19,8        Process        [PID 1898] /usr/lib/firefox/firefox
 80.3 mW      9,9 ms/s      16,4        Process        [PID 2385] /usr/lib/firefox/firefox -contentproc -childID 8 -isForBrowser -prefsLen 8672 -prefMapSize 234250 -parentBuildID 202
 46.9 mW      3,7 ms/s      10,4        Process        [PID 2081] /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 6186 -prefMapSize 234250 -parentBuildID 202
 45.9 mW      2,3 ms/s      10,7        Interrupt      [7] sched(softirq)
 38.7 mW    137,2 µs/s       9,7        kWork          psi_avgs_work
 37.9 mW    264,2 µs/s       9,5        Process        [PID 2846] /usr/lib/firefox/firefox
 33.6 mW      1,6 ms/s       7,9        Process        [PID 4065] systemd-tmpfile
 32.9 mW      2,7 ms/s       7,3        Process        [PID 2316] /usr/lib/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 7364 -prefMapSize 234250 -parentBuildID 202
 31.1 mW    408,4 µs/s       7,7        Process        [PID 749] [gfx]
 25.3 mW    420,8 µs/s       6,2        Process        [PID 2402] /usr/lib/firefox/firefox -contentproc -childID 8 -isForBrowser -prefsLen 8672 -prefMapSize 234250 -parentBuildID 202
 23.3 mW      1,3 ms/s       5,4        Process        [PID 1] /sbin/init
 20.0 mW      0,9 ms/s       4,7        Process        [PID 2800] /usr/lib/firefox/firefox -contentproc -childID 11 -isForBrowser -prefsLen 9265 -prefMapSize 234250 -parentBuildID 20
 18.0 mW      1,3 ms/s       4,1        Process        [PID 3328] /usr/lib/firefox/firefox -contentproc -childID 16 -isForBrowser -prefsLen 9452 -prefMapSize 234250 -parentBuildID 20
 17.6 mW    255,9 µs/s       4,0        Process        [PID 1179] /usr/lib/at-spi2-registryd --use-gnome-session
 17.3 mW    195,2 µs/s       4,3        Process        [PID 383] [irq/75-iwlwifi:]
 16.0 mW    501,2 µs/s       3,9        Interrupt      [9] RCU(softirq)
 13.0 mW    199,8 µs/s       3,2        Process        [PID 2339] /usr/lib/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 7364 -prefMapSize 234250 -parentBuildID 202
 12.0 mW      1,0 ms/s       2,6        Process        [PID 2702] /usr/lib/firefox/firefox -contentproc -childID 10 -isForBrowser -prefsLen 9194 -prefMapSize 234250 -parentBuildID 20
 11.2 mW      0,8 ms/s       2,5        Process        [PID 2540] /home/morten/.dropbox-dist/dropbox-lnx.x86_64-114.4.426/dropbox /newerversion
 10.3 mW    183,1 µs/s       2,5        Process        [PID 2212] /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 6913 -prefMapSize 234250 -parentBuildID 202
 9.08 mW     58,4 µs/s       2,3        Interrupt      [33] nvme0q1
 8.90 mW    696,1 µs/s       2,0        Process        [PID 3996] powertop
 8.05 mW    367,3 µs/s       1,8        Process        [PID 3559] /usr/lib/electron/electron --type=gpu-process --field-trial-handle=16742922584191597421,3745693447269666907,131072 -

I only took the visible processes, I figure less than 93mW there’s probably not much to be saved. Some of these I expected, e.g. gnome shell and firefox to draw a lot.

I am a little curious regarding the tick_sched_timer, it was consistently among the most power-drawing applications, but I am not so sure what it is or if there is something to be done.

Otherwise I had “Good” in all tunables except for these two

>> Bad           VM writeback timeout                                                                                   
   Bad           Runtime PM for PCI Device Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0]

but I figure applying the auto-tune should remedy this.

Is this more or less sensible?

Don’t leave it on powersave as you will gain the worst performance out of your pc. What ondemand does is, exactly as what it says, use lesser ghz while idle and more power when an app demands it.

3 Likes

One final thing I forgot to mention, I have an AMD CPU so I’ve neglected the boost option, as far as I could tell this only effects intel processors.

Does it make sense to use TLP and Powertop at the same time? I think I saw some places arguing that they can work “against” each other.

1 Like

I never had any issues when i used powertop and tlp together. But you can just use TLP only

1 Like