! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[Patch] Show current power usage
Status:
RESOLVED: MOVED
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description David Rosca 2012-11-25 01:46:10 CET
Created attachment 4754 
Show current power usage patch

Hi,
I have made a small patch that adds support for showing current power usage
(in Watts)
next to approximate remaining time. So in panel, it will be shown like:

                                    04:25 (9 W)

It is using data from libacpi.c
Current power usage will only be shown when on battery (I used !acline
check, so I hope it's correct).
I have integrated it into remaining time box because i didn't want to
create a new box just for this.

I sent this patch also on mailing list: 
http://mail.xfce.org/pipermail/goodies-dev/2012-November/003521.html

Regards,
David Rosca
Comment 1 Landry Breuil editbugs 2014-11-23 21:43:01 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 2 Git Bot editbugs 2020-05-22 23:08:13 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-battery-plugin/-/issues/5.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #9542

Reported by:
David Rosca
Reported on: 2012-11-25
Last modified on: 2020-05-22

People

Assignee:
Xfce-Goodies Maintainers
CC List:
0 users

Version

Version:
unspecified

Attachments

Show current power usage patch (5.49 KB, patch)
2012-11-25 01:46 CET , David Rosca
no flags

Additional information