Hi Enrico,
Maybe you've noticed an announcement about "powertop" utility released by Intel devs: http://www.linuxpowertop.org/powertop.php
/* PowerTOP is a Linux tool that finds the software component(s) that make your laptop use more power than necessary while it is idle. As of Linux kernel version 2.6.21, the kernel no longer has a fixed 1000Hz timer tick. This will (in theory) give a huge power savings because the CPU stays in low power mode for longer periods of time during system idle. */
So, basically I've seen this on my instance of powertop:
Top causes for wakeups: 44.3% (154.0) firefox-bin : schedule_timeout (process_timeout) 18.1% (62.8) <interrupt> : uhci_hcd:usb3 9.0% (31.2) : do_setitimer (it_real_fn) 6.2% (21.4) <interrupt> : eth0 4.0% (14.0) geany : schedule_timeout (process_timeout)
And here is a irc log with one of the devs:
(10:49:42) kj_synack: guys, what would be suspicious piece of code when looking at source code? (10:49:58) arjan: kj_synack: g_timeout_add() is something to look for in glib/gtk apps 10:50 (10:50:11) kj_synack: arjan: thanx (10:50:11) arjan: select() or poll() syscalls in generic non-glib code (10:50:33) arjan: also nanosleep() in non-glib code (10:50:39) arjan: or usleep()
I don't know if it's possible to improve the code to ensure better battery uptime... I've seen "timeout_add", "nanosleep" when grep in the source code...
Just wanted to share with you guys...
On Mon, 21 May 2007 20:16:16 +0200 / Enrico Tröger wrote: With a subject: [Geany] New Release: Geany 0.11
Hi,
Geany 0.11 has been released.