From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Support for multiple batteries Date: Sun, 14 Jun 2020 09:40:13 -0400 Message-ID: References: <87tuzhy49m.fsf@tcd.ie> <874krfnq47.fsf@tcd.ie> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="26168"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 14 15:40:50 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jkSsQ-0006Zh-85 for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jun 2020 15:40:46 +0200 Original-Received: from localhost ([::1]:51790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkSsP-0001Pu-Ab for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jun 2020 09:40:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkSrv-0000hS-2q for emacs-devel@gnu.org; Sun, 14 Jun 2020 09:40:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45315) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkSru-0004y0-7r; Sun, 14 Jun 2020 09:40:14 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jkSrt-0006OW-31; Sun, 14 Jun 2020 09:40:13 -0400 In-Reply-To: <874krfnq47.fsf@tcd.ie> (contovob@tcd.ie) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252228 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > This can be perceived as a regression > on multi-battery systems because battery-upower currently assumes a > single battery, whereas the previous defaults of battery-status-function > on modern GNU/Linux systems (battery-linux-sysfs and > battery-linux-proc-acpi) support multiple batteries. The patch in [5] > adds support for multiple batteries to battery-upower as well, so that > it can remain the default backend when applicable. It sounds like that could make it work again for me. Would you please tell me when it is installed, so I can try it? > For example, they sum the current energy and energy-when-full of each > battery, and divide the former by the latter to get the combined load > percentage. That sounds like the right thing for them to do. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)