Hi Enrico,
I'm not that good at reading the source code :)
On Tue, 22 May 2007 09:43:25 +0200 / Enrico Tröger wrote: With a subject: Re: [Geany] New Release: Geany 0.11
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...
The only timeout_add I found is in Scintilla and it is used among others for the blinking caret. So, it doesn't make much sense to disable it in any way.
Where did you found nanosleep?
synack@deimos geany-0.11 $ grep -nir "timeout_add" * | cut -f1-2 -d":" data/global.tags:9100 data/global.tags:9101 data/global.tags:12756 data/global.tags:12757 scintilla/ScintillaGTK.cxx:959 src/main.c:753
synack@deimos geany-0.11 $ grep -nir "nanosleep" * | cut -f1-2 -d":" data/global.tags:7652 data/global.tags:13570
There is one select call in the code for using an already running instance. This can be easily disabled by starting Geany with --new-instance (see docs).
Will try that option, and see if any difference...