charlie0129 / batt

Control and limit battery charging on Apple Silicon MacBooks.
GNU General Public License v2.0
445 stars 21 forks source link

emergency mode #5

Open YCL92 opened 1 year ago

YCL92 commented 1 year ago

I love this implementation for battery management and I am amazed by how neat the package is. Anyway there is one feature you could consider adding to future versions:

Disabling any feature in this script seems a permanent operation, but a temporary solution might be beneficial, especially in a "scheduled work with no external power source available" scenario, where a 100% full charge is preferred to maximize the battery life. I would suggest a new command to disable, for example the upper threshold, temporarily for once, and then restore the limit back to the user-defined value automatically in the next cycle.

charlie0129 commented 1 year ago

Great suggestion. I agree with you. I think this is a convenient feature in such a scenario and can be worked on in the future (probably v0.3.0).