From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id LgE5KWi8m2U8SQAAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 10:12:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uAS7I2i8m2VHTgAAqHPOHw (envelope-from ) for ; Mon, 08 Jan 2024 10:12:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=MSUsiGZz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704705128; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=5cbRmk45qgg7woOJF2QoCzUpOlzulvhzUtclsHIKxCs=; b=cDcatfNatfdbdYTERQbl2a5PWDTlwPWAv5EubSDcwfB483IXbBeDJ/QBihooIuFNhq0BnF wyyle6k13CIRCVKvRAY1pb4Rgjrt1hwEAFg22wC4DAdmAB/w6CUk/wDKFRPcJWkHxE0k49 LAMdobMDHPumlgM+dVUia1O+59tDEK4lUsQojdWvW115FnIJLHrPy5J/au0ZHAuPd/x77j LH12vr+AQIgFVxFlM6qC7jUA9fOGqyE4I8kNVZdIEeuKNPKEx5rSp8upUWRLEoYz0ZWKdG HCmjLpKVCrP9htni9NymiXDnYpY6wZrbXCrpVitWutBxNnFvXZo1bi4HTqW5Zw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704705128; a=rsa-sha256; cv=none; b=qMt4KPBkD0aGKC1RHsNxZjCrzjKFYt850Cd+nsdwwKPE/1NONeMz3508mUL17Ihz3Q5Unm ZWjj9NI8nV9oirbzFKqU8WMoBOMaeHbCVezowOpGYnFs2WRIpQHqR0SPJOKqNiBkpxv8bF QiEPYMZ8XNy/yjNGKZvaCCfUHf9nMAeWBfiF0YbHKjGfPEUUjlf7jbH4M5j0O+4DeobI7K KYJLmv1em7seyNxWA8VUnIQvAF248qBFF1Pd+BhsNv+pHPjKLPaTEyJoTjoEL8LnOin4/X KPmsOIbLQETxSF7AG5HSxxzooIV6Y93Y6/S99YdkLc3bGgXh3NL7zhXBIhbqOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=MSUsiGZz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 364A0B4B8 for ; Mon, 8 Jan 2024 10:12:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMlfp-0008IA-Hh; Mon, 08 Jan 2024 04:11:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMlfo-0008Hu-2s for guix-patches@gnu.org; Mon, 08 Jan 2024 04:11:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMlfn-00008l-Qw for guix-patches@gnu.org; Mon, 08 Jan 2024 04:11:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMlft-0003R8-Tg for guix-patches@gnu.org; Mon, 08 Jan 2024 04:12:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68309] [PATCH] gnu: Add powertop-service-type. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68309 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ian Eure Cc: Simon Tournier , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Tobias Geerinckx-Rice , Ricardo Wurmus , Raghav Gururajan , 68309@debbugs.gnu.org, jgart , Christopher Baines Received: via spool by 68309-submit@debbugs.gnu.org id=B68309.170470507613145 (code B ref 68309); Mon, 08 Jan 2024 09:12:01 +0000 Received: (at 68309) by debbugs.gnu.org; 8 Jan 2024 09:11:16 +0000 Received: from localhost ([127.0.0.1]:35188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMlfA-0003Pw-Ax for submit@debbugs.gnu.org; Mon, 08 Jan 2024 04:11:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMlf9-0003Pj-4Z for 68309@debbugs.gnu.org; Mon, 08 Jan 2024 04:11:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMlet-00070L-DZ; Mon, 08 Jan 2024 04:11:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=5cbRmk45qgg7woOJF2QoCzUpOlzulvhzUtclsHIKxCs=; b=MSUsiGZzKMK00xpr7FmX zJ2ZRwZTTR77t+FAkYnJMdyph0kvNKPlCFv1utCPxxADhIcJqmeAmtWws1oskRvNNBKkC1ACK5cFk PsqOPsnmI9EdeVDTs910gzJDBktc+8izeRx3jSmaOnXluBv2Pw5GjJANpKQgVGOKNNa+cvjuuSQS4 O6hJVIyV8KMXIsgBew6wCGQvyhEioSxxz0zJEDCUJknrUgvMD7b6YbNOotmHBRq2w3ncBkQfPQtE2 0oLNaK/U/nGgW9aOPJ4Q4AyKqmaDivAeqRa+HzXuy2BgJQcnwf5c3QmeSS3ebz6wWlPvuH41h4m3u qvb/ACTCCyupNQ==; From: Mathieu Othacehe In-Reply-To: <20240107212122.21810-1-ian@retrospec.tv> (Ian Eure's message of "Sun, 7 Jan 2024 13:21:21 -0800") References: <20240107212122.21810-1-ian@retrospec.tv> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 08 Jan 2024 10:10:55 +0100 Message-ID: <87zfxg8a1s.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 364A0B4B8 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.51 X-Spam-Score: -5.51 X-TUID: lTYusVrx8S0N Hello, Looks good, > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index 0fe64bacf3..c53d8f82bd 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -3634,7 +3634,7 @@ (define-public powertop > (inputs > (list kmod libnl ncurses pciutils zlib)) > (home-page "https://01.org/powertop/") > - (synopsis "Analyze power consumption on Intel-based laptops") > + (synopsis "Analyze power consumption on x86-based laptops") This should be part of a separate commit. > + (zero? (system* #$(file-append powertop "/sbin/powertop") > + "--auto-tune")))))))) If the laptop booted with power cord plugged, but then goes on battery, does this need to be run again? Thanks, Mathieu