From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55770: 29.0.50; Feature Request: Hook When battery transitions to low or critical Date: Fri, 3 Jun 2022 13:09:11 -0700 Message-ID: <25242.27239.180264.658796@retriever.mtv.corp.google.com> References: <87h752bdqi.fsf@gnus.org> <83v8thbps3.fsf@gnu.org> <25242.19491.737855.32056@retriever.mtv.corp.google.com> <83tu91bnez.fsf@gnu.org> Reply-To: "T.V Raman" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32897"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 55770@debbugs.gnu.org, raman@google.com To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 03 22:10:43 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nxDd3-0008OQ-W2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jun 2022 22:10:41 +0200 Original-Received: from localhost ([::1]:32914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nxDd2-0000mW-IG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Jun 2022 16:10:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxDcT-0000kI-0T for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2022 16:10:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nxDcQ-0002EY-0G for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2022 16:10:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nxDcP-0004YA-Ni for bug-gnu-emacs@gnu.org; Fri, 03 Jun 2022 16:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "T.V Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jun 2022 20:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55770 X-GNU-PR-Package: emacs Original-Received: via spool by 55770-submit@debbugs.gnu.org id=B55770.165428696517440 (code B ref 55770); Fri, 03 Jun 2022 20:10:01 +0000 Original-Received: (at 55770) by debbugs.gnu.org; 3 Jun 2022 20:09:25 +0000 Original-Received: from localhost ([127.0.0.1]:57107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxDbp-0004XD-Cu for submit@debbugs.gnu.org; Fri, 03 Jun 2022 16:09:25 -0400 Original-Received: from mail-pj1-f43.google.com ([209.85.216.43]:41729) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxDbn-0004Wz-CT for 55770@debbugs.gnu.org; Fri, 03 Jun 2022 16:09:24 -0400 Original-Received: by mail-pj1-f43.google.com with SMTP id l20-20020a17090a409400b001dd2a9d555bso7922839pjg.0 for <55770@debbugs.gnu.org>; Fri, 03 Jun 2022 13:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=kkkafLj0speP+S0KwqvDE6PkyDBVIEywOe6OHY/FOrs=; b=WdxNsxZZ7aE6Ab5LWd1NrtbDt70KoXTCCXrriV7yAxFn8/LlcDkWM26flgdH6nGLxh nJhxZRHF3RBMlCZ81oXcrgPqSO6Y/p9XNJuHhXeeeK2CZOe49c15/PyUxpRljGqQ4zPf u/m0i5Ynpt4Qq9cHB30az8UmTqQhn83/E5T3rWUwY6/8ZtPpBRqTmIYORVWKc0/0PPgv WdXjC4s1yzglzMt08tr4crdsUmsqPn0VM7S7u6IuACIrWRFZmpkNV4WcfMGCPGEddIbW yqC+Pd38K89i6ZMWtS+nA7Bd2bTtFQoI9r+qwdkM2Ci6yP6fSVXIZBC7l+zWBlnUQBWU RSKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=kkkafLj0speP+S0KwqvDE6PkyDBVIEywOe6OHY/FOrs=; b=qi8GM6JDj3ScqYkgU3Dj33euNenJE1og5OHKzOmJEtffnvYzCUK1Z+TTW/osiPwaa6 KAfhCmeR8PU2pe1q1/u54jnXnSfDRU+L7tpgs4Eldro8o9s4UfmulUEsC9IsfYgNDtP6 9cySnj0NcaFMDN7j1vT4Q374jpweyqZ8mYfj+KFJ4Ifq/MN5vVTsEgI9DybBo+Vvr7TG eD3XfYZSnccGPccCxEXUC2SJA/TyAN7j5s/nW5q06rzztUHQU681dh++eRHAMfXVmgy6 L4mPi9QATJ0UcH3vOs6iXrXfJTRnasQajWMks90HiLNqWkp4EZq/GImGsY1ygbPq61bk QtNQ== X-Gm-Message-State: AOAM532VlVhOe7VJOMujttSsyItdvjKjKFqRVYVSEHEYD7ofJ1owf+xf 5dql6M1ptGV3yLzcUAWXfomJ94K+xxLYVg== X-Google-Smtp-Source: ABdhPJyWEdfCVbWQKOqdP0uArhnhKb6QFl01AcXiSFjRqIzY6vEhItNKIvLDkVAilk/H3jhkTI22YQ== X-Received: by 2002:a17:90b:4c0b:b0:1e8:2960:46f5 with SMTP id na11-20020a17090b4c0b00b001e8296046f5mr6290405pjb.219.1654286957032; Fri, 03 Jun 2022 13:09:17 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:ab9b:547b:b5d7:3ba4]) by smtp.gmail.com with ESMTPSA id i184-20020a6254c1000000b0051b6091c452sm5852078pfb.70.2022.06.03.13.09.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 13:09:15 -0700 (PDT) In-Reply-To: <83tu91bnez.fsf@gnu.org> X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:233623 Archived-At: we're not communicating. I did not ask to reduce the 60s -- rather I was saying that if we allow the user to configure additional functions to run on each update, and if that user doesn't realize that it will run every minute, it might put too much load on the system.Eli Zaretskii writes: > > From: "T.V Raman" > > Date: Fri, 3 Jun 2022 11:00:03 -0700 > > Cc: raman@google.com, > > larsi@gnus.org, > > 55770@debbugs.gnu.org > >=20 > > I understand and I can set mine appropriately --- I was just point= ing > > out that a low value for the update interval when combined with an= > > update function that does some computes could prove a bad combinat= ion. >=20 > The default value is for when the status is just displayed. I don't= > think I see a reason to make the default shorter, because it will ju= st > cause more drain on the battery for no good reason. --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