On Tuesday 24 November 2009 21:59:02 Kevin Ottens wrote: > On Saturday 21 November 2009 09:24:21 Will Stephenson wrote: > > The attached patch adds support for laptop docking stations to Solid. > > Knowing when the machine is docked will allow us to modify powersaving > > policy while docked, eg don't lock the screen if lid closed while > > docked, and help fix https://bugs.kde.org/show_bug.cgi?id=185460. > > If the usage is *that* specific (and indeed I don't see another use case > for a random app to know the docking state), I'd rather see > Solid::Control::PowerManager extended to add a isDocked() method or > something similar instead of introducing a new capability which will be > used only by PowerDevil.
I think this would be the best solution, also because the battery applet would get that info as well. > > Of course, since PowerDevil depends on Solid::Control::PowerManager it'll > get the info once the PowerManager class is extended. > > Regards. > -- ------------------- Dario Freddi KDE Developer GPG Key Signature: 511A9A3B
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-hardware-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-hardware-devel
