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. > > Of course, since PowerDevil depends on Solid::Control::PowerManager it'll > get the info once the PowerManager class is extended. > > Regards. > There's also a method undock() which tells the docking hardware to prepare to be disconnected - mind if that goes on Powermanager too?
Will _______________________________________________ Kde-hardware-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-hardware-devel
