Issue 516 in xmonad: XMonad and xmobar wake up too often and are consuming more battery power

Status: New Owner: ---- New issue 516 by hpsMo...@gmail.com: XMonad and xmobar wake up too often and are consuming more battery power http://code.google.com/p/xmonad/issues/detail?id=516 What steps will reproduce the problem? 1. Start XMonad and/or xmobar 2. Check their wakeup frequency with powertop 3. What is the expected output? What do you see instead? About half year ago when I used XMonad for the first time the wakeup frequency was only 10 times per second, sometimes even less. Now it often gets to 100, especially in idle state. What version of the product are you using? On what operating system? Debian wheezy. XMonad 0.10-4+b2 from debian official repo. Are you using an xmonad.hs? Please attach it and the output of "xmonad --recompile". This issue is reproducible on my laptop with any configuration, including the default empty configuration. Please provide any additional information below. When there's an active X program running (like the chromium browser I'm typing in now), wakeup freq of both xmonad and xmobar are likely to drop to about 40/sec. But as keyboard and mouse become idle the freq rises up again.

Comment #1 on issue 516 by nome...@gmail.com: XMonad and xmobar wake up too often and are consuming more battery power http://code.google.com/p/xmonad/issues/detail?id=516 This is a GHC bug, http://hackage.haskell.org/trac/ghc/ticket/5991, and a fix will be in 7.6.2.

Comment #2 on issue 516 by allber...@gmail.com: XMonad and xmobar wake up too often and are consuming more battery power http://code.google.com/p/xmonad/issues/detail?id=516 (I hope this doesn't try to "fix" my formatting...) You can work around this by building xmonad manually, but each of the possibilities has flaws: ghc -threaded --make -i -ilib -fforce-recomp xmonad.hs -o xmonad-$(uname -m)-$(uname | tr A-Z a-z) this will work but may cause problems with some extensions ghc -rtsopts -with-rtsopts=-V0 --make -i -ilib -fforce-recomp xmonad.hs -o xmonad-$(uname -m)-$(uname | tr A-Z a-z) this may still interrupt too often but not as often as with the buggy runtime If you don't have an xmonad.hs yet, a bare minimal one you can use with this is import XMonad main = xmonad defaultConfig
participants (1)
-
codesite-noreply@google.com