! 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 !
xfce4-battery-plugin-0.3.0 does not see ac_adapter status
Status:
RESOLVED: FIXED
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description Ulrich Mueller 2006-02-18 10:34:00 CET
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.
Comment 1 Ulrich Mueller 2006-02-18 10:35:15 CET
Created attachment 448 
Proposed patch for libacpi.c
Comment 2 Nick Schermer editbugs 2006-09-01 11:57:39 CEST
Similar patch was already applied in trunk, Please reopen if it appears again in 0.4.90.2.
Comment 3 Ulrich Mueller 2007-02-08 09:50:14 CET
(In reply to comment #2)
> Similar patch was already applied in trunk, Please reopen if it appears again
> in 0.4.90.2.

I can confirm that this bug is fixed in 0.5.0.

Bug #1475

Reported by:
Ulrich Mueller
Reported on: 2006-02-18
Last modified on: 2010-12-24

People

Assignee:
Xfce-Goodies Maintainers
CC List:
1 user

Version

Version:
0.5.1 or older
Target Milestone:
0.5.1 or older

Attachments

Proposed patch for libacpi.c (1.87 KB, patch)
2006-02-18 10:35 CET , Ulrich Mueller
no flags

Additional information