(Feature request) Power consumption

Bug #213806 reported by Helge Willum Thingvad
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
geany (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Hi,

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.

Revision history for this message
Helge Willum Thingvad (helgesdk) wrote :

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)
Changed in geany:
importance: Undecided → Wishlist
Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.