[Feature Request] Automation to edit charge limit #263

Closed
opened 2025-12-30 02:20:02 +01:00 by adam · 1 comment
Owner

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 100

But when the plist file is modified, after restarting the app, it automatically changes the charge value back to 80.

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 100` But when the plist file is modified, after restarting the app, it automatically changes the charge value back to 80.
adam added the enhancement label 2025-12-30 02:20:02 +01:00
adam closed this issue 2025-12-30 02:20:02 +01:00
Author
Owner

@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 100 works.

@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 100` works.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/AlDente-Battery_Care_and_Monitoring#263