Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery consumption. #8

Open
dzan opened this issue Jan 17, 2016 · 4 comments
Open

Battery consumption. #8

dzan opened this issue Jan 17, 2016 · 4 comments

Comments

@dzan
Copy link

dzan commented Jan 17, 2016

Hi,

When enabling the default scripts included with Captain powertop shows lemonbar consuming +- 2W... I have yet to check out what the actual cause is but because maybe someone else already has I created this issue.

@muse
Copy link
Owner

muse commented Jan 18, 2016

I can't deny, it is a pretty intensive script. It is also written in bash which isn't the most optimal language to do this in either. I'm considering doing a rewrite in a more suited language.

0.4%    166.7   Process     lemonbar ***

@neeasade
Copy link
Contributor

if it's the default script, part of the resource heaviness might be from things with a reload rate of 0.1, such as the title. one way to offset this would be if a script/captain section could have a reload based on input from a command/fifo - in this title case one might set the script to only run on output from wew from wmutils.

@DimitriDokuchaev
Copy link

Captain is awesome installed it today, but i am having the same issues, while i didn't notice on the battery, I did notice the temp, my cpu temp goes from 39degrees to around 47 idling... :(

@neeasade
Copy link
Contributor

pinging this thread to say that I think a PR that was just merged will help with battery if the problem was reload time-related -- would like feedback if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants