After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689032 - Reduce the no. of wakeups
Reduce the no. of wakeups
Status: RESOLVED FIXED
Product: gnome-screensaver
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-25 16:10 UTC by B.Prathibha
Modified: 2012-11-30 19:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to reduce no. of wakeups (6.00 KB, patch)
2012-11-25 16:10 UTC, B.Prathibha
none Details | Review
updated patch (5.97 KB, patch)
2012-11-26 04:48 UTC, B.Prathibha
committed Details | Review

Description B.Prathibha 2012-11-25 16:10:42 UTC
Created attachment 229822 [details] [review]
Patch to reduce no. of wakeups

This path replaces g_timeout_add with g_timeout_add_seconds if a time is in seconds. This can help to save some power and reduce the number of wake-ups.
Comment 1 André Klapper 2012-11-25 16:25:55 UTC
I'm surprised if Git accepts a misformed "From:" field like for this page...
Comment 2 B.Prathibha 2012-11-26 04:48:57 UTC
Created attachment 229872 [details] [review]
updated patch

The From field is corrected in the patch. 

Is it not acceptable to have two names in From field?
Comment 3 Ray Strode [halfline] 2012-11-30 19:50:40 UTC
Thanks. pushed with small changes.