fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.34k stars 214 forks source link

Battery use is very high #235

Open blokeley opened 4 years ago

blokeley commented 4 years ago

bug.n uses a huge proportion of my battery. One week statistics show:

bug.n is using more than twice the battery of even my most used apps and on a back-to-back test (with and without bug.n running), bug.n approximately halves my battery life.

This might be related to #61

joten commented 4 years ago

bug.n approximately halves my battery life

That is bad indeed.

Did you start bug.n at the beginning of the week, in which you took the statistics? And does the workaround stopping bug.n, deleting the windowState.ini file and restarting bug.n has any effect?

It would be interesting to know, what the statistics show, if you were to set the Config.ini variable Config_autoSaveSession=off (effectively disabling the possibility for session restore) - if possible at all. By the way, which tool did you use to collect the statistics?

blokeley commented 4 years ago

I was running bug.n all the time (it was in my start-up folder) for the week in question.

I used Windows 10 battery monitoring to get the stats:

Settings -> See which apps are affecting your battery life

I had recently (about 2 weeks previous to the bug report) deleted windowState.ini because bug.n was getting slow so I don't think it was that.

I have stopped using bug.n due to a combination of battery use, unreliability (windows are "missed" by bug.n about 10% of the time so not managed), and some slowness of up to 2 seconds to rearrange the windows (on a fast Dell Precision 5510 workstation). If you reckon that all of these issues can be solved, I would be happy to start again and test. Maybe Autohotkey is a shakey foundation which could mean it would be impossible to make fast or low battery use?

FarisHijazi commented 3 years ago

windows are "missed" by bug.n about 10% of the time so not managed

I have this issue as well, I get 1 or 2 windows just floating out of sync with the layout