Closed OmarShawky1 closed 3 years ago
Thank you for opening this issue. If you don't notice any change so I recommend you to install beside Boost Changer TLP. You don't need to configure TLP because Boost Changer will do this job for you. I already mentioned that in README.md.
"This is just a GUI application and it is not meant to replace TLP, powertop or any other power management / energy consumption service. It is meant just to provide quick access to sysfs settings related to Intel Processors and in fact it can run on top of TLP."
I tried to work make it get into work as told in your previous comment:
sudo apt install tlp
service tlp status
$ service tlp status
● tlp.service - TLP system startup/shutdown
Loaded: loaded (/lib/systemd/system/tlp.service; enabled; vendor preset: enabled)
Active: active (exited) since Mon 2021-01-25 15:34:34 EET; 3s ago
Docs: http://linrunner.de/tlp
Process: 4158 ExecStart=/usr/sbin/tlp init start (code=exited, status=0/SUCCESS)
Main PID: 4158 (code=exited, status=0/SUCCESS)
Jan 25 15:34:33 omar-LLaptop systemd[1]: Starting TLP system startup/shutdown... Jan 25 15:34:33 omar-LLaptop tlp[4158]: Applying power save settings...done. Jan 25 15:34:34 omar-LLaptop tlp[4158]: Setting battery charge thresholds...done. Jan 25 15:34:34 omar-LLaptop systemd[1]: Started TLP system startup/shutdown.
3. I checked tlp status using `tlp stat`
$ sudo tlp stat
[sudo] password for omar:
--- TLP 1.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="sda sdb" 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 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 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 Lenovo Legion Y530-15ICH 81FV BIOS = 8JCN54WW Release = elementary OS 5.1.7 Hera Kernel = 5.4.0-62-generic #70~18.04.1-Ubuntu SMP Tue Jan 12 17:18:00 UTC 2021 x86_64 /proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-5.4.0-62-generic root=UUID=7e959e0d-7515-4e52-ac02-3ddc44dc79b7 ro quiet splash vt.handoff=1 Init system = systemd v237 Boot mode = UEFI
+++ TLP Status State = enabled Last run = 03:34:33 PM, 83 sec(s) ago Mode = battery Power source = battery
+++ Processor CPU model = Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
/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 = 2200000 [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_power power
/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 = 2200000 [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_power power
/sys/devices/system/cpu/cpu10/cpufreq/scaling_driver = intel_pstate /sys/devices/system/cpu/cpu10/cpufreq/scaling_governor = powersave /sys/devices/system/cpu/cpu10/cpufreq/scaling_available_governors = performance powersave /sys/devices/system/cpu/cpu10/cpufreq/scaling_min_freq = 800000 [kHz] /sys/devices/system/cpu/cpu10/cpufreq/scaling_max_freq = 2200000 [kHz] /sys/devices/system/cpu/cpu10/cpufreq/energy_performance_preference = balance_power /sys/devices/system/cpu/cpu10/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu11/cpufreq/scaling_driver = intel_pstate /sys/devices/system/cpu/cpu11/cpufreq/scaling_governor = powersave /sys/devices/system/cpu/cpu11/cpufreq/scaling_available_governors = performance powersave /sys/devices/system/cpu/cpu11/cpufreq/scaling_min_freq = 800000 [kHz] /sys/devices/system/cpu/cpu11/cpufreq/scaling_max_freq = 2200000 [kHz] /sys/devices/system/cpu/cpu11/cpufreq/energy_performance_preference = balance_power /sys/devices/system/cpu/cpu11/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/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 = 2200000 [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_power power
/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 = 2200000 [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_power power
/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 = 800000 [kHz] /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 2200000 [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_power power
/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 = 800000 [kHz] /sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 2200000 [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_power power
/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 = 800000 [kHz] /sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 2200000 [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_power power
/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 = 800000 [kHz] /sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 2200000 [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_power power
/sys/devices/system/cpu/cpu8/cpufreq/scaling_driver = intel_pstate /sys/devices/system/cpu/cpu8/cpufreq/scaling_governor = powersave /sys/devices/system/cpu/cpu8/cpufreq/scaling_available_governors = performance powersave /sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq = 800000 [kHz] /sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq = 2200000 [kHz] /sys/devices/system/cpu/cpu8/cpufreq/energy_performance_preference = balance_power /sys/devices/system/cpu/cpu8/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/cpu9/cpufreq/scaling_driver = intel_pstate /sys/devices/system/cpu/cpu9/cpufreq/scaling_governor = powersave /sys/devices/system/cpu/cpu9/cpufreq/scaling_available_governors = performance powersave /sys/devices/system/cpu/cpu9/cpufreq/scaling_min_freq = 800000 [kHz] /sys/devices/system/cpu/cpu9/cpufreq/scaling_max_freq = 2200000 [kHz] /sys/devices/system/cpu/cpu9/cpufreq/energy_performance_preference = balance_power /sys/devices/system/cpu/cpu9/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
/sys/devices/system/cpu/intel_pstate/min_perf_pct = 19 [%] /sys/devices/system/cpu/intel_pstate/max_perf_pct = 30 [%] /sys/devices/system/cpu/intel_pstate/no_turbo = 1 /sys/devices/system/cpu/intel_pstate/turbo_pct = 57 [%] /sys/devices/system/cpu/intel_pstate/num_pstates = 34
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 = 46 [°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
/dev/sda:
Model = ST2000LM007-1R8174
Firmware = LDM2
APM Level = 128
Status = active/idle
Scheduler = mq-deadline
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 /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
+++ 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 /sys/bus/pci/devices/0000:00:17.0/ata4/power/control = on /sys/bus/pci/devices/0000:00:17.0/ata5/power/control = on
+++ 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 = 0 (disabled) /sys/module/i915/parameters/modeset = -1 (use per-chip default)
+++ Wireless bluetooth = off (software) wifi = on wwan = none (no device)
hci0(btusb) : bluetooth, not connected wlp0s20f3(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 = (not configured) Driver blacklist = amdgpu nouveau nvidia radeon (default)
/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, skl_uncore) /sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport) /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:12.0/power/control = auto (0x118000, Signal processing controller, intel_pch_thermal) /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 (0x050000, RAM memory, no driver) /sys/bus/pci/devices/0000:00:14.3/power/control = auto (0x028000, Network controller, iwlwifi) /sys/bus/pci/devices/0000:00:15.0/power/control = auto (0x0c8000, Serial bus controller [0c80], intel-lpss) /sys/bus/pci/devices/0000:00:15.1/power/control = auto (0x0c8000, Serial bus controller [0c80], 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:1d.0/power/control = auto (0x060400, PCI bridge, pcieport) /sys/bus/pci/devices/0000:00:1d.5/power/control = auto (0x060400, PCI bridge, pcieport) /sys/bus/pci/devices/0000:00:1e.0/power/control = auto (0x078000, Communication controller, intel-lpss) /sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, 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, no driver) /sys/bus/pci/devices/0000:00:1f.5/power/control = auto (0x0c8000, Serial bus controller [0c80], no driver) /sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x030000, VGA compatible controller, no driver) /sys/bus/pci/devices/0000:01:00.1/power/control = auto (0x040300, Audio device, snd_hda_intel) /sys/bus/pci/devices/0000:06:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme) /sys/bus/pci/devices/0000:07:00.0/power/control = auto (0x020000, Ethernet controller, r8169)
+++ USB Autosuspend = enabled Device whitelist = (not configured) Device blacklist = (not configured) Bluetooth blacklist = disabled Phone blacklist = disabled 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 002 ID 13d3:56a6 control = auto, autosuspend_delay_ms = 2000 -- IMC Networks (uvcvideo) Bus 001 Device 003 ID 8087:0aaa control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb) Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
+++ Battery Status /sys/class/power_supply/BAT0/manufacturer = SMP /sys/class/power_supply/BAT0/model_name = L17M3PG1 /sys/class/power_supply/BAT0/cycle_count = (not supported) /sys/class/power_supply/BAT0/energy_full_design = 52500 [mWh] /sys/class/power_supply/BAT0/energy_full = 44510 [mWh] /sys/class/power_supply/BAT0/energy_now = 42730 [mWh] /sys/class/power_supply/BAT0/power_now = 16549 [mW] /sys/class/power_supply/BAT0/status = Discharging
Charge = 96.0 [%] Capacity = 84.8 [%]
+++ Suggestions
4. The battery Life-Time did not change as following
![image](https://user-images.githubusercontent.com/51538094/105713846-466de280-5f24-11eb-947e-b54193e36a6d.png)
5. The battery normal Life-Time is 2 hours
6. I double checked time from terminal using `upower -i /org/freedesktop/UPower/devices/battery_BAT0`
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: SMP model: L17M3PG1 serial: 12759 power supply: yes updated: Mon 25 Jan 2021 03:49:46 PM EET (13 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging warning-level: none energy: 38.28 Wh energy-empty: 0 Wh energy-full: 44.51 Wh energy-full-design: 52.5 Wh energy-rate: 17.95 W voltage: 11.991 V time to empty: 2.1 hours percentage: 86% capacity: 84.781% technology: lithium-polymer icon-name: 'battery-full-symbolic' History (charge): 1611582586 86.000 discharging History (rate): 1611582586 17.950 discharging
Please try to install powerstat tool. Please close everything and open your terminal and run this command.
sudo powerstat -d 2
You have to wait until finish calculating all used Watts and please put the result here.
Extremely sorry for the delayed reply.
this is the output for the command $sudo powerstat -d 2
sudo powerstat -d 2
[sudo] password for omar:
Running for 470.0 seconds (47 samples at 10.0 second intervals).
Power measurements will start in 2 seconds time.
Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Fork Exec Exit Watts
06:08:20 2.3 0.0 0.9 96.7 0.0 1 4564 1341 1 1 4 19.15
06:08:30 4.1 0.0 1.8 94.1 0.0 1 7658 3533 18 1 19 18.76
06:08:40 1.9 0.0 0.9 97.2 0.0 1 5279 2605 6 0 5 18.90
06:08:50 3.1 0.0 1.4 95.4 0.1 1 5966 2387 7 0 9 19.13
06:09:00 1.7 0.0 0.8 97.4 0.0 1 3836 1028 6 0 9 18.55
06:09:10 3.2 0.0 1.4 95.4 0.0 1 5614 1845 7 2 14 18.68
06:09:20 2.9 0.0 1.1 96.0 0.0 2 4538 1532 20 1 10 18.48
06:09:30 3.9 0.0 1.8 94.3 0.1 2 6726 2901 26 2 108 19.16
06:09:40 2.0 0.0 1.0 97.0 0.0 3 3812 1061 0 0 3 18.64
06:09:50 1.5 0.0 0.7 97.8 0.0 1 3192 1001 0 0 2 18.14
06:10:00 1.5 0.0 0.5 97.9 0.0 1 2640 679 9 0 8 17.76
06:10:10 1.1 0.0 0.5 98.4 0.0 1 2477 551 0 0 2 17.50
06:10:20 1.5 0.0 0.7 97.7 0.0 2 3430 1192 5 4 5 17.74
06:10:30 2.0 0.0 1.0 96.9 0.0 1 3827 1266 3 2 14 18.14
06:10:40 1.2 0.0 0.6 98.2 0.0 1 2577 598 4 0 5 17.75
06:10:50 1.1 0.0 0.5 98.4 0.0 1 2628 610 1 0 1 17.52
06:11:00 1.1 0.0 0.6 98.3 0.0 1 2547 605 5 2 3 17.54
06:11:10 1.2 0.0 0.5 98.2 0.0 1 2674 640 0 0 0 17.48
06:11:20 1.4 0.0 0.8 97.7 0.0 1 3651 994 1 0 1 17.63
06:11:30 2.8 0.0 0.8 96.4 0.0 1 3311 1004 17 0 10 18.19
06:11:40 1.1 0.0 0.5 98.4 0.0 1 2514 590 5 0 4 17.80
06:11:50 1.0 0.0 0.5 98.5 0.0 1 2556 588 0 0 1 17.59
06:12:00 1.0 0.0 0.5 98.5 0.0 1 2474 563 0 0 4 17.51
06:12:10 1.0 0.0 0.6 98.4 0.0 2 2557 594 0 0 2 17.34
06:12:20 1.0 0.0 0.5 98.5 0.0 1 2426 558 1 0 1 17.27
06:12:30 1.1 0.0 0.5 98.3 0.0 1 2640 640 3 0 4 17.36
06:12:40 1.2 0.0 0.6 98.2 0.0 1 2972 854 6 0 3 17.22
06:12:50 2.1 0.0 0.8 97.1 0.0 1 4769 2344 10 0 2 17.96
06:13:00 1.4 0.0 0.8 97.8 0.0 1 4500 2276 1 0 4 18.23
06:13:10 1.6 0.0 0.9 97.5 0.0 2 4555 2159 8 0 10 18.73
06:13:20 1.8 0.0 0.7 97.4 0.0 1 3515 1327 22 0 27 18.52
06:13:30 1.3 0.0 0.6 98.1 0.0 1 2671 663 1 0 0 18.18
06:13:40 1.4 0.0 0.8 97.8 0.0 1 3061 948 2 2 2 18.01
06:13:50 1.2 0.0 0.6 98.1 0.0 2 2875 852 1 1 7 17.71
06:14:00 1.1 0.0 0.4 98.4 0.0 1 2531 597 0 0 1 17.45
06:14:10 1.0 0.0 0.5 98.4 0.0 1 2517 562 0 0 0 17.31
06:14:20 1.3 0.0 0.6 98.1 0.0 1 2825 730 0 0 1 17.32
06:14:30 2.6 0.0 1.1 96.3 0.0 1 4430 1556 3 1 4 17.73
06:14:40 1.4 0.0 0.7 97.9 0.0 1 2900 772 0 0 3 17.82
06:14:50 2.2 0.0 1.1 96.7 0.0 2 4574 1674 1 0 1 18.09
Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Fork Exec Exit Watts
06:15:00 1.9 0.0 0.9 97.2 0.0 1 4136 1629 9 0 0 18.32
06:15:10 1.6 0.0 0.7 97.8 0.0 1 2941 827 7 0 0 17.89
06:15:20 3.6 0.0 1.2 95.2 0.0 1 5722 2023 19 0 9 18.49
06:15:30 3.4 0.0 1.4 95.1 0.0 1 5122 2088 19 0 14 18.93
06:15:40 2.3 0.0 1.0 96.6 0.0 1 4071 1940 10 0 4 18.78
06:15:50 1.5 0.0 0.7 97.7 0.0 1 3128 895 0 0 3 18.30
06:16:00 1.5 0.0 0.8 97.7 0.0 1 3056 858 1 0 7 18.00
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Average 1.8 0.0 0.8 97.3 0.0 1.2 3680.6 1244.3 5.6 0.4 7.4 18.06
GeoMean 1.7 0.0 0.8 97.3 0.0 1.1 3502.7 1071.2 0.0 0.0 0.0 18.05
StdDev 0.8 0.0 0.3 1.1 0.0 0.4 1239.5 725.4 6.9 0.8 15.8 0.56
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Minimum 1.0 0.0 0.4 94.1 0.0 1.0 2426.4 551.3 0.0 0.0 0.0 17.22
Maximum 4.1 0.0 1.8 98.5 0.1 3.0 7658.5 3533.1 26.0 4.0 108.0 19.16
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Summary:
System: 18.06 Watts on average with standard deviation 0.56
Oh!! 18.06 Watts! this is more than normal. Did you opened beside this any other processes? Do you have a NVIDIA Card? if yes. Did you installed it correctly?
1.I have a NVIDIA card
Thank you for providing me this infos. I have the same laptop with the same Graphic card. I think your Nvidia is not correctly installed and you are using 5.4.x Kernel and this Kernel is consuming a lot of battery, I do not why. I have Manjaro KDE with 5.10.x Kernel and I am using prime and my App and when I run powerstat I become at the end only 0.80 Watt. That is why I get 8 hours of battery. Nvidia consuming a lot of if the driver is not correctly installed. If you want to install Manjaro KDE and setup Nvidia with it I can help you. If you do not want so let us try to figure out which process is consuming more Watts with powertop
So as you can see I have only 77% of the battery and I have 6 Hours and 48 min. I installed NVIDIA beside Intel and I have the option to switch between them.
I wanted to buy a Macbook just because of the bad battery life that I had! since my first day in linux, i suffered from NVIDIA all along without even knowing that NVIDIA was the reason behind it. I will forsure use Manjaro if the issue is not NVIDIA related.
before using Manjaro, i will just test your hypothesis.
Ok. Try to make the test again after deleting NVIDIA driver and please put the result here.
3- Yes, I have a dual screen and it works perfect on Intel and NVIDIA 4- I am sure that the NVIDIA is the reason of consuming a lot of Watt.
I prefer Manjaro for NVIDIA because there is a huge team in ARCH and Manjaro to make NVIDIA works out of the box on both. And don't worry the setup of NVIDIA on Manjaro is very very easy.
Test 1
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SMP
model: L17M3PG1
serial: 12759
power supply: yes
updated: Sun 31 Jan 2021 11:20:48 PM EET (54 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 40.57 Wh
energy-empty: 0 Wh
energy-full: 44.03 Wh
energy-full-design: 52.5 Wh
energy-rate: 7.59 W
voltage: 12.302 V
time to empty: 5.3 hours
percentage: 92%
capacity: 83.8667%
technology: lithium-polymer
icon-name: 'battery-full-symbolic'
History (rate):
1612128048 7.590 discharging
Test 2: BoostChanger was off until this time 23:07:01
(i turned off turbo boost, and turned power saving on)
$ sudo powerstat -d 2
[sudo] password for omar:
Running for 470.0 seconds (47 samples at 10.0 second intervals).
Power measurements will start in 2 seconds time.
Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Fork Exec Exit Watts
23:05:01 2.0 0.0 0.8 97.2 0.0 1 3081 1218 9 0 2 17.82
23:05:11 1.4 0.0 0.5 98.0 0.0 1 2470 874 0 0 21 17.21
23:05:21 1.9 0.0 0.7 97.4 0.0 1 3058 1229 2 2 4 17.22
^[ 23:05:31 3.2 0.0 1.3 95.5 0.1 2 4276 1740 60 7 27 18.04
23:05:41 2.3 0.0 0.9 96.8 0.0 1 3266 1308 0 0 1 17.97
23:05:51 2.3 0.0 1.0 96.7 0.0 1 4236 1705 11 1 6 17.55
23:06:01 2.7 0.0 1.0 96.3 0.0 1 4040 1663 1 0 1 17.84
23:06:11 1.2 0.0 0.6 98.1 0.1 1 2558 1014 20 5 24 17.42
23:06:21 1.2 0.0 0.5 98.4 0.0 1 2068 681 1 0 1 17.11
23:06:31 1.1 0.0 0.4 98.4 0.0 1 1863 564 0 0 0 16.79
23:06:41 1.1 0.0 0.5 98.4 0.0 1 1970 626 0 0 0 16.77
23:06:51 3.3 0.0 1.0 95.2 0.6 2 5044 1719 106 14 33 18.64
23:07:01 5.2 0.0 1.8 92.9 0.2 1 7143 2425 154 112 129 19.87
23:07:11 2.1 0.0 0.8 97.0 0.1 1 3633 1521 2 1 8 18.99
23:07:21 2.8 0.0 0.7 96.5 0.1 1 3101 971 53 16 49 18.35
23:07:31 1.6 0.0 0.7 97.7 0.1 1 2837 1146 3 0 14 17.99
23:07:41 1.2 0.0 0.5 98.3 0.0 1 2102 705 0 0 3 17.57
23:07:51 1.4 0.0 0.5 98.0 0.0 1 2204 756 0 0 29 17.05
23:08:01 1.3 0.0 0.4 98.2 0.0 1 2095 671 1 0 3 16.71
23:08:11 1.3 0.0 0.6 98.1 0.0 1 2149 706 0 0 7 16.64
23:08:21 1.4 0.0 0.5 98.2 0.0 1 2033 662 0 0 4 16.45
23:08:31 1.4 0.0 0.5 98.1 0.0 2 2148 705 0 0 1 16.49
23:08:41 1.3 0.0 0.4 98.3 0.0 1 2071 682 0 0 1 16.40
23:08:51 1.4 0.0 0.5 98.1 0.0 1 2191 741 1 0 3 16.48
23:09:01 1.4 0.0 0.4 98.2 0.0 1 2093 681 1 0 0 16.54
23:09:11 1.3 0.0 0.4 98.3 0.0 1 2130 681 0 0 0 16.54
23:09:21 1.3 0.0 0.4 98.2 0.0 1 2091 680 0 0 1 16.57
23:09:31 1.2 0.0 0.5 98.3 0.0 1 2145 681 0 0 0 16.57
23:09:41 1.4 0.0 0.4 98.3 0.0 1 2041 636 0 0 0 16.52
23:09:51 1.3 0.0 0.5 98.2 0.0 1 2169 718 3 0 0 16.49
23:10:01 1.3 0.0 0.5 98.2 0.0 1 2061 648 0 0 0 16.46
23:10:11 1.3 0.0 0.5 98.1 0.0 1 2134 709 0 0 0 16.49
23:10:21 1.3 0.0 0.4 98.3 0.0 2 2103 674 0 0 3 16.52
23:10:31 1.3 0.0 0.4 98.2 0.0 1 2135 703 1 0 0 16.46
23:10:41 1.4 0.0 0.5 98.2 0.0 1 2076 673 0 0 0 16.56
23:10:51 1.2 0.0 0.5 98.2 0.0 1 2137 711 1 0 0 16.60
23:11:01 1.3 0.0 0.5 98.2 0.0 1 2112 671 0 0 0 16.57
23:11:11 1.3 0.0 0.5 98.2 0.0 1 2166 721 0 0 0 16.59
23:11:21 1.3 0.0 0.5 98.2 0.0 1 2062 669 0 0 1 16.60
23:11:31 1.4 0.0 0.6 98.0 0.0 1 2337 824 0 0 0 16.74
Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Fork Exec Exit Watts
23:11:41 1.3 0.0 0.5 98.2 0.0 1 2059 674 0 0 0 16.61
23:11:51 1.3 0.0 0.4 98.3 0.0 1 2185 708 2 0 0 16.70
23:12:01 1.3 0.0 0.4 98.2 0.0 2 2073 659 0 0 0 16.57
23:12:11 1.2 0.0 0.5 98.3 0.0 1 2119 698 0 0 1 16.56
23:12:21 1.3 0.0 0.5 98.2 0.0 1 2051 653 0 0 1 16.53
23:14:42 49.5 0.0 50.5 0.0 0.0 151 3004 3415 196 108 172 5.84
23:14:42 23.0 0.0 18.9 52.5 5.7 4 291 106 0 0 0 5.84
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Average 3.1 0.0 2.0 94.7 0.2 4.4 2540.7 936.7 13.4 5.7 11.7 16.57
GeoMean 1.7 0.0 0.7 0.0 0.0 1.2 2356.2 825.5 0.0 0.0 0.0 16.27
StdDev 7.5 0.0 7.6 15.4 0.8 21.6 1029.3 549.2 39.1 22.2 31.4 2.39
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Minimum 1.1 0.0 0.4 0.0 0.0 1.0 291.4 105.8 0.0 0.0 0.0 5.84
Maximum 49.5 0.0 50.5 98.4 5.7 151.0 7142.9 3414.6 196.0 112.0 172.0 19.87
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Summary:
System: 16.57 Watts on average with standard deviation 2.3
htop
or ps -aux
at all! nor in systemctl
.Could you switch to Kernel 5.10.X? and test again?
Excuse my clumsiness but i have never done that before. all that i reached was trying to install it via apt (Debian package manager).
apt
These are the results after installing 5.10
Test 1:
$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SMP
model: L17M3PG1
serial: 12759
power supply: yes
updated: Mon 01 Feb 2021 11:05:40 AM EET (33 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 41.04 Wh
energy-empty: 0 Wh
energy-full: 43.65 Wh
energy-full-design: 52.5 Wh
energy-rate: 19.753 W
voltage: 12.126 V
time to empty: 2.1 hours
percentage: 94%
capacity: 83.1429%
technology: lithium-polymer
icon-name: 'battery-full-symbolic'
History (charge):
1612170340 94.000 discharging
History (rate):
1612170340 19.753 discharging
Test 2
$ sudo powerstat -d 2
Running for 470.0 seconds (47 samples at 10.0 second intervals).
Power measurements will start in 2 seconds time.
Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Fork Exec Exit Watts
11:07:06 2.2 0.0 0.8 97.0 0.0 1 3214 1350 2 2 2 18.30
11:07:16 1.0 0.0 0.2 98.7 0.0 1 1419 398 0 0 8 18.03
11:07:26 0.8 0.0 0.2 98.9 0.0 1 1340 339 0 0 4 17.57
11:07:36 0.9 0.0 0.2 98.9 0.0 1 1426 396 0 0 0 17.42
11:07:46 1.4 0.0 0.2 98.3 0.0 1 1394 483 9 0 0 17.32
11:07:56 0.9 0.0 0.2 98.8 0.0 1 1406 376 1 0 1 17.25
11:08:06 0.8 0.0 0.2 98.9 0.0 3 1338 339 0 0 0 17.15
11:08:16 3.4 0.0 0.9 95.7 0.0 1 3931 1653 3 1 1 17.93
11:08:26 2.0 0.0 0.9 97.0 0.1 1 2743 1290 13 0 148 18.21
11:08:36 0.5 0.0 0.2 98.8 0.5 1 792 471 4 0 4 17.68
11:08:46 0.4 0.0 0.2 99.4 0.0 1 907 507 0 0 0 17.63
11:08:56 0.4 0.0 0.2 99.4 0.0 1 771 451 0 0 1 17.18
11:09:06 0.5 0.0 0.2 99.3 0.0 1 908 511 0 0 0 17.07
11:09:16 0.4 0.0 0.2 99.3 0.0 1 744 413 0 0 0 16.93
11:09:26 0.4 0.0 0.2 99.4 0.0 1 846 498 0 0 1 17.03
11:09:36 0.4 0.0 0.2 99.4 0.0 1 788 482 0 0 1 17.01
11:09:46 0.4 0.0 0.2 99.4 0.0 1 893 504 0 0 0 16.99
11:09:56 0.4 0.0 0.2 99.4 0.0 1 748 433 0 0 0 16.87
11:10:06 1.5 0.0 0.7 97.8 0.0 1 2402 1467 1 1 1 17.11
11:10:16 6.5 0.0 1.8 90.3 1.4 1 6053 2492 216 111 134 18.54
11:10:26 1.4 0.0 0.6 97.9 0.0 3 2490 1380 9 0 0 18.35
11:10:36 0.6 0.0 0.3 99.1 0.0 1 1024 563 0 0 2 17.95
11:10:46 0.6 0.0 0.3 99.2 0.0 1 1026 552 0 0 0 17.40
11:10:56 0.5 0.0 0.2 99.2 0.0 1 948 509 0 0 9 17.22
11:11:06 0.5 0.0 0.3 99.2 0.0 1 1084 581 0 0 7 17.11
11:11:16 0.5 0.0 0.2 99.2 0.0 1 936 501 1 0 0 17.03
11:11:26 0.5 0.0 0.3 99.2 0.0 2 1000 525 0 0 2 16.95
11:11:36 0.5 0.0 0.2 99.3 0.0 1 924 490 0 0 1 16.92
11:11:46 0.6 0.0 0.3 99.2 0.0 2 1011 537 0 0 1 16.89
11:11:56 0.5 0.0 0.3 99.2 0.0 1 939 501 0 0 1 16.90
11:12:06 0.6 0.0 0.3 99.2 0.0 2 1015 561 0 0 1 16.91
11:12:16 0.5 0.0 0.2 99.2 0.0 1 940 497 0 0 0 16.87
11:12:26 0.6 0.0 0.3 99.0 0.0 1 1270 707 0 0 0 16.90
11:12:36 15.8 0.1 3.3 80.7 0.2 2 12434 4956 246 36 56 20.31
11:12:46 7.9 0.0 2.1 89.9 0.1 2 6377 3051 94 28 52 20.32
11:12:56 1.5 0.0 0.6 97.8 0.1 2 2374 925 8 0 0 19.15
11:13:06 1.8 0.0 0.7 97.4 0.1 1 2627 1094 0 0 28 18.72
11:13:16 1.5 0.0 0.5 98.0 0.1 2 2177 858 0 0 33 18.23
11:13:26 1.4 0.0 0.5 98.1 0.0 1 2171 871 0 0 31 18.06
11:13:36 1.4 0.0 0.4 98.1 0.0 1 2136 813 4 1 5 17.78
Time User Nice Sys Idle IO Run Ctxt/s IRQ/s Fork Exec Exit Watts
11:13:46 1.4 0.0 0.5 98.1 0.0 1 2226 880 3 0 6 17.79
11:13:56 2.4 0.0 0.5 97.0 0.1 1 2460 1035 27 0 3 17.87
11:14:06 1.3 0.0 0.5 98.1 0.1 1 2192 867 9 0 0 17.74
11:14:16 1.3 0.0 0.5 98.2 0.0 1 2087 805 0 0 22 17.69
11:14:26 1.7 0.0 0.6 97.7 0.0 1 2626 1245 7 0 15 17.73
11:14:36 1.2 0.0 0.4 98.4 0.0 1 1781 608 0 0 0 17.60
11:14:46 1.4 0.0 0.5 98.1 0.0 2 2154 822 0 0 0 17.55
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Average 1.6 0.0 0.5 97.8 0.1 1.3 2010.4 884.8 14.0 3.8 12.4 17.64
GeoMean 1.0 0.0 0.4 97.8 0.0 1.2 1577.4 713.8 0.0 0.0 0.0 17.63
StdDev 2.5 0.0 0.6 3.2 0.2 0.5 1949.6 800.9 48.0 17.1 30.0 0.79
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Minimum 0.4 0.0 0.2 80.7 0.0 1.0 743.8 338.8 0.0 0.0 0.0 16.87
Maximum 15.8 0.1 3.3 99.4 1.4 3.0 12433.7 4956.1 246.0 111.0 148.0 20.32
-------- ----- ----- ----- ----- ----- ---- ------ ------ ---- ---- ---- ------
Summary:
System: 17.64 Watts on average with standard deviation 0.79
Test 3: Powertop, it gives an error after some time (although it never does that in 5.4.X)
I am in the middle of picking a cross road and i hope that you give me your opinion. Both battery life & dual screen as well as Pantheon DE are incredibly important to me; what should be the solution to have both?
In case of 2 & 3 i do not know how to proceed as i always face bugs and i always depend on the GUI to automate it.
Sorry if the extended question, but i was willing to buy a Mac just because of these bugs (to save me time) but you gave me hope back into the battery life thing.
Guess what i found, Nouveau tries to make Nvidia work so Nvidia still consumes power, so much less in comparison with Nvidia drivers but it does. I want to totally black list it so that i can opt the maximum of my battery but i still dis not know how yet.
Sorry I was very busy. Give Manjaro KDE a try .. With KDE you will get everything you want. As I said before, I have the same Laptop and I am using Manjaro KDE and everything is working perfect.
I am using the program since it was hosted on github and i did not notice any change in CPU performance nor in battery life time. i am not using anything more than a single tab in google chrome, and a mail agent.
This is my setup for boostChanger:
Battery Estimated Life Time:
the effect should double the actual battery normal life time (2 hours) but the same normal life time persisted.
Operating System OS Name: Elementary OS 5.1.7 Hera (Based on Ubuntu 18.04 LTS)