{"id":13441269,"url":"https://github.com/fenrus75/powertop","last_synced_at":"2026-10-19T13:51:04.996Z","repository":{"id":45206452,"uuid":"3096701","full_name":"fenrus75/powertop","owner":"fenrus75","description":"The Linux PowerTOP tool  -- please post patches to the mailing list instead of using github pull requests","archived":false,"fork":false,"pushed_at":"2026-10-07T21:41:16.000Z","size":4667,"stargazers_count":1345,"open_issues_count":103,"forks_count":144,"subscribers_count":41,"default_branch":"master","last_synced_at":"2026-10-15T08:07:34.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.01.org/powertop","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fenrus75.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2012-01-03T19:39:38.000Z","updated_at":"2026-10-13T12:51:43.000Z","dependencies_parsed_at":"2023-02-11T13:30:31.861Z","dependency_job_id":"797db177-e10b-4a96-9538-3df01956c1da","html_url":"https://github.com/fenrus75/powertop","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"purl":"pkg:github/fenrus75/powertop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenrus75%2Fpowertop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenrus75%2Fpowertop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenrus75%2Fpowertop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenrus75%2Fpowertop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fenrus75","download_url":"https://codeload.github.com/fenrus75/powertop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fenrus75%2Fpowertop/sbom","scorecard":{"id":397096,"data":{"date":"2025-08-11","repo":{"name":"github.com/fenrus75/powertop","commit":"49045c0c8ca7d3f47b8e289a9436d5ab2f4e93d9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":5,"reason":"Found 10/20 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Info: FSF or OSI recognized license: GNU General Public License v2.0: COPYING:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v2.15 not signed: https://api.github.com/repos/fenrus75/powertop/releases/78567803","Warn: release artifact v2.15 does not have provenance: https://api.github.com/repos/fenrus75/powertop/releases/78567803"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T19:17:34.588Z","repository_id":45206452,"created_at":"2025-08-18T19:17:34.588Z","updated_at":"2025-08-18T19:17:34.588Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38357880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T03:01:31.813Z","updated_at":"2026-10-19T13:51:04.989Z","avatar_url":"https://github.com/fenrus75.png","language":"C++","funding_links":[],"categories":["C++","Applications","Service Integration","System Utilities","Tooling"],"sub_categories":["Utilities","Power Management","Directory Navigation","OS — Linux"],"readme":"# PowerTOP\n\nPowerTOP is a Linux tool used to diagnose issues with power consumption and\npower management. In addition to being a diagnostic tool, PowerTOP also has an\ninteractive mode you can use to experiment with various power management\nsettings, for cases where the Linux distribution has not enabled those settings.\n\n## Recent releases\n\n| Version      | Highlights |\n|--------------|------------|\n| v2.16.1   | Maintenance release: WakeUp/Tunables cursor fix, vi-style nav keys, rfkill hidden from Device list, legacy autoconf removed |\n| v2.16        | AMD GPU tunable, CPU stats TUI redesign, Wayland-safe calibration, 14 new tunables |\n| v2.16-rc3 | GPU tab visual polish: colour bars, combined idle bar, power profile display |\n| v2.16-rc2 | Vertical scrollbar, terminal resize support, `--once` / `--auto-tune-dump` options, Meson build, C++20 |\n| v2.15     | Previous stable release |\n\nFull release notes: [`doc/relnotes.md`](doc/relnotes.md)\n\n# Build dependencies\n\nPowerTOP is written in C++ and targets Linux. It requires the\n[Meson build system](https://mesonbuild.com/) and the following libraries:\n\n* `ncurses` (required)\n* `libnl-3` (required)\n* `libtracefs` (required)\n* `libtraceevent` (required)\n* `libpci` (optional — only needed if the system has PCI devices)\n* `gettext` (optional — for translated messages)\n\nExample packages to install on Ubuntu:\n\n    sudo apt install meson ninja-build libpci-dev libnl-3-dev libnl-genl-3-dev \\\n    libncursesw5-dev libtracefs-dev libtraceevent-dev gettext pkg-config\n\n\n## Building PowerTOP\n\nTo build PowerTOP from the cloned source:\n\n    meson setup build\n    ninja -C build\n\nTo run the test suite:\n\n    meson setup -Denable-tests=true build_test\n    ninja -C build_test test\n\n\n# Running PowerTOP\n\nPowerTOP must be run as root. When invoked without arguments it starts in\ninteractive mode, which resembles `top`. Use the Tab and Shift-Tab keys to\nnavigate between the Overview, Idle stats, Frequency stats, Device stats,\nTunables, and WakeUp tabs.\n\nRun `powertop --help` to see all options.\n\n\n## Kernel configuration\n\nPowerTOP needs some kernel configuration options enabled to function properly.\nModern distribution kernels typically have all of these enabled already. If you\nare running a minimal or custom kernel, check for:\n\n    CONFIG_NO_HZ\n    CONFIG_HIGH_RES_TIMERS\n    CONFIG_CPU_FREQ_GOV_ONDEMAND\n    CONFIG_PERF_EVENTS\n    CONFIG_TRACEPOINTS\n    CONFIG_TRACING\n    CONFIG_DEBUG_FS\n    CONFIG_POWERCAP\n    CONFIG_INTEL_RAPL    # Intel systems only\n\n\n## Generating reports\n\nPowerTOP supports three report formats. All report modes take one measurement\ncycle (controlled by `--time`) and then write the report and exit.\n\n**HTML** — rich report suitable for sharing:\n\n    powertop --html                       # writes powertop.html\n    powertop --html=myreport.html         # writes myreport.html\n\n**Markdown** — plain-text report suitable for viewing in any Markdown renderer:\n\n    powertop --markdown                   # writes powertop.md\n    powertop --markdown=myreport.md       # writes myreport.md\n\n**CSV** — machine-readable report:\n\n    powertop --csv                        # writes powertop.csv\n    powertop --csv=myreport.csv           # writes myreport.csv\n\nControl how long PowerTOP measures before writing the report:\n\n    powertop --html --time=60             # measure for 60 seconds, then report\n\nRun multiple measurement iterations (useful for averaging):\n\n    powertop --html --iteration=5 --time=20   # 5 iterations × 20 s each\n\nRun a workload while measuring:\n\n    powertop --html --workload=/path/to/script.sh\n\n**Important:** Because PowerTOP is intended for privileged (`root`) use, reports\n— especially those generated with `--debug` — will contain verbose system\ninformation. PowerTOP **does not** sanitize or anonymize its reports. Be mindful\nof this when sharing them.\n\n\n## Filing a bug report\n\nGenerate and share a `--debug` HTML report:\n\n    powertop --debug --html=bugreport.html\n\nThen file the issue at: https://github.com/fenrus75/powertop/issues\n\n\n## Automated tuning\n\nPowerTOP can apply all recommended power-saving settings in one shot without\nentering interactive mode:\n\n    sudo powertop --auto-tune\n\nTo preview what changes would be made without actually applying them:\n\n    sudo powertop --auto-tune-dump\n\nThe output of `--auto-tune-dump` is a list of shell commands. You can redirect\nit to a script to apply selectively or at boot time:\n\n    sudo powertop --auto-tune-dump \u003e tune.sh\n    # review tune.sh, then:\n    sudo bash tune.sh\n\n\n## Calibrating power estimates\n\nPowerTOP, when running on battery, tracks power consumption and activity to\nbuild up per-device power estimates. You can improve the accuracy of these\nestimates by running a calibration cycle at least once:\n\n    powertop --calibrate\n\nCalibration cycles through various display brightness levels (including \"off\"),\nUSB device activities, and other workloads. Run it on battery with no other\nactive workload for best results.\n\n\n## Other useful options\n\n| Option | Description |\n|--------|-------------|\n| `--time=N` | Collect data for N seconds per iteration (default: 20) |\n| `--iteration=N` | Run N measurement iterations (default: 1) |\n| `--sample=N` | Power consumption sampling interval in seconds (default: 5) |\n| `--workload=FILE` | Execute FILE as a workload during measurement |\n| `--once` | Run one measurement cycle and exit (non-interactive) |\n| `--quiet` | Suppress stderr output |\n| `--debug` | Enable debug-level output |\n| `--version` | Print version information |\n\n\n## Extech Power Analyzer / Datalogger support\n\nPowerTOP supports the Extech Power Analyzer/Datalogger (model 380803) over a\nserial connection. Pass the device node on the command line:\n\n    powertop --extech=/dev/ttyUSB0\n\n(where `ttyUSB0` is the device node of the serial-to-USB adapter)\n\n\n## HTML/CSS validation\n\nIf you make changes to the HTML reporting code, validate the output using:\n* https://validator.w3.org/#validate_by_upload\n* https://jigsaw.w3.org/css-validator/#validate_by_upload\n\n\n# Contributing to PowerTOP and getting support\n\nThere are numerous ways to contribute to PowerTOP. See `CONTRIBUTE.md` for\ndetails. The short version: fork the repository and send pull requests.\n\nTo file a bug or feature request:\n* https://github.com/fenrus75/powertop/issues\n\n\n# Code from other open source projects\n\nPowerTOP contains code from other open source projects; we thank the authors\nfor their work. Specifically, PowerTOP contains code from:\n\n```\nParse Event Library - Copyright 2009, 2010 Red Hat Inc  Steven Rostedt \u003csrostedt@redhat.com\u003e\nnl80211 userspace tool - Copyright 2007, 2008\tJohannes Berg \u003cjohannes@sipsolutions.net\u003e\n```\n\n\n# Copyright and License\n\n    PowerTOP\n    Copyright (C) 2024  Intel Corporation\n\n    This program is free software; you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; version 2.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software\n    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\n\nSee `COPYING` file for a copy of the aforementioned (GPLv2) license.\n\n\n## SPDX Tag\n\n    /* SPDX-License-Identifier: GPL-2.0-only */\n\nFrom: https://spdx.org/licenses/GPL-2.0-only.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffenrus75%2Fpowertop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffenrus75%2Fpowertop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffenrus75%2Fpowertop/lists"}