Bug 267685 - nut integration in powerdevil
Summary: nut integration in powerdevil
Status: RESOLVED UNMAINTAINED
Alias: None
Product: solid
Classification: Unmaintained
Component: powermanagement (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-05 10:13 UTC by Andrea Z.
Modified: 2018-09-04 15:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Z. 2011-03-05 10:13:46 UTC
Version:           unspecified
OS:                Linux

Powerdevil should support nut (Network-UPS Tools) so that computers with an UPS can perform some actions depending on the power.
UPS should be considered just as batteries for laptops, that's all!

Reproducible: Always


Actual Results:  
Now there is an application called knutclient which is quite good and shows as a "battery" the state of charge of the ups if power current is not functioning. Why not integrate it in powerdevil and the default battery plasmoid?
Also knutclient doesn't offer options to execute something (dim sisplay, power off...) depending on the state of charge of the battery.
Finally, knutclient it's not a full "kde integrated" and official application.
It can however be used as an example or become integrated in kde.

Expected Results:  
Laptop batteries and UPS... what's the difference? :-)
Comment 1 Kai Uwe Broulik 2012-11-18 13:26:46 UTC
As far as I can tell from the sourcecode, Solid supports UPS batteries, and adds them to the global battery pool. A Desktop computer usually has no battery, but if it has an UPS connected, it will have one. And this is treated like a normal battery, so you can set a threshold when the battery is considered critical (like 80%, since when the UPS goes down, the computer should shutdown right away?) and then have it react on it and shut down the machine.
I don't know about your specific use-case there, though, or if Solid supports NUT. And also the way I described above is a bit hacky/not very user-friendly, that is true.
Comment 2 Alex Fiestas 2013-03-03 15:55:18 UTC
So, what should we do here? how can we improve this? any suggestions?
Comment 3 Andrew Crouthamel 2018-09-04 15:44:19 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you!