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 [2023/07/13 15:26] – Sean Rhone | notes:laptop_power_management [2024/08/13 18:45] (current) – removed Sean Rhone | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Laptop Power Management ====== | ||
| - | ===== Testing ===== | ||
| - | |||
| - | * The following commands can be ran to see if they work on specific hardware | ||
| - | |||
| - | watch -n 0.5 grep \'cpu MHz\' '/ | ||
| - | |||
| - | sudo x86_energy_perf_policy --all ' | ||
| - | |||
| - | sudo x86_energy_perf_policy --all ' | ||
| - | |||
| - | ====== Dependencies ====== | ||
| - | |||
| - | **** | ||
| - | |||
| - | sudo dnf install ' | ||
| - | |||
| - | ====== Scripts ====== | ||
| - | |||
| - | ===== AC ===== | ||
| - | |||
| - | * Change the '' | ||
| - | |||
| - | sudo mkdir -p '/ | ||
| - | |||
| - | < | ||
| - | #!/bin/bash | ||
| - | # AC | ||
| - | echo "$(cat '/ | ||
| - | x86_energy_perf_policy --all ' | ||
| - | # End</ | ||
| - | |||
| - | ===== Battery ===== | ||
| - | |||
| - | * Change the '' | ||
| - | |||
| - | sudo mkdir -p '/ | ||
| - | |||
| - | < | ||
| - | #!/bin/bash | ||
| - | # 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.1689276366.txt.gz · Last modified: by Sean Rhone
