Powertop Auto Tune On Boot
- Powertop Auto Tune Startup
- Powertop Auto Tune On Booth
- Powertop Auto Tune
- Powertop Auto Tune On Startup
- Powertop Auto Tune On Boot Windows 10
Good point about -auto-tune but settings are gone after a reboot. As per their user guide. Keep in mind that these settings will be reset after you boot the system. I added a section to the guide to use -auto-tune with a systemd unit file to start on boot per ot4con's comment below. The service runs powertop -auto-tune which automatically sets most tunables to their 'Good' state, for maximum battery life. But sometimes it doesn't work well, especially with USB mice. USB Autosuspend. It perplexed me for a while why my USB mouse on a laptop would deactivate itself randomly (its LED turns off, and the mouse doesn't work until you click one of the buttons, and then it will.
Mar 10, 2020 I run powertop -auto-tune on boot and all tunables are marked as good. With Linux 5.2, powertop reported an idle battery discharge rate of between 3 and 4 W and CPU package C states seemed normal (majority of time spent in pc7). However, with Linux 5.3, powertop reports an idle battery discharge rate of between 5 and 6 W. You can use the -auto-tune feature from powertop which sets all tunable options to their GOOD setting. This can be combined with systemd service to have the tunables set on boot. This can be combined with systemd service to have the tunables set on boot. $ sudo powertop -csv=FILENAME Calibrate mode. Calibrate mode measures power for a set of runs using different idle settings for USB devices, radios, backlight, wifi, disk, and the CPU. $ sudo powertop -calibrate Auto-Tune mode. This feature sets all tunable options to their GOOD setting without additional user intervention. $ sudo powertop. # systemctl enable powertop # systemctl start powertop. The next time you boot the system, the buzz will be gone. Might want to run with –calibrate first. If powertop doesn’t work, another way (reduces battery life slightly) is to add processor.maxcstate=2 to the linux line in grub.cfg, using this guide. I have a Dell Inspiron 5559 laptop which has a 40WHr, 4-cell battery. On Windows 7 I get a battery life of 6-7 hours. On Ubuntu I get a battery life of 5 hours after using PowerTop.
- Note: This guide will be merged with the official Libreboot documentation. Please update your links.
The ThinkPad X60 is the first Libreboot laptop, and the only laptop series where every motherboard is guaranteed to work with Libreboot (no ATI GPUs, all LCDs work out of the box, etc.).
Briefing[edit]
- All ThinkPad X60/X60s/X60 Tablet motherboards support Libreboot, since none of them have an ATI GPU.
- The ThinkPad X60 series supports software BIOS flashing.
- No hardware flashing is necessary, unless you accidentally brick the BIOS.
- You must install GNU/Linux before installing Libreboot. Here's a list of FSF-approved distros.
- In order to use an FSF-approved GNU/Linux distro, you must replace the Intel 3945abg Wifi Card; since it uses proprietary drivers.
- We recommend an Atheros ath9k Wireless-N miniPCI card. Other wifi cards with open source drivers are listed at h-node.
- You will need to remove the keyboard and palmrest in order to replace the miniPCI card. If you're not brave enough to do this, just buy a USB dongle.
- Don't plug in the new miniPCI card until Libreboot is installed, or your laptop will not boot (due to pesky miniPCI whitelisting).
- Until Libreboot is installed, you must use an Ethernet cable to connect to the internet, or transfer data via a USB drive.
Download Libreboot[edit]
- Download the latest Libreboot Binaries.
- Open a Terminal and navigate to the Downloads folder (or wherever else)
- Extract the Libreboot folder:
- Navigate to the
libreboot_bin
folder:
Install and Make Dependencies[edit]
The flashrom
and bucts
programs require a few dependencies. Install them automatically with the Libreboot builddeb
scripts.
- For DEB-based distros (Trisquel, Ubuntu, Debian, etc):
sudo ./deps-trisquel
- For Arch-based distros (Parabola, Arch Linux, etc):
sudo ./deps-parabola
- Other Linux distros will need to find the corresponding dependencies on their own.
Next, we actually have to build flashrom
and bucts
from source code. The Libreboot developers have made a nice build script that does this automatically:
Find the Right ROM[edit]
Under the bin/
folder in libreboot_bin/
, there are a multitude of Libreboot ROMs sorted by motherboard.
Choose the ROM with your laptop's keyboard layout (US or UK, QWERTY or DVORAK). For ThinkPads, choose a serial
ROM if dock and serial port support is needed.
bin/x60/
- ThinkPad X60/X60sbin/x60t/
- ThinkPad X60 Tablet
Once you know which ROM to use, remember it's directory path for the next step (ex. bin/x60/libreboot_serial_usqwerty.rom
)
Check the ROMs section from the official Libreboot Documentation for the latest list.
Back up Original BIOS[edit]
If you choose to make a backup, click [Expand]
on the right and follow the directions.
- From the
libreboot_bin/
folder, enter theflashrom/
folder. - Run both of these commands to backup the BIOS to
factory.bin
(don't panic, nothing is being installed):
- If a
factory.bin
file was created in theflashrom/
folder, the Lenovo BIOS has been backed up successfully. If not, try the commands again. Copy this dump to a safe place. - Return to the
libreboot_bin/
folder.
Libreboot First Flash[edit]
If you are flashing Libreboot for the first time, on an unmodified ThinkPad running Lenovo's BIOS, you will need to follow this special process.
- Run the first flash script for Lenovo BIOSes:
- Wait for the process to finish. Expect to see 'critical errors' during flashing, but don't panic; proceed to the next step to check if the flash ran correctly.
- The line below is displayed if
bucts 1
was enabled successfully.
- The following 'errors' are displayed if
flashrom
installed Libreboot correctly. The output must be very similar (later versions offlashrom
may have minor differences).
- If the 'errors' closely match the lines above, shut down the laptop (don't restart).
- Wait a few seconds, and then boot. Libreboot will start up.
- Use the
Search for GRUB configuration on local storage
option if the normal menu options don't work. - After booting into Linux, proceed to Libreboot Second Flash.
- Source: Flashrom Mailing List - ThinkPad X60: Is it safe to reboot with errors in flashrom?
Enable Trackpoint[edit]
On a few rare X60 variants, the Trackpoint mouse might not work out of the box. Not to worry though, just use nvramtool
with the Libreboot package to enable it.
- Boot and log into Linux. (you may need to use text mode, find keyboard shortcuts)
- Open a Terminal (somehow.. without the mouse. Hopefully you have Yakuake installed!)
- Navigate to the
libreboot_bin/nvramtool
folder. - Build
nvramtool
withmake
. - Use
nvramtool
to enable the TrackPoint mouse. - Reboot the laptop (using
sudo reboot
), and the TrackPoint will be enabled. If it still doesn't work, try this command instead:
- Source: Libreboot Documentation - Enable X60 Trackpoint
Libreboot Second Flash[edit]
Now that Libreboot has been installed and is up and running, it must be flashed a second time to fully remove the Lenovo BIOS.
- Open a Terminal and navigate to the
libreboot_bin
directory. - Run the following command to flash Libreboot a second time.
- The following line will be displayed if
bucts
was set back to0
again. If it was not set to 0, run the script again. - The following should also be displayed, without any errors:
- Shut down again, wait a few seconds, and then boot. Libreboot has been successfully installed.
- Source: Libreboot Documentation - Installing Libreboot a Second Time on ThinkPad X60/T60 systems
Replace the WiFi Card[edit]
If you are planning on using Trisquel or some other FSF-approved GNU/Linux distro, you must replace the Intel mPCI wifi card with an Atheros Wireless-N mPCI card ($10-15).
The Intel card requires proprietary blobs, makes the palmrest extremely hot, and only supports the slower Wireless-G anyway; so it's well worth the upgrade.
- Follow this guide for the X60/X60s or the HMM for the X60 tablet to remove the palmrest.
- Remove the Intel 3945bgn WiFi Card.
- Replace it with an Atheros Wireless-N MiniPCI card.
(needs more info and photos)
Updating Libreboot or Installing Custom ROMs[edit]
Powertop Auto Tune Startup
In the future, if you ever want to update Libreboot on the X60 (or restore the factory BIOS), follow this process.
- Download and extract the latest Libreboot binary release.
- Open a Terminal, and navigate to the
libreboot_bin
directory. - Run the following command to flash your chosen rom:
- The following should be displayed, without any errors:
- Shut down again, wait a few seconds, and then boot. Libreboot has been successfully updated.
- Source: Libreboot Documentation - Installing Libreboot a Second Time on ThinkPad X60/T60 systems
Remove High Pitched Whining Noise[edit]
There might be a high pitched whining noise coming from the CPU at times, so if it bothers you, follow this procedure to get rid of it:
Installing PowerTop[edit]
First, install powertop from the repositories:
Powertop Auto Tune On Booth
Now you can use this command to kill that noise:
You can also run it without parameters and then go into 'Tunables' and set everything to 'Good'
Powertop - Start automatically at boot time (Trisquel 6)[edit]
Included with the libreboot release is a script called powertop.trisquel6
. Run this and it will setup powertop to run with --auto-tune at boot time. Load the file in your text editor to see how it does that.
- Source: Libreboot Docs - Remove High Pitched Whining Noise on Ubuntu/Debian/Trisquel
Powertop Auto Tune
Powertop for Arch Linux/Parabola[edit]
- Become root:
- Install powertop:
- Add the following to
/etc/systemd/system/powertop.service
:
Finally, enable powertop
in systemd:
The next time you boot the machine, the buzz will be gone.
Powertop Auto Tune On Startup
Powertop Cannot Load from File
[edit]
Powertop will not work immediately, it has to collect measurement data before implementing it's features, which will be stored in /var/cache/powertop/saved_parameters.powertop
Heat up 2 vst crack mac. Leave the laptop running on battery for a while, and Powertop will figure something out sooner or later.
- Source: Arch Linux Wiki - Powertop