User Tools

Site Tools


notes:laptop_power_management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
notes:laptop_power_management [2019/04/20 05:52] Sean Rhonenotes:laptop_power_management [2019/11/30 22:27] Sean Rhone
Line 42: Line 42:
 # AC # AC
 echo "$(cat '/sys/class/backlight/'*'/max_brightness')" | tee '/sys/class/backlight/'*'/brightness' > '/dev/null' echo "$(cat '/sys/class/backlight/'*'/max_brightness')" | tee '/sys/class/backlight/'*'/brightness' > '/dev/null'
-x86_energy_perf_policy --all 'balance-performance' --turbo-enable '1' --force+x86_energy_perf_policy --all 'performance' --turbo-enable '1' --force
 # End</code> # End</code>
  
 ===== Battery ===== ===== Battery =====
  
-  * Change the ''backlight'' sysfs as-needed (see [[#backlight1|backlight notes]]) or remove altogether+  * Change the ''backlight'' sysfs as-needed (see [[distros:fedora_workstation_gnome#backlight|Backlight notes]]) or remove altogether
  
   sudo mkdir -p '/etc/udev/scripts.d' && sudo -e '/etc/udev/scripts.d/battery-power.sh' && sudo chmod +x '/etc/udev/scripts.d/battery-power.sh'   sudo mkdir -p '/etc/udev/scripts.d' && sudo -e '/etc/udev/scripts.d/battery-power.sh' && sudo chmod +x '/etc/udev/scripts.d/battery-power.sh'
Line 54: Line 54:
 #!/usr/bin/bash #!/usr/bin/bash
 # Battery # Battery
-echo '3750' | tee '/sys/class/backlight/'*'/brightness' > '/dev/null' +echo '60600' | tee '/sys/class/backlight/'*'/brightness' > '/dev/null' 
-x86_energy_perf_policy --all 'balance-power' --turbo-enable '0' --force+x86_energy_perf_policy --all 'power' --turbo-enable '0' --force
 # End</code> # End</code>
  
/var/www/wiki/data/pages/notes/laptop_power_management.txt · Last modified: 2023/07/13 15:26 by Sean Rhone