-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Feature] Let it use battery #26
Comments
Yes, it's possible, with extra considerations. The reason why I didn't add this feature is that it has a problem when you use clamshell mode (which a lot of desktop users use): If adapter is disabled (to drain battery) in Clamshell mode, macOS will immediately go to sleep. The user have to either open the lid or plug in to use the computer again. This requirement will confuse users. There is very hacky way to prevent sleeping in unplugged clamshell mode, like some 3rd party app like Amphetamine do. You have to disable sleep globally by Or we can just ignore the edge cases and give the user a big red warning about the potential sleep problem before draining. |
Got it, as solving all the possible scenarios isn't a viable option right now, maybe letting the user choose between them is. Presenting all those options can confuse the user, but adding "modes" gives it a simple use. Want to use it as clamshell? When choosing between those modes, present the user the drawbacks, like in clamshell mode, where they cannot discharge nor calibrate, and the default mode will keep the battery level ignoring the charger. Most of the users are fine with the defaults, and the ones that aren't will need to read the docs anyway. Thank you for the quick feedback, and don't worry on rushing it, the app as it is, is already amazing and I'll keep using everyday |
Great suggestion about Modes to quickly switch among different configurations. Also allowing the user to add his own mode will add even more flexibility. |
Although the readme says
If your current charge is above the limit, your computer will just stop charging and use power from the wall. It will stay at your current charge level, which is by design.
It's possible to add an option like
batt auto-drain enable
or something like that, that will automatically let the system drain battery until it reaches the lower delta or limit? This may be useful in cases where the Mac is used as desktop, and can also help to start the auto calibration feature (think the auto calibration is already mentioned in other issues).Probably is a lot more complicated than just a
if (batteryLevel > limit) batt adapter disable
but... is it possible?The text was updated successfully, but these errors were encountered: