Laptop: Difference between revisions
imported>AmnesiaAmesia m Added initial text about auto-cpufreq |
imported>AmnesiaAmesia m Added initial text about powertop |
||
Line 27: | Line 27: | ||
==== auto-cpufreq ==== | ==== auto-cpufreq ==== | ||
Another tool used for power management is auto-cpufreq which aims to replace tlp. When using auto-cpufreq it is therefore recommended to disable tlp as these tools are conflicting each other. However NixOS does allow for using both at the same time and you therefore run them in tandem at your own risk. To enable the service just add <code>services.auto-cpufreq.enable = true;</code> to your configuration.nix | Another tool used for power management is auto-cpufreq which aims to replace tlp. When using auto-cpufreq it is therefore recommended to disable tlp as these tools are conflicting each other. However NixOS does allow for using both at the same time and you therefore run them in tandem at your own risk. To enable the service just add <code>services.auto-cpufreq.enable = true;</code> to your configuration.nix | ||
==== Powertop ==== | |||
Powertop is a power analysis tool, but it also has a feature refered to as auto tune which will enable powersaving settings on your device. These powersaving settings should be almost the same as those enable by tlp, although you powertop enales usb autosuspend per default. This can make your input devices such as the keyboard unresponsive for some time when it has been suspended. To enable write <code>powerManagement.powertop.enable = true;</code>. | |||
== Troubleshooting == | == Troubleshooting == |