You are not logged in.

#1 2018-06-23 10:22:26

archapex
Member
Registered: 2018-06-22
Posts: 8

[SOLVED] Bad Battery on New ThinkPad T480

First Time Trying Arch Linux. Everything seems to be working nicely except battery. Installed TLP and PowerTop to monitor. Powertop is giving bizarre readings. Consumption ranges from 10W to 22W when I'm doing nothing. Initially iwlwifi was consuming like 6W but after a couple of days the display is reported to be using 8W and 40% brightness? Now my ethernet is reported to be using 3W and its not even connected. Any help  is appreciated.

Overview
----------------------------------------------                                     

The battery reports a discharge rate of 11.5 W
The power consumed was 0.00 J
The estimated remaining time is 1 hours, 39 minutes
Summary: 1236.8 wakeups/second,  0.0 GPU ops/seconds, 0.0 VFS ops/sec and 15.8% CPU use
Power est.              Usage       Events/s    Category       Description
6.14 W     30.2%                      Device         Display backlight
2.44 W      0.0 pkts/s                Device         Network interface: enp0s31f6 (e1000e)
1.10 W     11.6 ms/s     466.9        Interrupt      PS/2 Touchpad / Keyboard / Mouse
403 mW      2.8 pkts/s                Device         Network interface: wlp3s0 (iwlwifi)
348 mW     19.5 ms/s     141.9        Process        [PID 1259] /usr/bin/telegram-desktop -session 1015f98a2e6000152962160200000011830016_1529754626_322624
344 mW      4.9 ms/s     145.7        Process        [PID 1248] /usr/bin/kwin_x11 -session 1015f98a2e6000152883737500000006450005_1529754626_367552
261 mW      2.1 ms/s     111.2        Timer          tick_sched_timer
187 mW     11.9 ms/s      75.7        Process        [PID 5179] /usr/bin/konsole
181 mW     24.2 ms/s      68.1        Process        [PID 8725] powertop
137 mW     18.5 ms/s      51.8        Process        [PID 803] /usr/lib/Xorg -nolisten tcp -auth /var/run/sddm/{891d80e1-eba2-4dc5-be92-a27157b8ef51} -background none -noreset -dis
117 mW     12.8 ms/s      45.1        Process        [PID 1210] /usr/bin/kwin_x11 -session 1015f98a2e6000152883737500000006450005_1529754626_367552
67.8 mW     27.8 ms/s      18.2        Process        [PID 1216] /usr/bin/plasmashell
60.8 mW    579.3 µs/s      25.9        Process        [PID 9] [rcu_preempt]
20.4 mW    306.5 µs/s       8.6        Process        [PID 397] [irq/157-iwlwifi]
20.2 mW    106.3 µs/s       8.6        Interrupt      [0] HI_SOFTIRQ
17.2 mW      1.7 ms/s       6.7        Process        [PID 3153] /usr/lib/chromium/chromium
11.6 mW    431.5 µs/s       4.8        Interrupt      [158] i915
10.2 mW      1.4 ms/s       3.8        Process        [PID 3743] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
9.29 mW    395.4 µs/s       3.8        Process        [PID 3713] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
8.98 mW     59.3 µs/s       3.8        Process        [PID 10] [rcu_sched]
7.71 mW      1.1 ms/s       2.9        Process        [PID 3582] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
6.71 mW     20.8 µs/s       2.9        Timer          intel_uncore_fw_release_timer
6.51 mW      2.2 ms/s       1.9        kWork          delayed_fput
5.82 mW      1.5 ms/s       1.9        Interrupt      [7] sched(softirq)
4.98 mW    566.9 µs/s       1.9        Process        [PID 3669] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
4.91 mW    493.3 µs/s       1.9        Process        [PID 5103] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
4.90 mW    479.4 µs/s       1.9        Process        [PID 6705] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
4.87 mW    448.1 µs/s       1.9        Process        [PID 5072] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
4.85 mW    428.0 µs/s       1.9        Process        [PID 4219] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
4.75 mW    311.1 µs/s       1.9        Process        [PID 34] [rcuc/3]
4.72 mW    275.6 µs/s       1.9        kWork          __i915_gem_free_work
4.61 mW    159.3 µs/s       1.9        Process        [PID 601] /usr/bin/NetworkManager --no-daemon
4.49 mW     26.2 µs/s       1.9        Process        [PID 1244] /usr/lib/rtkit-daemon
4.47 mW      5.8 µs/s       1.9        kWork          intel_atomic_helper_free_state_
4.46 mW      0.0 µs/s       1.9        kWork          intel_atomic_commit_work
4.46 mW      0.0 µs/s       1.9        kWork          intel_fbc_work_fn
3.05 mW      0.9 ms/s       1.0        Process        [PID 4257] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
2.84 mW    664.7 µs/s       1.0        Process        [PID 3136] /usr/lib/chromium/chromium
2.75 mW    562.7 µs/s       1.0        kWork          i915_gem_idle_work_handler
2.74 mW    559.9 µs/s       1.0        Process        [PID 6643] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
2.74 mW    557.1 µs/s       1.0        Process        [PID 3620] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
2.70 mW    512.3 µs/s       1.0        kWork          i915_hangcheck_elapsed
2.66 mW    468.2 µs/s       1.0        kWork          i915_gem_retire_work_handler
2.64 mW      2.9 ms/s      0.00        Timer          hrtimer_wakeup
2.62 mW    428.7 µs/s       1.0        Process        [PID 4969] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
2.60 mW    401.3 µs/s       1.0        Process        [PID 6675] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
2.27 mW     38.2 µs/s       1.0        Process        [PID 614] [i915/signal:0]
2.26 mW     27.7 µs/s       1.0        Process        [PID 55] [rcuc/6]
2.25 mW     18.9 µs/s       1.0        kWork          vmstat_shepherd
2.24 mW     14.4 µs/s       1.0        kWork          pci_pme_list_scan
2.24 mW      6.7 µs/s       1.0        kWork          flush_to_ldisc
633 µW     691.6 µs/s      0.00        Interrupt      [1] timer(softirq)
499 µW     544.5 µs/s      0.00        Interrupt      [9] RCU(softirq)
448 µW     489.4 µs/s      0.00        Process        [PID 4914] /usr/lib/chromium/chromium --type=renderer --field-trial-handle=3709913913174595986,12533451136115038557,131072 --di
294 µW     321.5 µs/s      0.00        Process        [PID 199] [kworker/u16:3]

