You are not logged in.
Pages: 1
Topic closed
I'm using a Lenovo T-460S - on suspend the battery drains ~15% per 12 hours. Not sure how to profile this?
+++ System Info
System = LENOVO ThinkPad T460s 20F90039US
BIOS = N1CET43W (1.11 )
Release = "Arch Linux"
Kernel = 4.9.9-1-ARCH #1 SMP PREEMPT Thu Feb 9 19:07:09 CET 2017 x86_64
/proc/cmdline = BOOT_IMAGE=/vmlinuz-linux cryptdevice=UUID=94eb6c67-ff4e-47ff-bf91-f13f68440d95:lvm cryptkey=rootfs:/crypto_keyfile.bin root=/dev/mapper/vg1-root rw resume=/dev/mapper/vg1-swap rd.debug=1 rd.log=all
Init system = systemd
Boot mode = UEFI
+++ TLP Status
State = enabled
Last run = 08:53:10 AM, 1747 sec(s) ago
Mode = AC
Power source = AC
Notice: tlp-sleep.service is not enabled -- invoke "systemctl enable tlp-sleep.service" to correct this!
Notice: systemd-rfkill.service is not masked -- invoke "systemctl mask systemd-rfkill.service" to correct this!
+++ Processor
CPU model = Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
/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 = 2800000 [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 = 400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2800000 [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 = 400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2800000 [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 = 400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2800000 [kHz]
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 14
/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 = 25
/sys/devices/system/cpu/intel_pstate/num_pstates = 25
x86_energy_perf_policy: program not installed.
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
+++ Temperatures
CPU temp = 42 [°C]
/proc/acpi/ibm/fan = 0 [/min]
+++ File System
/proc/sys/vm/laptop_mode = 0
/proc/sys/vm/dirty_writeback_centisecs = 1500
/proc/sys/vm/dirty_expire_centisecs = 1500
/proc/sys/vm/dirty_ratio = 20
/proc/sys/vm/dirty_background_ratio = 10
/proc/sys/fs/xfs/age_buffer_centisecs = (not available)
/proc/sys/fs/xfs/xfssyncd_centisecs = (not available)
/proc/sys/fs/xfs/xfsbufd_centisecs = (not available)
+++ Storage Devices
/dev/sda:
Model = Samsung SSD 850 EVO M.2 500GB
Firmware = EMT21B6Q
APM Level = none/disabled
Status = active/idle
TRIM = supported
Scheduler = cfq
Runtime PM: control = on, autosuspend_delay = -1
+++ SATA Aggressive Link Power Management
/sys/class/scsi_host/host0/link_power_management_policy = max_performance
/sys/class/scsi_host/host1/link_power_management_policy = max_performance
+++ 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
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)
+++ Intel Graphics
/sys/module/i915/parameters/powersave = (not available)
/sys/module/i915/parameters/enable_rc6 = 1 (enabled)
/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 = 0 (disabled)
/sys/module/i915/parameters/lvds_downclock = (not available)
/sys/module/i915/parameters/modeset = -1 (use per-chip default)
/sys/module/i915/parameters/semaphores = 0 (disabled)
+++ Wireless
bluetooth = off (software)
wifi = on
wwan = none (no device)
wlp4s0(iwlwifi) : wifi, connected, power management = off
+++ Audio
/sys/module/snd_hda_intel/parameters/power_save = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N
+++ Runtime Power Management
Device classes = all
Device blacklist = (not configured)
Driver blacklist = radeon nouveau
/sys/bus/pci/devices/0000:00:00.0/power/control = on (0x060000, Host bridge, skl_uncore)
/sys/bus/pci/devices/0000:00:02.0/power/control = on (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:08.0/power/control = on (0x088000, System peripheral, no driver)
/sys/bus/pci/devices/0000:00:14.0/power/control = on (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = on (0x118000, Signal processing controller, intel_pch_thermal)
/sys/bus/pci/devices/0000:00:16.0/power/control = on (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:17.0/power/control = on (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.2/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on (0x058000, Memory controller, intel_pmc_core)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = on (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:00:1f.6/power/control = on (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:02:00.0/power/control = on (0xff0000, Unassigned class [ff00], rtsx_pci)
/sys/bus/pci/devices/0000:04:00.0/power/control = on (0x028000, Network controller, iwlwifi)
+++ USB
Autosuspend = enabled
Device whitelist = (not configured)
Device blacklist = (not configured)
WWAN blacklist = enabled
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 138a:0090 control = auto, autosuspend_delay_ms = 2000 -- Validity Sensors, Inc. (no driver)
Bus 001 Device 003 ID 5986:0706 control = auto, autosuspend_delay_ms = 2000 -- Acer, Inc (uvcvideo)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
+++ ThinkPad Extended Battery Functions
tp-smapi = inactive (unsupported hardware)
tpacpi-bat = active
+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = SMP
/sys/class/power_supply/BAT0/model_name = 00HW023
/sys/class/power_supply/BAT0/cycle_count = (not supported)
/sys/class/power_supply/BAT0/energy_full_design = 23540 [mWh]
/sys/class/power_supply/BAT0/energy_full = 22790 [mWh]
/sys/class/power_supply/BAT0/energy_now = 18010 [mWh]
/sys/class/power_supply/BAT0/power_now = 0 [mW]
/sys/class/power_supply/BAT0/status = Unknown (threshold effective)
tpacpi-bat.BAT0.startThreshold = 96 [%]
tpacpi-bat.BAT0.stopThreshold = 100 [%]
tpacpi-bat.BAT0.forceDischarge = 0
Charge = 79.0 [%]
Capacity = 96.8 [%]
+++ ThinkPad Battery Status: BAT1 (Ultrabay / Slice / Replaceable)
/sys/class/power_supply/BAT1/manufacturer = SANYO
/sys/class/power_supply/BAT1/model_name = 01AV405
/sys/class/power_supply/BAT1/cycle_count = (not supported)
/sys/class/power_supply/BAT1/energy_full_design = 26330 [mWh]
/sys/class/power_supply/BAT1/energy_full = 22120 [mWh]
/sys/class/power_supply/BAT1/energy_now = 16400 [mWh]
/sys/class/power_supply/BAT1/power_now = 11211 [mW]
/sys/class/power_supply/BAT1/status = Charging
tpacpi-bat.BAT1.startThreshold = 96 [%]
tpacpi-bat.BAT1.stopThreshold = 100 [%]
tpacpi-bat.BAT1.forceDischarge = 0
Charge = 74.1 [%]
Capacity = 84.0 [%]
+++ Suggestions
* Install smartmontools for disk drive health info
Offline
How are you measuring power usage during suspend?
Offline
Did you make any progress on this problem? I'm asking because I am facing the same annoyance with a T-470S.
Offline
Suspend needs to use battery to keep the ram state, there might also be other things using battery such as wake-on-lan active for the ethernet port, I would say that some usb devices might also still be receiving power.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Sure, I already deactivated everything in the BIOS like wake-on-lan, but still the battery loses 50% or more overnight when in sleep mode. I need to shut it down completely because of that.
Maybe it is a Thinkpad-only problem, that's why I bumped this thread.
Offline
Same issue here with a Lenovo T460s, both trying to suspend on a freshly install Xubuntu and 'normal' Ubuntu 24: can not wake the laptop up again once suspended.
The previous OS, an Xubuntu 20, worked without any problems, and easily wakes up after an suspend by a simple keystroke (or when opening the lid).
Adding to this, the power button changes behaviors, and will not work once the new ubuntus 24 has done a normal shutdown: I will not work anymore, only solution is to press the power for 5 to 10 seconds for a full PC reset and then it works normally again..
Finally, a normal shutdown on the new ubuntus 24 seem not to shutdown fully, and battery gets drained, eventhough the PC seem to be fully powered off.
Disabling the security chip in the bios (F1 | Security | Disable Security ..etc as above) cured everything: now suspend/re-wakeup works in Xubuntu 2024, the power button behaves normally, and no battery drain is seen when fully powered down!
Last edited by cef (2024-07-09 13:24:48)
Offline
Oh boy.
Firstly, *buntu is not supported here as stated in the rules you just agreed to when registering.
Secondly, don't necrobump.
Closing.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
Pages: 1
Topic closed