[Goodies-dev] [Bug 9542] New: [Patch] Show current power usage

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Nov 25 01:46:10 CET 2012


            Bug ID: 9542
           Summary: [Patch] Show current power usage
    Classification: Panel Plugins
           Product: Xfce4-battery-plugin
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: frivoal at xfce.org
          Reporter: nowrep at gmail.com
        QA Contact: goodies-dev at xfce.org

Created attachment 4754
  --> https://bugzilla.xfce.org/attachment.cgi?id=4754&action=edit
Show current power usage patch

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: 

David Rosca

You are receiving this mail because:
You are the QA Contact for the bug.

More information about the Goodies-dev mailing list