Device Stats
----------------------------------------------                                   

The battery reports a discharge rate of 11.9 W
The power consumed was 233 J
System baseline power is estimated at 11.7 W
Power est.    Usage     Device name
6.14 W     30.2%        Display backlight
0.0 pkts/s  Network interface: enp0s31f6 (e1000e)
2.11 W     39.5%        CPU misc
741 mW     39.5%        CPU core
310 mW     39.5%        DRAM
0 mW    100.0%        USB device: xHCI Host Controller
0 mW      0.0%        USB device: Integrated Camera (Azurewave)
0 mW      0.0%        USB device: usb-device-06cb-009a
0 mW      0.0%        USB device: xHCI Host Controller
0 mW      0.0%        Radio device: thinkpad_acpi
0 mW      0.0%        USB device: xHCI Host Controller
0 mW      0.0%        USB device: xHCI Host Controller
0 mW      0.0%        Audio codec hwC0D0: Realtek
100.0%        PCI Device: Intel Corporation Sunrise Point-LP PCI Express Root Port #1
100.0%        PCI Device: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode]
100.0%        PCI Device: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016]
100.0%        PCI Device: Intel Corporation Wireless 8265 / 8275
100.0%        PCI Device: Toshiba America Info Systems Device 0113
100.0%        Radio device: iwlwifi
100.0%        PCI Device: Intel Corporation UHD Graphics 620
100.0%        USB device: USB3.0-CRW (Generic)
100.0%        PCI Device: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller
100.0%        PCI Device: Intel Corporation JHL6240 Thunderbolt 3 NHI (Low Power) [Alpine Ridge LP 2016]
100.0%        PCI Device: Intel Corporation Sunrise Point-LP PCI Express Root Port #9
100.0%        PCI Device: Intel Corporation Sunrise Point-LP PCI Express Root Port #5
100.0%        PCI Device: Intel Corporation Sunrise Point-LP Thermal subsystem
100.0%        PCI Device: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016]
100.0%        PCI Device: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
100.0%        PCI Device: NVIDIA Corporation GP108M [GeForce MX150]
100.0%        PCI Device: Intel Corporation Sunrise Point-LP PCI Express Root Port #7
100.0%        PCI Device: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016]
5.7 pkts/s  Network interface: wlp3s0 (iwlwifi)
0.0%        runtime-PNP0C14:00
0.0%        PCI Device: Intel Corporation Sunrise Point-LP SMBus
0.0%        PCI Device: Intel Corporation Sunrise Point-LP PMC
0.0%        PCI Device: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
0.0%        PCI Device: Intel Corporation JHL6240 Thunderbolt 3 Bridge (Low Power) [Alpine Ridge LP 2016]
0.0%        PCI Device: Intel Corporation Device 9d4e
0.0%        PCI Device: Intel Corporation Sunrise Point-LP CSME HECI #1
0.0%        PCI Device: Intel Corporation Sunrise Point-LP HD Audio
0.0%        PCI Device: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
0.0%        PCI Device: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0
0.0%        PCI Device: Intel Corporation Ethernet Connection (4) I219-V
0.0%        PCI Device: Intel Corporation Device 15c1
0.0%        Audio codec hwC0D2: Intel
0.0%        runtime-reg-dummy
0.0%        Thinkpad light
0.0%        runtime-PNP0C14:03
0.0%        runtime-ACPI000C:00
0.0%        runtime-INT0800:00
0.0%        runtime-PNP0C14:01
0.0%        runtime-iTCO_wdt
0.0%        runtime-PNP0C0D:00
0.0%        runtime-PNP0C09:00
0.0%        runtime-PNP0C0A:00

