New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
power-profiles-daemon: init at 0.1, add service module #97972
Conversation
@jtojnar It doesn't seem to build man pages, but I think that is broken upstream. It also looks like it builds gtk-doc but that directory gets removed in the fixup phase? Maybe there is something wrong with the expression, I don't know how to debug that. |
Multiple-outputs hook moves gtk-doc to It does not look like there are man pages, the command for generating them is not invoked by anything: https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/blob/7b5321131a7516e1e309f48357fffa2ae909863d/docs/meson.build#L48-60 |
Thanks. I just did these fixes locally, I didn't know about GitHub's "Commit suggestion," it looks like it credits the commenter, is that the preferred approach? Also, this PR should wait until integration into gnome shell is released, since there is no UI for it right? |
For trivial fixes like these, attribution is not necessary (and the extra commits will be squashed onto the original commit anyway). Merging this is fine just for coverage. And it might be usefult if someone wants to control this using D-Bus or by applying the g-c-c patches to their system. |
9d12ceb
to
6b0f760
Compare
Added nixos test, should I squash commits? |
I would say either is fine. As long as the individual commits evaluate they are okay. |
6b0f760
to
65968a1
Compare
Sorry, I forgot about this, should be good to go. Will merge once the CI succeeds. |
One occurrence of Closed by #112507 |
I feel this is problematic, because regardless whether user enabled |
Should not that assertion being in |
I'm still using TLP on my laptop since this commit, so must be something else going on if you are having a problem. |
I just hit this,
The tlp setting seems to be coming from https://github.com/NixOS/nixos-hardware which I use. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/cant-enable-tlp-when-upgrading-to-21-05/13435/4 |
Motivation for this change
Adds user selected power profile handling through DBus daemon.
nixpkgs issue #97714
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)