

Screen brightness I control myself and it doesn't depend on the battery. When I need more brightness, I need more brightness, period. My eyes do not care if the laptop is on battery power. The rest is already taken care of by the hardware nowadays. At least on AMD hardware. The only thing I remember explicitly doing, aside from switching to quiet profile(EFI firmware function, limits CPU frequency and boost), was to set the CPU frequency governor to powersave and it didn't substantially improve battery life.Massimo B. wrote:As usual, saving power by throttling CPU, GPU, harddisks, frequencies, dirty cycles, displays, brightness, timeouts etc...
A lot of all that what laptop-mode-tools already do and still doing.
At least there have been updates to the project after your comeback. Beside that, I'm using Linux since 2003, never left and nothing else. All years before have been a waste of time.

Code: Select all
# powertop
modprobe cpufreq_stats failed
Failed to mount debugfs!
exiting...
# zgrep -i -e cpufreq -e debugfs /proc/config.gz
CONFIG_ACPI_EC_DEBUGFS=y
CONFIG_X86_PCC_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ is not setCode: Select all
>> echo '1500' > '/proc/sys/vm/dirty_writeback_centisecs';
>> echo '1' > '/sys/module/snd_hda_intel/parameters/power_save';
Code: Select all
# tlp start
***Warning: laptop-mode-tools detected, this may cause conflicts with TLP.
Please uninstall laptop-mode-tools.
TLP started in AC mode (auto).Code: Select all
Jun 20 13:29:12 [kernel] [13146.366090] NOHZ tick-stop error: local softirq work is pending, handler #08!!!
Code: Select all
USB_DENYLIST="0bda:8153"Code: Select all
tlp init start
After tlp is running fine now, I'm going to check thermald.xgivolari wrote:Additionally on intel, it is recommended to install thermald for better thermal/power management.
However in the logs I see:thermald: limits power dissipation to prevent the laptop from overheating. It does not provide power saving functionality for other situations and therefore does not conflict with TLP.


This is why I put the nothing in quotesMassimo B. wrote:It does. You can add some powersaving even in AC mode,



It can: cf. acpi(1). i call `acpi -b` in a script i've written which gives me desktop notifications warning about things like battery levels, memory usage, etc.sublogic wrote:I don't remember if it could monitor battery levels

Code: Select all
# grep -v "^#" /etc/UPower/UPower.conf |grep -v "^$"
[UPower]
EnableWattsUpPro=false
NoPollBatteries=true
IgnoreLid=false
UsePercentageForPolicy=true
PercentageLow=10
PercentageCritical=5
PercentageAction=2
TimeLow=1200
TimeCritical=300
TimeAction=120
CriticalPowerAction=PowerOff
Code: Select all
/etc/tlp.conf 
Code: Select all
Mar 28 10:51:27 kernel: sd 0:0:0:0: [sda] Stopping disk
Mar 28 10:51:30 kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Mar 28 10:51:30 kernel: ata1.00: configured for UDMA/133
Mar 28 10:51:31 kernel: sd 0:0:0:0: [sda] Starting disk
Mar 28 10:51:31 kernel: sd 0:0:0:0: [sda] Starting disk
Mar 28 10:51:31 kernel: sd 0:0:0:0: [sda] Starting disk
Mar 28 10:52:22 kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Mar 28 10:52:22 kernel: sd 0:0:0:0: [sda] Stopping disk
Mar 28 10:52:32 kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Mar 28 10:52:32 kernel: ata1.00: configured for UDMA/133
Mar 28 10:52:32 kernel: sd 0:0:0:0: [sda] Starting disk
Mar 28 10:52:32 kernel: sd 0:0:0:0: [sda] Starting disk
Mar 28 10:52:32 kernel: sd 0:0:0:0: [sda] Starting disk
Mar 28 10:52:51 kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Mar 28 10:52:51 kernel: sd 0:0:0:0: [sda] Stopping disk