Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

95.16. powertop-2.16

Power consumption diagnosis and tuning tool

2.16-1 · GPL-2.0-only · 0.8 SBU · 1.5 MiB, 4 files · 41_system, 656 of 1047 · ports/core/hardware/powertop

Homepage: https://github.com/fenrus75/powertop

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/hardware.txt:

The measuring half of laptop power saving, beside tlp. powertop 2.15 made libtracefs a hard requirement, so its two kernel.org libraries come with it; 2.14 bundled traceevent in-tree and pinning that would freeze the tool at 2022 to save two ports.

Depends on: ncurses, pciutils, libnl, libtracefs.

Required by: no port names it.

Sources: powertop-2.16.tar.gz (404.8 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install powertop'

build.sh:

meson setup build --prefix=/usr --libdir=lib --buildtype=release \
	-Dnls=false \
	-Dtest-framework=false \
	-Denable-tests=false
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

Programs: powertop.

Directories: /usr/share/licenses/powertop.