GlitchyDot Are you sure the "ahci_load" belongs in rc.conf and not loader.conf?
Thank You!GlitchyDot Are you sure the "ahci_load" belongs in rc.conf and not loader.conf?
I noted battery life shorter on zfs and better on ufs ( maybe tinfoil hat moment) … ThinkPad T480 i7-8650U …
nvmeHard disk drive?
I'm using UFS on my particular machine. Also, come to think of it, I think that my battery life is substantially better when I'm using an ethernet cable instead of wifi. But, maybe I'm also have a tinfoil hat moment due to being new to all of this.I noted battery life shorter on zfs and better on ufs ( maybe tinfoil hat moment) so im back on ufs.
This my rc.conf
Also i have ThinkPad T480 i7-8650U motherboardCode:powerd_flags="-a hiadaptive -b adaptive" performance_cx_lowest="Cmax" economy_cx_lowest="Cmax" kld_list="acpi_video" ahci_load="YES"
my /etc/sysctl.conf contains hw.acpi.video.lcd0.brightness=30
I have 2 batteries up to 12h of battery life for my use case.
While im typing now - my laptopt uses 6.50W-7.20W 2tabs of fifefox and Alacritty terminal open.
If i do nothing, nothing is open - once screen blanks out it uses 2.7W
I dont know if my rc.conf is correct never checked with the lads on FreeBSD.
Also i have ibm module loaded so i could use my 2 batteries in one go.
Still not configured usb power when nothing is attached to them.
/boot/loader.conf
compat.linuxkpi_enable_dc=2
compat.linuxkpi.enable_fbc=1
hw.pci.do_power_nodriver="3"
hw.pci.do_power_nodriver (Defaults to 0)
Place devices into a low power state (D3) when a suitable de-
vice driver is not found. Can be set to one of the following
values:
3 Powers down all PCI devices without a device driver.
2 Powers down most devices without a device driver. PCI
devices with the display, memory, and base peripheral
device classes are not powered down.
1 Similar to a setting of 2 except that storage con-
trollers are also not powered down.
0 All devices are left fully powered.
A PCI device must support power management to be powered down.
Placing a device into a low power state may not reduce power
consumption.
I did some measurements in that regard, you may start here.I'm using UFS on my particular machine. Also, come to think of it, I think that my battery life is substantially better when I'm using an ethernet cable instead of wifi. But, maybe I'm also have a tinfoil hat moment due to being new to all of this.
… the device area of the Thunar …
This is awesome!I did some measurements in that regard, you may start here.
I would check OG battery capacity and aftermarket. maybe its smaller in capacity also i never had issues with aftermarket bats dies quicker due to being aftermarket but i have experience only with Thinkpad`s.Well, I have been using my laptop with FreeBSD for about week since making a few adjustments to it, and I've reached the conclusion that at least part of my problem may lie with the fact that the battery I'm using now is an aftermarket one I got online a few months back, and most likely its quality isn't as good the one that originally came with the factory with my laptop back in 2018.
amd-pstate
kernel driver to lower the idle CPU frequencies. The main change would be the minimum frequencies for idle cores would be at 400 MHz instead of 1400 MHz. I looked into it a bit on powerd
but I was not able to find the scaling down of frequencies until 400 MHz. I am also not too knowledgeable on this topic of managing CPU freqs, scheduling and governors. Anyone knows if this is possible on FreeBSD? Do I need to install an extra package like