[Kde-hardware-devel] [PATCH] Add docking station support to Solid
Dario Freddi
drf54321 at gmail.com
Thu Nov 26 13:40:20 CET 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20091126/c8d9d70d/attachment.sig
More information about the Kde-hardware-devel
mailing list