notes:laptop_power_management
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:laptop_power_management [2019/04/20 05:52] – Sean Rhone | notes:laptop_power_management [2024/08/13 18:45] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Laptop Power Management ====== | ||
| - | ===== Notes ===== | ||
| - | |||
| - | * This expects a laptop with a battery | ||
| - | * Do not use this for desktops | ||
| - | |||
| - | ===== Testing ===== | ||
| - | |||
| - | * The following commands can be ran to see if they work on specific hardware | ||
| - | |||
| - | watch -n 0.1 grep \'cpu MHz\' '/ | ||
| - | |||
| - | sudo x86_energy_perf_policy --all ' | ||
| - | |||
| - | sudo x86_energy_perf_policy --all ' | ||
| - | |||
| - | ====== Dependencies ====== | ||
| - | |||
| - | ===== Fedora Workstation ===== | ||
| - | |||
| - | * '' | ||
| - | |||
| - | sudo dnf install ' | ||
| - | |||
| - | ===== Ubuntu ===== | ||
| - | |||
| - | * '' | ||
| - | |||
| - | linux-tools-common linux-tools-generic | ||
| - | |||
| - | ====== Scripts ====== | ||
| - | |||
| - | ===== AC ===== | ||
| - | |||
| - | * Change the '' | ||
| - | |||
| - | sudo mkdir -p '/ | ||
| - | |||
| - | < | ||
| - | # | ||
| - | # AC | ||
| - | echo "$(cat '/ | ||
| - | x86_energy_perf_policy --all ' | ||
| - | # End</ | ||
| - | |||
| - | ===== Battery ===== | ||
| - | |||
| - | * Change the '' | ||
| - | |||
| - | sudo mkdir -p '/ | ||
| - | |||
| - | < | ||
| - | # | ||
| - | # Battery | ||
| - | echo ' | ||
| - | x86_energy_perf_policy --all ' | ||
| - | # End</ | ||
| - | |||
| - | ===== udev Rule ===== | ||
| - | |||
| - | * Requires the above AC and Battery scripts | ||
| - | |||
| - | sudo -e '/ | ||
| - | |||
| - | < | ||
| - | SUBSYSTEM==" | ||
| - | SUBSYSTEM==" | ||
/usr/local/www/wiki/data/attic/notes/laptop_power_management.1555753939.txt.gz · Last modified: (external edit)
