![]() Registered Member ![]()
|
My system: Thinkpad Edge 13", Intel Version, OpenSuse 11.3 (64bit), KDE 4.5.3
Hello when I start up my Thinkpad without having the AC adapter plugged in, Powerdevil Plasmoid and sysinfo:/ deliver the following information: Battery is recognised correctly including charge level, battery time remaining and battery is discharged. But the AC adapter is recognised as plugged in. Terminal output as follows:
According to this, the ACPI interface recognises the AC adapater state correctly. Once I plug in and pull out the adapter, Powerdevil shows the correct information; including AC adapter is not plugged in. What can I do to have Powerdevil show the correct information since start up without pulling in and out the AC adapater? Thanks for your support! |
![]() Administrator ![]()
|
Please do the following:
Take the text of the AC adapter item listed there, and run the following:
Then post the output of both the commands here. Example:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for your reply!
I started the system without Ac Adapter plugged in; output is as follows:
|
![]() Administrator ![]()
|
There is the problem... HAL believes the adapter is connected, hence KDE does also. I suggest you contact your distribution for assistance, looks like a bug in HAL.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for your reply. I will inform the openSuse guys.
I did a little research on hal and found a workaround. Calling the following command at startup fixes my problem:
I put it in a script that utilizes /proc/acpi/ac_adapter/ACAD/state and it should be fine. Tanks for your help! |
Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar