Devuan bug report logs - #394
Cinnamon on Beowulf - Power Management fails to update battery status

version graph

Package: gir1.2-upowerglib-1.0; Maintainer for gir1.2-upowerglib-1.0 is Devuan Developers <devuan-dev@lists.dyne.org>; Source for gir1.2-upowerglib-1.0 is src:upower.

Reported by: josh.bowyer@protonmail.com

Date: Thu, 13 Feb 2020 18:48:04 UTC

Severity: normal

Tags: beowulf

Found in version 1:0.9.23-2+devuan1.3

Done: Mark Hindley <mark@hindley.org.uk>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, Daniel Reurich <daniel@devuan.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Thu, 13 Feb 2020 18:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to josh.bowyer@protonmail.com:
New bug report received and forwarded. Copy sent to Daniel Reurich <daniel@devuan.org>. (Thu, 13 Feb 2020 18:48:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: josh.bowyer@protonmail.com
To: "submit@bugs.devuan.org" <submit@bugs.devuan.org>
Subject: Cinnamon on Beowulf - Power Management fails to update battery status
Date: Thu, 13 Feb 2020 18:28:48 +0000
[Message part 1 (text/plain, inline)]
Package: gir1.2-upowerglib-1.0
Version: 1:0.9.23-2+devuan1.3

On Devuan Beowulf, the Cinnamon Power Management (and therefore also the battery indicator applet) fail to read updated information from the system.

The script that handles this is cs_power.py, which is a module called by cinnamon-settings.py. I have pared it down to the bare minimum lines to return the battery percentage and state:

###################################################################
#!/usr/bin/python3

import gi
gi.require_version('CinnamonDesktop', '3.0')
gi.require_version('UPowerGlib', '1.0')
from gi.repository import CinnamonDesktop, Gdk, UPowerGlib, Gio

(UP_ID, UP_VENDOR, UP_MODEL, UP_TYPE, UP_ICON, UP_PERCENTAGE, UP_STATE, UP_SECONDS) = range(8)

up_client = UPowerGlib.Client.new()

csd_power_proxy = Gio.DBusProxy.new_sync(
    Gio.bus_get_sync(Gio.BusType.SESSION, None),
    Gio.DBusProxyFlags.NONE,
    None,
    "org.cinnamon.SettingsDaemon.Power",
    "/org/cinnamon/SettingsDaemon/Power",
    "org.cinnamon.SettingsDaemon.Power",
    None)

devices = csd_power_proxy.GetDevices()
for device in devices:
    if device[UP_TYPE] == UPowerGlib.DeviceKind.BATTERY:
        batdevice = device
percentage = batdevice[UP_PERCENTAGE]
state = batdevice[UP_STATE]

print(percentage)
print(state)
###############################################

The result, when I ran it, showed 89% and discharging whereas $(upower -i /org/freedesktop/UPower/devices/battery_BAT0) returned 58% and charging. Therefore the issue is with UPowerGlib, which is provided by the package gir1.2-upowerglib-1.0

Current software versions:

Lenovo Thinkpad T480s
Linux Josh-Laptop 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
Devuan Beowulf
gir1.2-upowerglib-1.0/now 1:0.9.23-2+devuan1.3 amd64
cinnamon-settings-daemon/testing,now 3.8.4-2 amd64
upower/now 1:0.9.23-2+devuan1.3 amd64
[Message part 2 (text/html, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, Daniel Reurich <daniel@devuan.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Thu, 13 Feb 2020 20:48:01 GMT) (full text, mbox, link).


Message #8 received at 394@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: 394@bugs.devuan.org, josh.bowyer@protonmail.com
Subject: Re: Cinnamon on Beowulf - Power Management fails to update battery status
Date: Thu, 13 Feb 2020 20:25:22 +0000
Josh,

Thanks for this.

Devuan has reverted to Debian's packages for beowulf. Unfortunately they 
don't have an epoch, so it *looks* like a downgrade to apt. However, we 
need to know if this issue is still present with those packages.

The Debian upower versions are 0.99.10-1

 apt install --allow-downgrades upower/beowulf

You might need to manually install the libraries too.

Thanks.

Mark



Information forwarded to devuan-bugs@lists.dyne.org, Daniel Reurich <daniel@devuan.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Thu, 13 Feb 2020 21:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <daniel@devuan.org>. (Thu, 13 Feb 2020 21:18:02 GMT) (full text, mbox, link).


Message #13 received at 394@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: josh.bowyer@protonmail.com, 394@bugs.devuan.org
Subject: Re: Cinnamon on Beowulf - Power Management fails to update battery status
Date: Thu, 13 Feb 2020 21:01:32 +0000
Control: tags -1 beowulf
Control: notfound -1 0.99.10-1

On Thu, Feb 13, 2020 at 08:36:38PM +0000, josh.bowyer@protonmail.com wrote:
>    Downgrading upower and gir1.2-upowerglib-1.0 fixes the issue. Battery
>    state changes are immediately reflected in the power management window
>    and the battery applet.

Great.

We will need to ensure that this requirement goes in the Release notes for
ascii->beowulf upgrades.

Mark

Added tag(s) beowulf. Request was from Mark Hindley <mark@hindley.org.uk> to 394-submit@bugs.devuan.org. (Thu, 13 Feb 2020 21:18:04 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, Daniel Reurich <daniel@devuan.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Mon, 13 Apr 2020 09:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Jim@UAR" <jimmy.liu@universalagriresources.com>:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <daniel@devuan.org>. (Mon, 13 Apr 2020 09:48:02 GMT) (full text, mbox, link).


Message #20 received at 394@bugs.devuan.org (full text, mbox, reply):

From: "Jim@UAR" <jimmy.liu@universalagriresources.com>
To: 394@bugs.devuan.org
Subject: We are here!! The complete package of Thermal Oil
Date: Mon, 13 Apr 2020 08:40:04 +0000
[Message part 1 (text/plain, inline)]
 Looking for thermal oil products? Look no further.
 We are here to supply you a complete package of thermal oil products to 
your requirements.
 Check out our products :
 - Anti-Wear Hydraulic Oil
 - Gear Oil
 - Circulation System Oil
 - Vehicle Engine Oil
 - Slideway Oil
 - Grease
 - Heat Transfer Oil
 - Metal forming equipment Lubrication
 - Cement Industry Oil
 - Leather & Footwear Industry Oil
 - Tyre/Rubber Moulding Industry Oil
 - Water Based Metal Cutting Fluids
 - Pure Oil Cutting Oil
 - Metal Rolling Fluid
 - Anti-Rusting Oil
 - Volatile Solvent Cleaning Agent
 Let us know your views. We Look forward to hearing from you.
 Ask for Company Profile and product catalogues.
 We welcome all inquiries and discussion, but regret to respond only to 
serious and logical counterparts.
 Thanks & regards,
 LIU BE SUNG
 DIRECTOR
UNIVERSAL AGRI RESOURCES SDN. BHD.
Email jimmy.liu@unversalagriresources.com
jimmy22558866@gmail.com
jimmy22558866@outlook.com
Tel +62 821 2255 8855
Whatsapp +62 821 2255 8855



[Message part 2 (text/html, inline)]
[clip_image002.png (image/png, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, Daniel Reurich <daniel@devuan.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Mon, 13 Apr 2020 12:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Jim@UAR" <jimmy.liu@universalagriresources.com>:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <daniel@devuan.org>. (Mon, 13 Apr 2020 12:33:02 GMT) (full text, mbox, link).


Message #25 received at 394@bugs.devuan.org (full text, mbox, reply):

From: "Jim@UAR" <jimmy.liu@universalagriresources.com>
To: 394@bugs.devuan.org
Subject: Time to buy and sell more than you can imagine
Date: Mon, 13 Apr 2020 10:50:09 +0000
[Message part 1 (text/plain, inline)]
 Short of sales? Not satisfied from suppliers?
 We are here to help you in buying the right product from the right 
supplier and selling to a buyer at the right quality and terms.
 ALL AROUND THE GLOBE! Openly and honestly!
 Check out our products :
 - Coconut Based Products
 - Corn Based Products
 - Maize Based Products
 - Olive Based Products
 - Palm Oil Based Products
 - Rice Based Products
 - Soybean Based Products
 - Sunflower Based Products
 - Wheat Based Products
 - Industrial Oil, Thermal, Lubricant, Gear
 Let us know your views. We Look forward to hearing from you.
 We welcome all inquiries and discussion, but regret to respond only to 
serious and logical counterparts.
 Thanks & regards,
 LIU BE SUNG
 DIRECTOR
UNIVERSAL AGRI RESOURCES SDN. BHD.
Email jimmy.liu@unversalagriresources.com
jimmy22558866@gmail.com
jimmy22558866@outlook.com
Tel +62 821 2255 8855
Whatsapp +62 821 2255 8855



[Message part 2 (text/html, inline)]
[clip_image002.png (image/png, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, Daniel Reurich <daniel@devuan.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Wed, 15 Apr 2020 12:18:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Jim@Gmail" <jimmy22558866@gmail.com>:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <daniel@devuan.org>. (Wed, 15 Apr 2020 12:18:01 GMT) (full text, mbox, link).


Message #30 received at 394@bugs.devuan.org (full text, mbox, reply):

From: Jimmy Liu <jimmy22558866@gmail.com>
To: 394@bugs.devuan.org
Subject: Time to buy and sell more than you can imagine
Date: Tue, 14 Apr 2020 20:12:16 +0700
[Message part 1 (text/plain, inline)]
Short of sales? Not satisfied from suppliers?
We are here to help you in buying the right product from the right 
supplier and selling to a buyer at the right quality and terms.
*ALL AROUND THE GLOBE! Openly and honestly! *
Check out our products :

   - Coconut Based Products
   - Corn Based Products
   - Maize Based Products
   - Olive Based Products
   - Palm Oil Based Products
   - Rice Based Products
   - Soybean Based Products
   - Sunflower Based Products
   - Wheat Based Products
   - Industrial Oil, Thermal, Lubricant, Gear

 Let us know your views. We Look forward to hearing from you.
 We welcome all inquiries and discussion, but regret to respond only to 
serious and logical counterparts.

 Thanks & regards,

 LIU BE SUNG
 DIRECTOR
 UNIVERSAL AGRI RESOURCES SDN. BHD.
 Email jimmy.liu@unversalagriresources.com, jimmy22558866@gmail.com, 
jimmy22558866@outlook.com
 Tel +62 821 2255 8855
 Whatsapp +62 821 2255 8855

[Message part 2 (text/html, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, Daniel Reurich <daniel@devuan.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Wed, 30 Dec 2020 07:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to jeanhcorbett53@gmail.com:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <daniel@devuan.org>. (Wed, 30 Dec 2020 07:03:05 GMT) (full text, mbox, link).


Message #35 received at 394-submit@bugs.devuan.org (full text, mbox, reply):

From: jeanhcorbett53@gmail.com
To: 394-submit@bugs.devuan.org
Subject: From Mrs.Ameena Essa.
Date: Wed, 30 Dec 2020 06:53:37 +0000
[Message part 1 (text/plain, inline)]
I've invited you to fill out the following form:
Untitled form

To fill it out, visit:
https://docs.google.com/forms/d/e/1FAIpQLScedG1dIQ0m5JS179xtlNd-8ehyYD9ujM6WUmDeEodGyueMSw/viewform?vc=0&amp;c=0&amp;w=1&amp;flr=0&amp;usp=mail_form_link

Good day.

My name is Mrs.Ameena Essa from Saudi Arabia. I am a widow suffering from  
Esophageal cancer, My cancer disease has defiled all forms of medical  
treatments. And according to my doctor, I have few months to live.But  
before I die, I want to donate my inherited ($10.7 Million dollars) to you  
so that you can use the money for humanitarian aid and charitable works,  
Including building of religious houses in your country or any country of  
your choice. I have also mapped out 20% of the total sum of $10.7 Million  
for you as a reward for your help in carrying out this task.

If you are interested in helping me carry out my last wish, please reply to  
this message to enable me to give you all the details.

Best Regards.
Mrs. Ameena Essa
Email: mrsameenae@gmail.com


Google Forms: Create and analyze surveys.
[Message part 2 (text/html, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, Daniel Reurich <daniel@devuan.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Wed, 30 Dec 2020 07:03:07 GMT) (full text, mbox, link).


Acknowledgement sent to jeanhcorbett53@gmail.com:
Extra info received and forwarded to list. Copy sent to Daniel Reurich <daniel@devuan.org>. (Wed, 30 Dec 2020 07:03:07 GMT) (full text, mbox, link).


Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Fri, 10 Feb 2023 08:46:01 GMT) (full text, mbox, link).


Notification sent to josh.bowyer@protonmail.com:
bug acknowledged by developer. (Fri, 10 Feb 2023 08:46:05 GMT) (full text, mbox, link).


Message #45 received at 394-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: 394-done@bugs.devuan.org
Cc: josh.bowyer@protonmail.com
Subject: Re: bug#394: Cinnamon on Beowulf - Power Management fails to update battery status
Date: Fri, 10 Feb 2023 08:44:40 +0000
On Thu, Feb 13, 2020 at 09:01:32PM +0000, Mark Hindley wrote:
> We will need to ensure that this requirement goes in the Release notes for
> ascii->beowulf upgrades.

Closing: fixed and included in Release Notes.

Mark

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Developers <devuan-dev@lists.dyne.org>:
bug#394; Package gir1.2-upowerglib-1.0. (Wed, 14 Feb 2024 18:22:02 GMT) (full text, mbox, link).


Acknowledgement sent to Maria Eduarda de Oliveira Santos <mariasantos2@ufpr.br>:
Extra info received and forwarded to list. Copy sent to Devuan Developers <devuan-dev@lists.dyne.org>. (Wed, 14 Feb 2024 18:22:03 GMT) (full text, mbox, link).


Message #50 received at 394-submit@bugs.devuan.org (full text, mbox, reply):

From: Maria Eduarda de Oliveira Santos <mariasantos2@ufpr.br>
To: "394-submit@bugs.devuan.org" <394-submit@bugs.devuan.org>
Subject: Date: 14th / 02 / 2024
Date: Wed, 14 Feb 2024 18:20:05 +0000
[Message part 1 (text/plain, inline)]
Hi ,
Did you receive the message now .
Thanks
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue Nov 5 23:59:25 2024;