(Feature request) Power consumption

Bug #213806 reported by Helge Willum Thingvad on 2008-04-08
This bug affects 3 people
Affects Status Importance Assigned to Milestone
geany (Ubuntu)

Bug Description


I'm trying to set up a light-weight but nice looking and feature-rich Ubuntu 8.04 environment.
With several applications open, including Firefox 3 (if I'm not looking at any resource-hungry sites with Flash or heavy JavaScript), my ThinkPad Z60m consumes around 19-24W depending on screen brightness, usage and wireless activity, giving me around 2-2½ hours on a full charge.

In this specific scenario, according to powertop, the system wakes up around 75 times a second when idling. Geany, being a really nice text editor, for some reason causes exactly 10 wakeups/sec per open window (tabs have no effect). This is considerable compared to the total amount.

Is there any specific reason for these wakeups, and would it be possible to reduce or completely prevent them?
In comparison, GEdit causes a constant 5 wakeups/sec, regardless of how many windows/tabs are open and even with spell checking enabled.

I prefer Geany over GEdit for programming because of a more efficient interface, albeit it lacks spell checking support.

Extra note (sorry, no edit button):

In the described scenario with 75 CPU wakeups/sec I forgot to mention that I had two instances of Geany open, so it was causing around 25% of them.
Next target is HAL and acpi, hehe.

I know I'm an optimization freak :P

Daniel T Chen (crimsun) on 2008-12-10
Changed in geany:
importance: Undecided → Wishlist

Thank you for your bug report. This is not a bug in geany itself but in Scintilla, used by Geany.

See http://groups.google.com/group/scintilla-interest/browse_thread/thread/a63a60a90de08a55/a522c131fda1d622?#a522c131fda1d622 for more details. If you want to make things move forward, you should file a bug on the scintilla bug tracker.

Changed in geany:
status: New → Confirmed
Changed in geany:
status: Confirmed → Triaged
Siegfried Gevatter (rainct) wrote :

By the way, there's a plugin available for spell checking, which was uploaded to days ago to Karmic as "geany-plugin-spellcheck".

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers