Hi,
I'm on FreeBSD 13 on a Thinkpad x230 and am trying to optimise the power use when on battery.
I followed some of the advice given here, since that was the most recent article on saving power I could find. The wiki article seems rather old, referencing FreeBSD 8 / 9, and as someone new to this, I wasn't sure how valid that advice still is.
Power consumption is regularly over 15W. See output below.
I tried both, powerd and powerdxx, but none improved the situation. I used the following:
I also tried tweaking the loader.conf variables as discussed in the above linked article, but to no avail...
Are there any other options I could try? Thanks!
Sample power consumption:
I'm on FreeBSD 13 on a Thinkpad x230 and am trying to optimise the power use when on battery.
I followed some of the advice given here, since that was the most recent article on saving power I could find. The wiki article seems rather old, referencing FreeBSD 8 / 9, and as someone new to this, I wasn't sure how valid that advice still is.
Power consumption is regularly over 15W. See output below.
I tried both, powerd and powerdxx, but none improved the situation. I used the following:
Code:
# Power management
#powerdxx_enable="YES"
#powerdxx_flags="-n adaptive -a hiadaptive -b adaptive -m 800 -M 1600"
powerd_enable="YES"
powerd_flags="-a maximum -b adaptive -i 85 -r 60 -p 100"
performance_cx_lowest="HIGH" # Online CPU idle state
performance_cpu_freq="NONE" # Online CPU frequency
economy_cx_lowest="HIGH" # Offline CPU idle state
economy_cpu_freq="NONE" # Offline CPU frequency
I also tried tweaking the loader.conf variables as discussed in the above linked article, but to no avail...
Code:
cpuctl_enable="YES"
# AHCI POWER MANAGEMENT FOR EVERY USED CHANNEL (ahcich 0-7)
hint.ahcich.0.pm_level=5
hint.ahcich.1.pm_level=5
hint.ahcich.2.pm_level=5
hint.ahcich.3.pm_level=5
hint.ahcich.4.pm_level=5
hint.ahcich.5.pm_level=5
hint.ahcich.6.pm_level=5
hint.ahcich.7.pm_level=5
# POWER OFF DEVICES WITHOUT ATTACHED DRIVER
hw.pci.do_power_nodriver=3
# INTEL DRM WITH graphics/drm-kmod PACKAGE (NEW)
# SKIP UNNECESSARY MODE SETS AT BOOT TIME
compat.linuxkpi.fastboot=1
# USE SEMAPHORES FOR INTER RING SYNC
compat.linuxkpi.semaphores=1
# ENABLE POWER SAVING RENDER C-STATE 6
compat.linuxkpi.enable_rc6=7
# ENABLE POWER SAVING DISPLAY C-STATES
compat.linuxkpi.enable_dc=2
# ENABLE FRAME BUFFER COMPRESSION FOR POWER SAVINGS
compat.linuxkpi.enable_fbc=1
Are there any other options I could try? Thanks!
Sample power consumption:
Code:
>> acpiconf -i 0
Design capacity: 93960 mWh
Last full capacity: 93900 mWh
Technology: secondary (rechargeable)
Design voltage: 10800 mV
Capacity (warn): 4695 mWh
Capacity (low): 200 mWh
Low/warn granularity: 1 mWh
Warn/full granularity: 1 mWh
Model number: 45N1175
Serial number: 526
Type: LION
OEM info: SANYO
State: discharging
Remaining capacity: 76%
Remaining time: 4:32
Present rate: 15710 mW
Present voltage: 11586 mV