Last edited by archapex (2018-06-24 19:38:00)

Offline

#2 2018-06-23 15:24:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,197

Re: [SOLVED] Bad Battery on New ThinkPad T480

Let's start at the basics.   Look around in the "directory" called /sys/class/power_supply.  Is there an entry for your battery?  Note that the path name may not be the same on every system.  In that directory, there are pseudo files.  On my system

ewaller@turing/home/ewaller[127] % ls -l /sys/class/power_supply/BAT0/
total 0
-rw-r--r-- 1 root root 4096 Jun 23 08:15 alarm
-r--r--r-- 1 root root 4096 Jun 23 08:15 capacity
-r--r--r-- 1 root root 4096 Jun 23 08:15 capacity_level
-r--r--r-- 1 root root 4096 Jun 23 08:15 charge_full
-r--r--r-- 1 root root 4096 Jun 23 08:15 charge_full_design
-r--r--r-- 1 root root 4096 Jun 23 08:15 charge_now
-r--r--r-- 1 root root 4096 Jun 23 08:15 current_now
-r--r--r-- 1 root root 4096 Jun 23 08:15 cycle_count
lrwxrwxrwx 1 root root    0 Jun 23 08:15 device -> ../../../PNP0C0A:00
-r--r--r-- 1 root root 4096 Jun 23 08:15 manufacturer
-r--r--r-- 1 root root 4096 Jun 23 08:15 model_name
drwxr-xr-x 2 root root    0 Jun 23 08:15 power
-r--r--r-- 1 root root 4096 Jun 23 08:15 present
-r--r--r-- 1 root root 4096 Jun 23 08:15 serial_number
-r--r--r-- 1 root root 4096 Jun 23 08:15 status
lrwxrwxrwx 1 root root    0 Jun 20 13:19 subsystem -> ../../../../../../class/power_supply
-r--r--r-- 1 root root 4096 Jun 23 08:15 technology
-r--r--r-- 1 root root 4096 Jun 23 08:15 type
-rw-r--r-- 1 root root 4096 Jun 23 08:15 uevent
-r--r--r-- 1 root root 4096 Jun 23 08:15 voltage_min_design
-r--r--r-- 1 root root 4096 Jun 23 08:15 voltage_now
ewaller@turing/home/ewaller % 

