Skip to content

Instantly share code, notes, and snippets.

@nariox
nariox / set-power-uuid.sh
Created February 25, 2020 17:53
Script to set power UUID to "adaptive performance" (or any other UUID when supplied in the argument)
#!/bin/bash
set -eu
die() {
echo "$1" >&2
exit 1
}
@nariox
nariox / tlp-stat-bat.txt
Created January 9, 2020 19:42
tlp-stat output for Battery
--- TLP 1.3.0-beta.3 --------------------------------------------
+++ Configured Settings:
TLP_ENABLE="1"
TLP_PERSISTENT_DEFAULT="0"
DISK_IDLE_SECS_ON_AC="0"
DISK_IDLE_SECS_ON_BAT="2"
MAX_LOST_WORK_SECS_ON_AC="15"
MAX_LOST_WORK_SECS_ON_BAT="60"
CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
@nariox
nariox / tlp-stat-ac.txt
Created January 9, 2020 19:40
tlp-stat output for AC
--- TLP 1.3.0-beta.3 --------------------------------------------
+++ Configured Settings:
TLP_ENABLE="1"
TLP_PERSISTENT_DEFAULT="0"
DISK_IDLE_SECS_ON_AC="0"
DISK_IDLE_SECS_ON_BAT="2"
MAX_LOST_WORK_SECS_ON_AC="15"
MAX_LOST_WORK_SECS_ON_BAT="60"
CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"