Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 304343

Summary: kde-base/powerdevil should support UPS as batteries on desktop PCs
Product: Gentoo Linux Reporter: devsk <funtoos>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED UPSTREAM    
Severity: enhancement CC: esigra
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=197627
Whiteboard:
Package list:
Runtime testing required: ---

Description devsk 2010-02-10 16:31:32 UTC
I have no idea what I am doing wrong but powerdevil fails to detect my UPS as battery because it says "Battery: Not present" but if I click configuration button and see the capabilities, it shows two batteries (the other being wireless mouse battery). It does not get any events like when I remove power. So, it can't do things like suspend etc.

acpi and hal have been defined since 2007. hald finds my UPS fine. Its listed in lsusb output as well. gnome-power-manager is able to detect my UPS battery and I have tested it works when I unplug the power, it gets events and works the way it is configured (like suspend etc.) 

Since my desktop is KDE only, I would like this to be fixed. Not sure if its gentoo specific issue or something upstream or something that I have done. I just hope it is some setup issue.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-09 06:09:06 UTC
Which versions of kde exactly have you tried? How about 4.3.5 and 4.4.2?

Comment 2 devsk 2010-04-09 06:20:57 UTC
I have tried 4.3.X, 4.4.X including 4.4.2.

It used to work in 4.2 for some time. Upstream decided to support only the primary batteries. There is a bug up there. You can probably close this. Upstream was very annoying. I think typical case of "I don't need it so you must not need it either".

I since then moved to gnome-power-manager, which shuts down or suspends my system gracefully during power outage.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-06-14 20:20:50 UTC
See upstream bug report for more details.
Comment 4 devsk 2010-06-14 20:55:03 UTC
?? 

There is no update since march. Anyway, I am subscribed to that bug. If it ever sees the light of the day, I will know.

You can close this bug if you want. There is nothing Gentoo can do about it.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2010-11-02 23:08:10 UTC
(In reply to comment #4)
> ?? 
> 
> There is no update since march. Anyway, I am subscribed to that bug. If it ever
> sees the light of the day, I will know.
> 
> You can close this bug if you want. There is nothing Gentoo can do about it.
> 

You're right about that... in addition this seems to be WONTFIX for upstream... would be a nice feature though. :(