If there is a uevent file, it generally contains a summary, post its contents.  If it is not there, post the content the individual files.

ewaller@turing/home/ewaller % cat /sys/class/power_supply/BAT0/uevent 
POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_STATUS=Full
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-ion
POWER_SUPPLY_CYCLE_COUNT=0
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=15000000
POWER_SUPPLY_VOLTAGE_NOW=17101000
POWER_SUPPLY_CURRENT_NOW=0
POWER_SUPPLY_CHARGE_FULL_DESIGN=2688000
POWER_SUPPLY_CHARGE_FULL=2688000
POWER_SUPPLY_CHARGE_NOW=2688000
POWER_SUPPLY_CAPACITY=100
POWER_SUPPLY_CAPACITY_LEVEL=Full
POWER_SUPPLY_MODEL_NAME=Primary
POWER_SUPPLY_MANUFACTURER=Hewlett-Packard
POWER_SUPPLY_SERIAL_NUMBER= 
ewaller@turing/home/ewaller % 

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2018-06-23 18:22:29

archapex
Member
Registered: 2018-06-22
Posts: 8

Re: [SOLVED] Bad Battery on New ThinkPad T480

uevent for Bat0

POWER_SUPPLY_NAME=BAT0
POWER_SUPPLY_STATUS=Unknown
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-poly
POWER_SUPPLY_CYCLE_COUNT=9
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11400000
POWER_SUPPLY_VOLTAGE_NOW=11289000
POWER_SUPPLY_POWER_NOW=0
POWER_SUPPLY_ENERGY_FULL_DESIGN=23940000
POWER_SUPPLY_ENERGY_FULL=22790000
POWER_SUPPLY_ENERGY_NOW=6230000
POWER_SUPPLY_CAPACITY=27
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=01AV489
POWER_SUPPLY_MANUFACTURER=LGC
POWER_SUPPLY_SERIAL_NUMBER=

Bat 1

POWER_SUPPLY_NAME=BAT1
POWER_SUPPLY_STATUS=Discharging
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TECHNOLOGY=Li-poly
POWER_SUPPLY_CYCLE_COUNT=7
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=11400000
POWER_SUPPLY_VOLTAGE_NOW=10948000
POWER_SUPPLY_POWER_NOW=10937000
POWER_SUPPLY_ENERGY_FULL_DESIGN=24050000
POWER_SUPPLY_ENERGY_FULL=23230000
POWER_SUPPLY_ENERGY_NOW=3980000
POWER_SUPPLY_CAPACITY=17
POWER_SUPPLY_CAPACITY_LEVEL=Normal
POWER_SUPPLY_MODEL_NAME=01AV424
POWER_SUPPLY_MANUFACTURER=Celxpert
POWER_SUPPLY_SERIAL_NUMBER=

Last edited by archapex (2018-06-23 18:51:21)

Offline

#4 2018-06-23 20:36:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,197

Re: [SOLVED] Bad Battery on New ThinkPad T480

That all looks pretty reasonable.  Do you really have two batteries?  That could be what is confusing powertop.  Your batteries do a better job with reporting via SMBus than do mine.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2018-06-23 22:09:24

archapex
Member
Registered: 2018-06-22
Posts: 8

Re: [SOLVED] Bad Battery on New ThinkPad T480

Yeah I have two batteries internal and external. But the battery life is so low regardless of what TLP reports, like 2-3 hours.

Last edited by archapex (2018-06-23 22:09:56)

Offline

#6 2018-06-23 23:01:21

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,197

Re: [SOLVED] Bad Battery on New ThinkPad T480

Per battery?  Or total?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2018-06-23 23:18:56

archapex
Member
Registered: 2018-06-22
Posts: 8

Re: [SOLVED] Bad Battery on New ThinkPad T480

Total. Its inconsistent. By inconsistent, I mean I could be doing nothing and the battery would be draining. Other times, I could be doing something and the battery wouldn't drain as much. Even during sleep the battery drains by 5-10%. I disabled wake-on-lan. Here is my current consumption. Brightness at 10%, wifi on, ethernet not connected

                                  
The battery reports a discharge rate of 11.1 W
The power consumed was 0.00 J
The estimated remaining time is 1 hours, 56 minutes
Summary: 501.8 wakeups/second,  0.0 GPU ops/seconds, 0.0 VFS ops/sec and 9.2% CPU use
Power est.              Usage       Events/s    Category       Description
2.51 W      1.9 pkts/s                Device         Network interface: wlp3s0 (iwlwifi)
2.45 W      0.0 pkts/s                Device         Network interface: enp0s31f6 (e1000e)
2.31 W     10.0%                      Device         Display backlight
509 mW     20.7 ms/s     142.3        Process        [PID 1247] /usr/bin/telegram-desktop --
311 mW     24.9 ms/s      81.7        Process        [PID 12736] powertop
230 mW      2.1 ms/s      67.3        Process        [PID 1259] /usr/bin/kwin_x11
160 mW      1.2 ms/s      47.1        Timer          tick_sched_timer
141 mW     16.7 ms/s      34.6        Process        [PID 1216] /usr/bin/kwin_x11
52.3 mW    321.2 µs/s      15.4        Process        [PID 9] [rcu_preempt]
41.6 mW      1.9 ms/s      11.5        Process        [PID 12670] konsole [kdeinit5]
41.3 mW      1.7 ms/s      11.5        Process        [PID 6489] /usr/lib/opera/opera --type=renderer --field-trial-handle=435767296
31.9 mW      6.3 ms/s       6.7        Process        [PID 1037] /usr/lib/Xorg -nolisten tcp -auth /var/run/sddm/{0a7b52b0-041e-4466
29.4 mW    154.1 µs/s       8.7        Interrupt      [0] HI_SOFTIRQ
23.8 mW      0.8 ms/s       6.7        Interrupt      [158] i915
21.0 mW      5.5 ms/s       3.8        Process        [PID 1224] /usr/bin/plasmashell
20.7 mW      0.9 ms/s       5.8        Interrupt      [7] sched(softirq)
19.5 mW     67.3 µs/s       5.8        Process        [PID 209] [usb-storage]
16.5 mW    245.0 µs/s       4.8        Process        [PID 359] [irq/155-iwlwifi]
16.4 mW    130.0 µs/s       4.8        Process        [PID 702] [i915/signal:0]
16.3 mW     93.2 µs/s       4.8        Interrupt      [136] xhci_hcd
16.3 mW     67.2 µs/s       4.8        kWork          gen6_pm_rps_work
16.3 mW     42.1 µs/s       4.8        Timer          intel_uncore_fw_release_timer

Last edited by archapex (2018-06-23 23:23:49)

Offline

#8 2018-06-24 03:22:18

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 6,104

Re: [SOLVED] Bad Battery on New ThinkPad T480

Just to be clear: you are actually getting only 2-3 hours battery life? Or that's what the report says? I ask because I find the estimated time remaining is completely useless. It says 2 hours when I have far more; it claims 5 hours when I have far less. Completely meaningless, basically. But it bears no relation to the actual time I get.

I have a similar 2 battery set-up and notice something odd about your output. How did you get capacities of 17% and 27%? Did you remove the external battery since last recharging? On my machine, the external battery always drains first (to about 5%) and the internal one hardly drains during this time (<5%).

What does TLP tell you?

I haven't run powertop fro a while, but when I was configuring things last October, it gave me sensible output, so it did work OK with two batteries.

ewaller, do you have a new battery or is that what you meant about yours not reporting properly?


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Corporation Wireless 8265 / 8275 | US keyboard with Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#9 2018-06-24 08:48:03

archapex
Member
Registered: 2018-06-22
Posts: 8

Re: [SOLVED] Bad Battery on New ThinkPad T480

I actually get 2-3 hours. I was charging the laptop but I took off the charger just to get the uevent stats.

tlp-stat

+++ 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="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
DISK_SPINDOWN_TIMEOUT_ON_AC="60 0"
DISK_SPINDOWN_TIMEOUT_ON_BAT="60 0"
SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
AHCI_RUNTIME_PM_TIMEOUT=15
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
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
RUNTIME_PM_BLACKLIST="01:00.0"
USB_AUTOSUSPEND=1
USB_BLACKLIST_BTUSB=0
USB_BLACKLIST_PHONE=0
USB_BLACKLIST_PRINTER=1
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0
+++ System Info
System         = LENOVO ThinkPad T480 20L5000RZA
BIOS           = N24ET37W (1.12 )
Kernel         = 4.17.2-1-ARCH #1 SMP PREEMPT Sat Jun 16 11:08:59 UTC 2018 x86_64
/proc/cmdline  = initrd=\initramfs-linux.img initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=a5c1f225-4c39-4128-8013-93e0de1221e2 rw nvidia-drm.modeset=1
Init system    = systemd 
Boot mode      = UEFI
+++ TLP Status
State          = enabled
Last run       = 10:22:46,    430 sec(s) ago
Mode           = battery
Power source   = battery
+++ Processor
CPU model      = Intel(R) Core(TM) i5-8250U CPU @ 1.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  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_powerpower 
/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  =   400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_powerpower 
/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  =   400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_powerpower 
/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  =   400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_powerpower 
/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq  =  3400000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_powerpower 
/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq  =  3400000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_powerpower 
/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq  =  3400000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_powerpower 
/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq  =  3400000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_powerpower 
/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  11 [%]
/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         =  59 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  31
x86_energy_perf_policy: program not installed.
/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0
+++ Undervolting
PHC kernel not available.
+++ Temperatures
CPU temp               =    31 [°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
+++ Storage Devices
/dev/sda:
Model     = ST1000LM035-1RK172                      
Firmware  = LCM2    
APM Level = 128
Status    = active/idle
Scheduler = cfq
Runtime PM: control = on, autosuspend_delay =   -1
+++ 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
+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:17.0/ata1/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata2/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata3/power/control = on
+++ Docks and Device Bays
/sys/devices/platform/dock.0: battery_bay   = battery present
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)
+++ Intel Graphics
/sys/module/i915/parameters/enable_dc        = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc       =  1 (enabled)
/sys/module/i915/parameters/enable_psr       = -1 (use per-chip default)
/sys/module/i915/parameters/modeset          = -1 (use per-chip default)
+++ Wireless
bluetooth = off (software)
wifi      = on
wwan      = none (no device)
wlp3s0(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
+++ Runtime Power Management
Device blacklist = 01:00.0
Driver blacklist = amdgpu nouveau nvidia radeon (default)
/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:04.0/power/control = auto (0x118000, Signal processing controller, proc_thermal)
/sys/bus/pci/devices/0000:00:08.0/power/control = auto (0x088000, System peripheral, no driver)
/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = auto (0x118000, Signal processing controller, intel_pch_thermal)
/sys/bus/pci/devices/0000:00:15.0/power/control = auto (0x118000, Signal processing controller, intel-lpss)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:17.0/power/control = auto (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.4/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.6/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x058000, Memory controller, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:00:1f.6/power/control = auto (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:01:00.0/power/control = on   (0x030200, 3D controller, no driver)
/sys/bus/pci/devices/0000:02:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:03:00.0/power/control = auto (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:04:00.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:00.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:05:02.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:06:00.0/power/control = auto (0x088000, System peripheral, thunderbolt)
/sys/bus/pci/devices/0000:3c:00.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
+++ USB
Autosuspend         = enabled
Device whitelist    = (not configured)
Device blacklist    = (not configured)
Bluetooth blacklist = disabled
Phone blacklist     = disabled
WWAN blacklist      = enabled
Bus 004 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 3.0 root hub (hub)
Bus 003 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)
Bus 002 Device 002 ID 0bda:0316 control = auto, autosuspend_delay_ms =  2000 -- Realtek Semiconductor Corp.  (usb-storage)
Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 004 ID 06cb:009a control = auto, autosuspend_delay_ms =  2000 -- Synaptics, Inc.  (no driver)
Bus 001 Device 003 ID 13d3:56a6 control = auto, autosuspend_delay_ms =  2000 -- IMC Networks  (uvcvideo)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)
+++ ThinkPad Battery Features
tp-smapi   = inactive (kernel module 'tp_smapi' load error)
tpacpi-bat = active
+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer                   = LGC
/sys/class/power_supply/BAT0/model_name                     = 01AV489
/sys/class/power_supply/BAT0/cycle_count                    =     11
/sys/class/power_supply/BAT0/energy_full_design             =  23940 [mWh]
/sys/class/power_supply/BAT0/energy_full                    =  22790 [mWh]
/sys/class/power_supply/BAT0/energy_now                     =  11830 [mWh]
/sys/class/power_supply/BAT0/power_now                      =   6092 [mW]
/sys/class/power_supply/BAT0/status                         = Discharging
tpacpi-bat.BAT0.startThreshold                              =     96 [%]
tpacpi-bat.BAT0.stopThreshold                               =    100 [%]
tpacpi-bat.BAT0.forceDischarge                              =      0
Charge                                                      =   51.9 [%]
Capacity                                                    =   95.2 [%]
+++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable)
/sys/class/power_supply/BAT1/manufacturer                   = Celxpert
/sys/class/power_supply/BAT1/model_name                     = 01AV424
/sys/class/power_supply/BAT1/cycle_count                    =      8
/sys/class/power_supply/BAT1/energy_full_design             =  24050 [mWh]
/sys/class/power_supply/BAT1/energy_full                    =  23130 [mWh]
/sys/class/power_supply/BAT1/energy_now                     =  15580 [mWh]
/sys/class/power_supply/BAT1/power_now                      =      0 [mW]
/sys/class/power_supply/BAT1/status                         = Unknown (threshold effective)
tpacpi-bat.BAT1.startThreshold                              =     96 [%]
tpacpi-bat.BAT1.stopThreshold                               =    100 [%]
tpacpi-bat.BAT1.forceDischarge                              =      0
Charge                                                      =   67.4 [%]
Capacity                                                    =   96.2 [%]
+++ Charge total                                            =   59.7 [%]
+++ Suggestions
* Install ethtool to disable Wake On LAN (WOL)
* Install smartmontools for disk drive health info

I'm starting to suspect its the GPU even though I turned it off with bumblebee and bbswitch.

cat /proc/acpi/bbswitch

0000:01:00.0 OFF

glxinfo|egrep "OpenGL vendor|OpenGL renderer"

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) 

Offline

#10 2018-06-24 19:33:58

archapex
Member
Registered: 2018-06-22
Posts: 8

Re: [SOLVED] Bad Battery on New ThinkPad T480

Problem seems to be sorted. For those who might face the same problem. I recalibrated powertop and set all tunables. Battery life was still weak but a bit better. PC states at PC3 and below. Then set Thunderbolt Assist Mode to enabled in the BIOS. PC8 being reached. Battery life much better but I feel like it can still improve. Appreciate the effort from those that tried to help.

Last edited by archapex (2018-06-24 19:53:46)

Offline

#11 2020-05-07 16:01:36

milchmitang
Member
Registered: 2020-05-07
Posts: 1

Re: [SOLVED] Bad Battery on New ThinkPad T480

Hey archapex, I also have a T480 and my battery is draining within 2-3 hours as well. Can you explain exactly what you did to improve your battery? I.e. recalibrate powertop, set all tunables, PC8 being reched...what does that all entail?

Offline

Board footer

Powered by FluxBB