[Panel-devel] Smooth movement of clock hands on plasma applet

Robert Knight robertknight at gmail.com
Tue May 29 22:46:39 CEST 2007


> You want bool Solid::PowerManagement::appShouldConserveResources() and
> Solid::PowerManagement::Notifier::appsHouldConserverResourcesChanged( bool

I actually tried that a couple of days ago.  I was hoping to have the
second hand on the clock magically fade out when the AC adapter was
unplugged.  However I couldn't get a correct value for
appShouldConserveResources(), it always returned false and the signal
was never emitted.  I have the power management backend set to HAL
Power Manager in the setup dialog for Solid.

Any suggestions?

Regards,
Robert.

On 29/05/07, Kevin Ottens <ervin at kde.org> wrote:
> Le mardi 29 mai 2007, Will Stephenson a écrit :
> > On Sunday 27 May 2007, Aaron J. Seigo said:
> > > On Saturday 26 May 2007, Fred Emmott wrote:
> > > > If this is actually integrated, I'd suggest making the amount of time
> > > > between updates in the engine user-configurable, and preferably
> > > > integrated into performance vs shinyness bit of kpersonalizer or KDE4
> > > > equivalent; 500msec for low end, 50 for high-end.
> > >
> > > to be honest, the default will need to be witout a seconds hand so that
> > > we can have the timer fire once per minute. i got it down to this with
> > > kicker's clock and, for power reason, we'll need to do the same.
> >
> > You want bool Solid::PowerManagement::appShouldConserveResources() and
> > Solid::PowerManagement::Notifier::appsHouldConserverResourcesChanged( bool
> > newState ), you do.
>
> In this particular case it doesn't solve the case where you're on A/C power
> but simply don't want to waste you CPU power on this. 30% usage of one core
> on an Athlon64 4200+ looks like a lot IMO, as a user I'd prefer see this used
> for something else. So unfortunately, you won't avoid the setting here...
>
> Anyway, it's a very good suggestion for automatically turning off the most
> power hungry effects, might be a good idea for kwin compositing too?
>
> Regards.
> --
> Kévin 'ervin' Ottens, http://ervin.ipsquad.net
> "Ni le maître sans disciple, Ni le disciple sans maître,
> Ne font reculer l'ignorance."
>
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
>
>


More information about the Panel-devel mailing list