Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

BalancedDef and PowersaverDef set to -1 in all configs effectively disables lpmd when power-profiles-daemon is running

Open
#110 8 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c, linux

Research direction

Review BalancedDef, PowersaverDef, and PerformanceDef in intel_lpmd_config.xml, intel_lpmd_config_examples.xml, intel_lpmd_config_experimental.xml, and the F6_M170, F6_M189, and F6_M204 configurations. Then read connect_to_power_profile_daemon() and its fallback in lpmd_proc.c to confirm how PPD profile values control lpmd. Done means the chosen defaults allow the intended profiles to engage under PPD while preserving the performance-profile behavior.

Written by the indexing model from the issue text.

Description

All shipped configuration files set -1 and -1, which forces lpmd OFF for both the "balanced" and "power-saver" power profiles. Combined with -1, this means lpmd is unconditionally disabled whenever power-profiles-daemon
(PPD) is running.

Since PPD is active by default on most modern Linux desktop environments (GNOME, KDE), and the default profile is "balanced", lpmd will never engage on a typical installation.

The daemon only becomes active when PPD is not installed, because connect_to_power_profile_daemon() failure causes a fallback to LPMD_AUTO in lpmd_proc.c.


  ┌──────────────────────────────────────────────┬─────────────┬───────────────┐
  │                 Config file                  │ BalancedDef │ PowersaverDef │
  ├──────────────────────────────────────────────┼─────────────┼───────────────┤
  │ intel_lpmd_config.xml                        │ -1          │ -1            │
  ├──────────────────────────────────────────────┼─────────────┼───────────────┤
  │ intel_lpmd_config_examples.xml               │ -1          │ -1            │
  ├──────────────────────────────────────────────┼─────────────┼───────────────┤
  │ intel_lpmd_config_experimental.xml           │ -1          │ -1            │
  ├──────────────────────────────────────────────┼─────────────┼───────────────┤
  │ intel_lpmd_config_F6_M170.xml (Meteor Lake)  │ -1          │ -1            │
  ├──────────────────────────────────────────────┼─────────────┼───────────────┤
  │ intel_lpmd_config_F6_M189.xml (Lunar Lake)   │ -1          │ -1            │
  ├──────────────────────────────────────────────┼─────────────┼───────────────┤
  │ intel_lpmd_config_F6_M204.xml (Panther Lake) │ -1          │ -1            │
  └──────────────────────────────────────────────┴─────────────┴───────────────┘
Expected behavior

For mobile/laptop platforms where lpmd is designed to save power, more useful defaults would be:

  • PerformanceDef=-1 — keep lpmd off when user explicitly wants maximum performance (correct as-is)
  • BalancedDef=0 — allow lpmd to opportunistically enter/exit low power mode based on WLT hints and utilization
  • PowersaverDef=0 — same as balanced, or potentially 1 (force on) to aggressively save power

This way lpmd actually participates in power management on systems where PPD is running, which is the common case on desktop Linux distributions.

Dominant language
C
Stars
225
Forks
33
Avg merge
2m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from intel/intel-lpmd

All issues in intel/intel-lpmd

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.