[Bug 1475] New: xfce4-battery-plugin-0.3.0 does not see ac_adapter status

[email protected] Sat, 18 Feb 2006 10:34:01 +0000 (UTC)
Newsgroups gmane.comp.desktop.xfce.goodies.devel
Message-ID <[email protected]>
Do NOT reply to this email.  To make further comments on this bug, use
the URL below:
http://bugzilla.xfce.org/show_bug.cgi?id=1475

           Summary: xfce4-battery-plugin-0.3.0 does not see ac_adapter
                    status
           Product: Xfce Panel Plugins
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: battery
        AssignedTo: [email protected]
        ReportedBy: [email protected]


On a HP Compaq nc6120 laptop, the battery plugin does not see the ac_adapter
status. It will always report AC connected. Similar issue for thermal_zone.

Attached patch fixes the problem for me (and I hope it is a general solution).

Reproducible: Always
Steps to Reproduce:
1. Start battery panel plugin
2. Plug / unplug AC adapter
Actual Results:  
"AC" is always shown.

Expected Results:  
"AC" should only be shown if on AC power.

-- 
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.