GNU bug report logs - #24919
24.5; battery.el not working in FreeBSD

Previous Next

Package: emacs;

Reported by: Ignacio Torres <i <at> itorres.net>

Date: Thu, 10 Nov 2016 16:49:02 UTC

Severity: normal

Tags: patch

Found in version 24.5

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 24919 <at> debbugs.gnu.org (full text, mbox):

From: Joseph Mingrone <jrm <at> ftfl.ca>
To: Alan Third <alan <at> idiocy.org>
Cc: Ignacio Torres <i <at> itorres.net>, Joakim Jalap <joakim.jalap <at> fastmail.com>,
 Stefan Kangas <stefan <at> marxist.se>, 24919 <at> debbugs.gnu.org
Subject: Re: bug#24919: 24.5; battery.el not working in FreeBSD
Date: Mon, 14 Oct 2019 17:16:26 -0300
Alan Third <alan <at> idiocy.org> writes:

> Joakim Jalap <joakim.jalap <at> fastmail.com> writes:

>> Ignacio Torres <i <at> itorres.net> writes:

>>> Running M-x battery in FreeBSD returns:

>>> Power disconnected, battery high (illegal% load, remaining time 0:00)

>> Here's a patch witch makes it return something else :)

>> Unfortunately I can't tets it on an actual laptop atm, but I /think/ it
>> might work.

> Has anyone been able to test Joakim's patch?

I don't see any commits related to this bug/patch, but I just tested M-x
battery in an Emacs master branch build (604a985) on FreeBSD 12.0 and
the output looks correct.

Here is some example output.

Power connected, battery high (100% load, remaining time N/A)
Power disconnected, battery high (100% load, remaining time 4:21)
Power disconnected, battery high (99% load, remaining time 3:30)

Joseph




This bug report was last modified 5 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.