notes:laptop_power_management
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
notes:laptop_power_management [2019/12/14 13:06] – balance perf Sean Rhone | notes:laptop_power_management [2023/07/13 15:26] (current) – Sean Rhone | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Laptop Power Management ====== | ====== Laptop Power Management ====== | ||
- | |||
- | ===== Notes ===== | ||
- | |||
- | * This expects a laptop with a battery | ||
- | * Unnecessary for desktops | ||
===== Testing ===== | ===== Testing ===== | ||
Line 10: | Line 5: | ||
* The following commands can be ran to see if they work on specific hardware | * The following commands can be ran to see if they work on specific hardware | ||
- | watch -n 0.1 grep \'cpu MHz\' '/ | + | watch -n 0.5 grep \'cpu MHz\' '/ |
sudo x86_energy_perf_policy --all ' | sudo x86_energy_perf_policy --all ' | ||
Line 18: | Line 13: | ||
====== Dependencies ====== | ====== Dependencies ====== | ||
- | ===== Fedora Workstation ===== | + | **** |
- | + | ||
- | | + | |
sudo dnf install ' | sudo dnf install ' | ||
- | |||
- | ===== Ubuntu ===== | ||
- | |||
- | * '' | ||
- | * :!: TODO: This for whatever reason doesn' | ||
- | |||
- | linux-tools-common linux-tools-generic | ||
====== Scripts ====== | ====== Scripts ====== | ||
Line 40: | Line 26: | ||
< | < | ||
- | #!/usr/bin/bash | + | #!/bin/bash |
# AC | # AC | ||
echo "$(cat '/ | echo "$(cat '/ | ||
Line 53: | Line 39: | ||
< | < | ||
- | #!/usr/bin/bash | + | #!/bin/bash |
# Battery | # Battery | ||
echo ' | echo ' |
/var/www/wiki/data/pages/notes/laptop_power_management.txt · Last modified: 2023/07/13 15:26 by Sean Rhone