AppHouseKitchen / AlDente-Charge-Limiter

Menubar Tool to set Charge Limits and Prolong Battery Lifespan
https://apphousekitchen.com/
Other
7.87k stars 290 forks source link

Installation completely broken by 1.27 update #1252

Closed christianh104 closed 4 weeks ago

christianh104 commented 3 months ago

MacBook:

Describe the bug

  1. I cannot set the charge limit with the mouse, it just keeps switching itself to 15%.
  2. I cannot enable sailing mode or heat protection mode, perform calibration, start discharge or top-up.
  3. I can see the sailing mode, Intel mode, and heat protection mode icons in the popover despite them being "disabled".
  4. Every time I open the popover I end up accidentally clicking away from it because it runs away from me when I move the mouse away from the menu bar. I believe this has been an issue for a while but I never really noticed because I set and forget it.
  5. I cannot set the charge limit with the keyboard.
  6. Despite the charge limit being stuck at 15% it is definitely charging when it is at 70+%.

Screenshots and Screen Recordings https://github.com/AppHouseKitchen/AlDente-Charge-Limiter/assets/6159143/27c2ab72-0525-40a4-b2cd-cc23d0d68f3d https://github.com/AppHouseKitchen/AlDente-Charge-Limiter/assets/6159143/f8736dd9-118d-49ab-acb9-c8a4f3ded40e

Additional context Previously installed version was 1.26.1. I did try restarting AlDente, but did not try to restart the Mac. After resetting the settings in Al Dente and restarting it, everything was fixed except #4 above. I also updated my 2023 M3 MacBook Pro to 1.27, and it worked perfectly except #4 above.

Side note A friend and I both had our charge limits unexpectedly changed to 100% recently. For a while I thought Al Dente just screwed up and forgot the charge limit, so I set up a scheduled task to set the limit automatically every day in case it happened again and I didn't notice. I now think that this is due to an accidental right-click on the menu bar item. Start/stop charging is the default action but what is not spelled out there is that it changes the charge limit to do that, rather than just starting charging during sailing mode. This behavior combined with it being the default right-click action seems like a footgun for people who primarily use the software to avoid their battery being charged to 100%. Anybody who does this accidentally will definitely believe this is a failure on Al Dente's part, so it may not be the most sane default. Just a thought.

MatthiasKerbl commented 3 months ago

Hi @christianh104,

Thank you for your detailed bug report and we are sorry for the inconvenience this caused. You are the second user to report this issue where for some reason when installing AlDente 1.27 your installation slips through the safety measures and gets stuck. As you have already figured out, it can be fixed with a simple settings reset. Regarding point 4, this is a known issue and we will try to fix it with one of the upcoming updates.

Concerning your side note, thank you for the feedback, we will discuss it and consider changing the default right-click setting.

Best, Matthias

christianh104 commented 3 months ago

Thank you for looking into this. I forgot that there is another small issue with the menu bar item: If I click the menu bar item with the mouse at the very top of the screen, it will not close the popover, it will just reopen it. This occurs on both of my MacBooks. I have also noticed this issue with another piece of software, DisplayLink Manager. Unfortunately they are not open source, otherwise it might be easy to track down something in common.

https://github.com/AppHouseKitchen/AlDente-Charge-Limiter/assets/6159143/91960ba0-be87-4ff5-a06c-6412b45be751

MatthiasKerbl commented 3 months ago

Hi @christianh104,

Thanks for letting us know about this inconvenience. We will try to look into it.

Best, Matthias

MatthiasKerbl commented 4 weeks ago

Thank you for looking into this. I forgot that there is another small issue with the menu bar item: If I click the menu bar item with the mouse at the very top of the screen, it will not close the popover, it will just reopen it. This occurs on both of my MacBooks. I have also noticed this issue with another piece of software, DisplayLink Manager. Unfortunately they are not open source, otherwise it might be easy to track down something in common.

AlDente.3.mov

Hi @christianh104,

We have just released AlDente 1.28.1 which includes a fix for this issue.
To get AlDente 1.28.1 you just need to update within the app under Settings/General/Check for Updates. Please report back if it works for you.

Best, Matthias