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

Proposal: Add Ram utilization and Idle threshold only for sleep #47

Open
ispanos opened this issue Aug 23, 2023 · 3 comments
Open

Proposal: Add Ram utilization and Idle threshold only for sleep #47

ispanos opened this issue Aug 23, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@ispanos
Copy link

ispanos commented Aug 23, 2023

First of all, I was searching for a simple extension that shows cpu utilization and when I show that your extension also has and idle threshold setting I was amazed. I wanted to have something like that for a very long time. Great work!

  1. I'm not sure you want to add ram utilization to your extension, but it would be a great addition to have both metrics in a compact "block". A simple, static icon can indicate which percentage corresponds to cpu and which to ram utilization.

  2. It many not be as clean as you have it now, but you may be interested in adding the following option. Besides your current "Idle threshold", use the same metric to change org/gnome/settings-daemon/plugins/power sleep-inactive-ac-type to 'nothing'. Optionally, add a "default" behavior for when the value is below the threshold.

    I don't know if this makes since to anyone other than me, but sometimes I want my computer to lock and put the monitors to sleep, but I don't want my whole system to suspend. For example, when I am running a job in the background I wouldn't mind the energy savings from turning off my monitors, but I also don't want my program to stop running. Right now I have set sleep-inactive-ac-type='nothing' because I always forget to change it when I am running some simulations overnight and I am wasting a lot of extra energy.

@win0err
Copy link
Owner

win0err commented Aug 23, 2023

@ispanos: thank you :-)

I'm thinking about showing extra information (like CPU per core, RAM consumption, etc.) to the drop-down menu (like this: #16 (comment)).

Nevertheless, I want to keep the extension as simple as possible.

@win0err win0err added the enhancement New feature or request label Aug 23, 2023
@ispanos
Copy link
Author

ispanos commented Aug 25, 2023

I understand. If you keep adding more and more of the suggested features it will end up being a lot of work.

I wanted to ram indicator because I sometimes right bad scripts (R, Matlab. Python) that max out my ram and I have lost work after my system froze. I had cpu and ram indicators in my sway bar which helped me prevent many such troubles.

As for the idle threshold I have no idea how easy it is to add. Maybe if I end up switching to gnome full time I will fork your project and add it myself. However I don't know how likely that is because I don't like js/ts and I haven't written anything.

Could you keep this issue open in case others want that feature too? It could help with my motivation to work on it.

@win0err
Copy link
Owner

win0err commented Aug 25, 2023

Could you keep this issue open in case others want that feature too?

Sure, no problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants