emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: battery.el broken?


From: T.V Raman
Subject: Re: battery.el broken?
Date: Sat, 05 Jun 2021 18:52:44 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

I am mostly convinced this is a dbus/upower bug since I too checked and
nothing has changed on the Emacs side  on the machine, still running
Emacs from Github@HEAD.

Will now try some of the other status functions, I think the output
stopped telling me time left likely a couple of days ago.

Typing this with the machine fully charged and not plugged into the AC
jack, but the upower output shown below appears to think it's on AC
Power.

battery-status-function == battery-upower

(mapcar #'battery--upower-device-properties
(battery--upower-devices)
)

((("NativePath" . "AC") ("Vendor" . "") ("Model" . "") ("Serial" . "") 
("UpdateTime" . 1622943939) ("Type" . 1) ("PowerSupply" . t) ("HasHistory") 
("HasStatistics") ("Online") ("Energy" . 0.0) ("EnergyEmpty" . 0.0) ...) 
(("NativePath" . "BAT0") ("Vendor" . "SMP") ("Model" . "01AV431") ("Serial" . 
"5195") ("UpdateTime" . 1622944181) ("Type" . 2) ("PowerSupply" . t) 
("HasHistory" . t) ("HasStatistics" . t) ("Online") ("Energy" . 51.36) 
("EnergyEmpty" . 0.0) ...) (("NativePath" . "ucsi-source-psy-USBC000:001") 
("Vendor" . "") ("Model" . "") ("Serial" . "") ("UpdateTime" . 1622943939) 
("Type" . 1) ("PowerSupply" . t) ("HasHistory") ("HasStatistics") ("Online" . 
t) ("Energy" . 0.0) ("EnergyEmpty" . 0.0) ...) (("NativePath" . 
"ucsi-source-psy-USBC000:002") ("Vendor" . "") ("Model" . "") ("Serial" . "") 
("UpdateTime" . 1622943940) ("Type" . 1) ("PowerSupply" . t) ("HasHistory") 
("HasStatistics") ("Online") ("Energy" . 0.0) ("EnergyEmpty" . 0.0) ...))


>> If so, please say which Emacs version you're running and what your value
>> of battery-status-function is.
>
> You might also want to try using another of those
> battery-status-functions to see if that helps.
>
>
>         Stefan
>
>

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
?7?4 Id: kg:/m/0285kf1  ?0?8



reply via email to

[Prev in Thread] Current Thread [Next in Thread]