mirror of
https://github.com/AppHouseKitchen/AlDente-Battery_Care_and_Monitoring.git
synced 2026-03-25 10:52:21 +01:00
[Feature Request] Automation to edit charge limit #263
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @twio142 on GitHub (Sep 29, 2021).
I'd like to change the charge limit value not just through clicking on the menu bar, but some terminal or AppleScript command.
I tried to edit the preference plist file:
defaults write com.apphousekitchen.aldente-pro chargeVal 100But when the plist file is modified, after restarting the app, it automatically changes the charge value back to 80.
@twio142 commented on GitHub (Dec 7, 2021):
I just figured out that you need to specify the type of data as integer when writing to the plist file... 😅
So
defaults write com.apphousekitchen.aldente-pro chargeVal -int 100works.