Skip to content

Enable power management services after package installation#4440

Merged
svartkanin merged 1 commit intoarchlinux:masterfrom
Softer:fix-power-management-service
Apr 18, 2026
Merged

Enable power management services after package installation#4440
svartkanin merged 1 commit intoarchlinux:masterfrom
Softer:fix-power-management-service

Conversation

@Softer
Copy link
Copy Markdown
Contributor

@Softer Softer commented Apr 17, 2026

Fixes #2557

PR Description:

The power management handler installs the selected packages but does not enable their systemd services. After reboot, neither power-profiles-daemon nor tuned starts automatically, making the power management selection ineffective.

This adds enable_service() calls for power-profiles-daemon.service and tuned.service, matching the pattern already used by Bluetooth, Firewall, and Print Service handlers.

Tests and Checks

  • Select "Power management" in Applications menu on a system with battery
  • Choose power-profiles-daemon, complete installation, reboot
  • Verify systemctl is-enabled power-profiles-daemon.service returns enabled
  • Repeat with tuned, verify systemctl is-enabled tuned.service returns enabled

@Softer Softer requested a review from Torxed as a code owner April 17, 2026 21:06
@h8d13
Copy link
Copy Markdown
Contributor

h8d13 commented Apr 18, 2026

#4015 same conversation on the original pull request, probably should be done explicitly!

@svartkanin svartkanin merged commit e8ea33c into archlinux:master Apr 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

power-profiles-daemon package should be installed by default

3 participants