intel / intel/intel-lpmd

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
Dominant language
C
Stars
223
Forks
32
Avg merge
1m
Merged PRs (30d)
1

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.