/etc/laptop-mode/conf.d/cpuhotplug.conf is in laptop-mode-tools 1.71-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #
# Configuration file for Laptop Mode Tools module cpuhotplug.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# CPU Hot Plugging
# ----------------
#
#__COMMENT Laptop mode tools can automatically switch off multiple CPU cores
#__COMMENT when switching to battery.
#__COMMENT This can be very useful if your use does not involve CPU intensive
#__COMMENT tasks, while on battery
#__COMMENT
#__COMMENT IMPORTANT: This feature may break Linux Software Suspend
#__COMMENT
#__COMMENT Enalbe it only if you understand what you are doing
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
#
# Should laptop mode tools control the CPU Hot Plugging functionality?
#
# Set to 0 to disable
CONTROL_CPU_HOTPLUG=0
#
# How many cores to disable. This setting defines how many CPU cores should be
# disabled.
#
# Possible values are:
# half -> disable half of available logical CPUs
# quarter -> disable 1/4 of available logical CPUs
# 3quarter -> disable 3/4 of available logical CPUs
#
# integer -> Set this to a user specific number
# list of cpu<integer>-s -> Disable specific CPUs. Example: "cpu1 cpu3"
#
DISABLE_AVAILABLE_CPU="half"
# Conditions under which to enable CPU Hot Plugging, i.e. shutdown of the CPU
BATT_CPU_HOTPLUG=1
LM_AC_CPU_HOTPLUG=0
NOLM_AC_CPU_HOTPLUG=0
|