Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Feature suggestion: smart activation/deactivation #4

Open
ngoonee opened this issue Oct 15, 2021 · 3 comments
Open

Feature suggestion: smart activation/deactivation #4

ngoonee opened this issue Oct 15, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@ngoonee
Copy link

ngoonee commented Oct 15, 2021

Would be nice to be able to deactivate conservation mode for exactly one charging cycle. So the trigger to reactivate it could be one of the following:-

  1. Fully charged
  2. Charge drops below a threshold (95%?)
  3. Goes on to battery power

The reasoning is that the reason to disable conservation mode is normally because you need the battery life (for a movie binge perhaps), but when that's done, the next time you plug in you may be using the laptop for hours and want conservation mode on.

@supdrewin supdrewin added the enhancement New feature or request label Oct 15, 2021
@supdrewin
Copy link
Owner

May be try batterycm-switcher auto, you can change 95 to [0~99] as your needed.
I'll consider your suggestion.

@ngoonee
Copy link
Author

ngoonee commented Oct 15, 2021

Thanks, I can't really find a description of what config_charging_threshold does though? Is it the limit to which it gets charged (which seems fixed to 60% on my Lenovo) when in conservation mode? Or the limit beyond which the status will be changed?

Edit: Is batterycm monitoring by polling the battery? Because I see a sleep 30 in the systemctl status

@ngoonee
Copy link
Author

ngoonee commented Jun 30, 2022

So I've managed to get sort of the behaviour I want by using KDE's settings (Under Power Management -> Advanced Power Settings -> Configure Notifications). I just call /usr/bin/batterycm-switcher on when 'Charge Complete' or 'Power source disconnected'. Haven't tested whether it works when charging in sleep mode, but the 2nd one should take effect nonetheless I'd guess.

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

No branches or pull requests

2 participants