[Goodies-dev] [Bug 3476] New: Battery plugin doesn't support PMU

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Aug 18 20:55:29 CEST 2007


DO NOT REPLY TO THIS EMAIL.  Also, do not reply via email to the person
whose email is mentioned below.  To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3476

           Summary: Battery plugin doesn't support PMU
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: Macintosh
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: Medium
         Component: battery
        AssignedTo: goodies-dev at xfce.org
        ReportedBy: corsac at corsac.net


Hi,

the battery plugin currently doesn't handle battery status trough PMU. It works
using apm_pmu module, but it's deprecated in Linux kernel, so it'd be nice to
have pmu support native in battery plugin.

I know ppc hardware (and especially laptops) will be deprecated at some time,
but as they won't run recent osx, maybe some people will want to install Linux
on them, so having software support would be nice.

Anyway, if you need informations about pmu and how to access battery
informations, please ask.

Three examples:

1) Battery charged,  plugged on AC

corsac at hidalgo: cat /proc/pmu/battery_0

flags      : 00000011
charge     : 3269
max_charge : 3427
current    : 0
voltage    : 12359
time rem.  : 0

2) Battery discharging

corsac at hidalgo: cat /proc/pmu/battery_0

flags      : 00000011
charge     : 3272
max_charge : 3440
current    : -1365
voltage    : 12105
time rem.  : 8629

3) Battery charging

corsac at hidalgo: cat /proc/pmu/battery_0

flags      : 00000013
charge     : 3251
max_charge : 3440
current    : 1276
voltage    : 12513
time rem.  : 533

(times are seconds, I'd say)

Please ask if you need more informations.

Regards,

--
Yves-Alexis Perez


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Goodies-dev mailing list