Author:
Source
Jeremie Courreges-Anglas (jca@
)
committed a change
which is likely to be welcomed by laptop users:
CVSROOT: /cvs Module name: src Changes by: jca@cvs.openbsd.org 2024/11/21 04:58:45 Modified files: sys/kern : sched_bsd.c lib/libc/sys : sysctl.2 Log message: Let the user provide an alternative perfpolicy when on battery The current behavior of "auto", which implies running at full speed when on AC power, does not fit all the hardware and use cases. For some people it results in more power consumption, more heat, more noise, etc. Extend the semantics of hw.perfpolicy and provide two buttons to specify the desired behavior: sysctl hw.perfpolicy=<policy while on ac>[,<policy while on battery>] Keep the default behavior of "high,auto". People can opt for "auto,auto" or simply "auto" instead. No objection from deraadt@, input and ok sobrado@ sthen@
This is now in snapshots, so please test if you run those!