all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Dariqq <dariqq@posteo.net>
Cc: 70460@debbugs.gnu.org, felix@alternativebit.fr,
	Florian Pelz <pelzflorian@pelzflorian.de>
Subject: [bug#70460] [PATCH v2 3/3] gnu: services: Add power-profiles-daemon-service-type.
Date: Sat, 25 May 2024 15:29:46 +0200	[thread overview]
Message-ID: <87msoe10l1.fsf@gnu.org> (raw)
In-Reply-To: <d918418934ba19da07cd922c677a88bb68d2c31a.1714662236.git.dariqq@posteo.net> (dariqq@posteo.net's message of "Thu, 2 May 2024 15:37:56 +0000")

Hi!

Dariqq <dariqq@posteo.net> skribis:

> * gnu/services/pm.scm
> (power-profiles-configuration): New configuration.
> (power-profiles-daemon-shepherd-service): New procedure.
> (power-profiles-daemon-activation): New variable.
> (power-profiles-daemon-service-type): New procedure.
> * doc/guix.texi (Power Management Services): Document it.
>
> Change-Id: Ib035d993ed82eec2a43f3ba2b4c92f77e08a0fd7

[…]

> +@quotation Important
> +The @code{power-profiles-daemon} conflicts with other power management tools
> +like @code{tlp}. Using both together is not recommended.

s/like/such as/
s/Using.*/Pick one or the other./

What about UPower?  Do I get it right that this actually builds upon
UPower?

Should it say a word about how it defers from TLP?

> +(define (power-profiles-daemon-shepherd-service config)
> +  (match-record
> +      config <power-profiles-daemon-configuration>
> +      (power-profiles-daemon)
> +    (list (shepherd-service (provision '(power-profiles-daemon))
> +			    (requirement '(dbus-system))

Rather: (requirement '(user-processes dbus-system)).

> +                            (documentation "Run the power-profiles-daemon.")

Nitpick: “Run the Power Profiles Daemon”.

Also please indent this procedure similar to how this is done elsewhere.

> +     (description "Run the power-profiles-daemon"))))

Same as above.  :-)

Thanks!

Ludo’.




  reply	other threads:[~2024-05-25 13:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-18 18:31 [bug#70460] [PATCH 0/4] Update power-profiles-daemon and add a service-type for it Dariqq
2024-05-02 15:37 ` [bug#70460] [PATCH v2 0/3] " Dariqq
2024-05-02 15:37   ` [bug#70460] [PATCH v2 1/3] gnu: power-profiles-daemon: Update to 0.21 Dariqq
2024-05-02 15:37   ` [bug#70460] [PATCH v2 2/3] gnu: power-profiles-daemon: Build gtk-docs Dariqq
2024-05-02 15:37   ` [bug#70460] [PATCH v2 3/3] gnu: services: Add power-profiles-daemon-service-type Dariqq
2024-05-25 13:29     ` Ludovic Courtès [this message]
2024-05-25 15:15       ` Dariqq
2024-05-09  8:00   ` [bug#70460] [PATCH v2 0/3] Update power-profiles-daemon and add a service-type for it Dariqq
2024-05-16  6:55   ` bug#70460: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87msoe10l1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=70460@debbugs.gnu.org \
    --cc=dariqq@posteo.net \
    --cc=felix@alternativebit.fr \
    --cc=pelzflorian@pelzflorian.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.