Compare commits

...

37 Commits

Author SHA1 Message Date
Matthias Kerbl 921ec64e46
Merge pull request #1173 from AppHouseKitchen/MatthiasKerbl-patch-3
Update bug_report.md
2024-02-20 12:40:44 +01:00
Matthias Kerbl 1559f0c95e
Update bug_report.md 2024-02-20 12:40:33 +01:00
Matthias Kerbl 90ef62e1c9
Merge pull request #1172 from AppHouseKitchen/MatthiasKerbl-patch-2
Update bug_report.md
2024-02-20 11:54:37 +01:00
Matthias Kerbl 2d3089399e
Update bug_report.md 2024-02-20 11:54:26 +01:00
Matthias Kerbl da53f8ba65
Merge pull request #1171 from AppHouseKitchen/MatthiasKerbl-patch-1
Update bug_report.md
2024-02-20 11:52:56 +01:00
Matthias Kerbl 6c9cc14725
Update bug_report.md 2024-02-20 11:52:37 +01:00
Matthias Kerbl 55eea484f0
Merge pull request #1096 from zooxop/master
style: modify bracket position.
2024-02-13 10:57:24 +01:00
Cheolhyun Mun d68b3401a2 style: modify bracket position. 2023-11-10 01:16:10 +09:00
Matthias Kerbl 4eef58ad77
Update README.md 2023-05-30 15:15:02 +02:00
Matthias Kerbl 7b7a828b27
Update README.md 2023-05-30 15:14:37 +02:00
Matthias Kerbl 9536a0750c
Update README.md 2023-05-30 14:57:44 +02:00
Matthias Kerbl ec8e908bb2
Update README.md 2023-05-30 14:56:36 +02:00
Matthias Kerbl 7152cd1c52
Update README.md 2023-05-30 12:45:51 +02:00
Matthias Kerbl 78f40e0204
Update README.md 2023-05-30 12:43:46 +02:00
Matthias Kerbl ae06e7118a
Update README.md 2023-05-30 12:39:30 +02:00
Matthias Kerbl 1ec639d320
Update README.md 2023-05-30 12:37:44 +02:00
Matthias Kerbl 930269e574
Update README.md 2023-05-30 12:35:12 +02:00
Matthias Kerbl cb5a753f66
Update README.md 2023-03-02 12:44:05 +01:00
Matthias Kerbl 056411468c
Update README.md 2023-03-02 12:36:59 +01:00
Matthias Kerbl 9760383703
Update README.md 2022-11-08 19:42:52 +01:00
Matthias Kerbl 28f277eb71
Update README.md 2022-11-05 15:08:29 +01:00
Matthias Kerbl 03c7f92a44
Update README.md 2022-08-30 17:45:29 +02:00
Matthias Kerbl 3e2a7e6193
Update README.md 2022-08-30 17:20:09 +02:00
Matthias Kerbl c2b9d4dc7f
Update README.md 2022-08-30 17:16:44 +02:00
Matthias Kerbl 92eb3b2429
Update README.md 2022-08-30 16:57:27 +02:00
Matthias Kerbl 656aecdeb7
Update README.md 2022-08-30 16:14:06 +02:00
Matthias Kerbl f4157bcb23
Update README.md 2022-08-30 16:13:27 +02:00
Matthias Kerbl e4f5db60a8
Update README.md 2022-08-30 16:12:28 +02:00
Matthias Kerbl 830defeaa0
Update README.md 2022-08-30 16:11:11 +02:00
Matthias Kerbl 8b63ac6bf5
Update README.md 2022-08-30 16:10:12 +02:00
Matthias Kerbl e58c6acd72
Update README.md 2022-08-30 15:59:48 +02:00
Matthias Kerbl 22b9c9f8d2
Update README.md 2022-08-17 16:02:22 +02:00
Matthias Kerbl 715cbe2375
Update README.md 2022-08-17 16:01:31 +02:00
Matthias Kerbl 25ec916520
Update README.md 2022-05-18 09:58:05 +02:00
Matthias Kerbl 3439d8f981
Merge pull request #683 from zeke-iOS/master
Fixed typos in README.md
2022-05-17 10:14:03 +02:00
zeke 5d647f92fd Fixed typos in README.md 2022-05-17 16:42:45 +09:00
Matthias Kerbl 4d610731ea
Update README.md 2022-04-21 10:50:11 +02:00
3 changed files with 33 additions and 157 deletions

View File

@ -1,11 +1,22 @@
---
name: Bug report
name: Bug Report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**MacBook (please complete the following information):**
- MacBook Model (https://support.apple.com/en-us/HT201608):
- macOS Version (https://support.apple.com/en-us/HT201260):
- Charger Model (Apple, Third Party, Wattage,...):
- Charging Cable (MagSafe 2, MagSafe 3, USB-C, Apple, Third Party,...):
- AlDente Pro or AlDente Free:
- AlDente Version:
- List or add screenshots of all enabled/disabled settings in AlDente:
- Please share a debug file the next time this happens so that we can assess this issue better. You can find a guide on How to generate and share a debug file on our blog(https://apphousekitchen.com/how-to-generate-and-share-a-debug-file/).
- External Monitor connected?
- MacBook used in Clamshell Mode (with the lid closed)?
**Describe the bug**
A clear and concise description of what the bug is.
@ -17,18 +28,11 @@ Steps to reproduce the behavior:
3. Scroll down to '....'
4. See error
**Expected behavior**
**Expected Behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots or screen recordings to help explain your problem.
**MacBook (please complete the following information):**
- MacBook model (https://support.apple.com/en-us/HT201608)
- macOS version (https://support.apple.com/en-us/HT201260)
- AlDente Pro or AlDente Free?
- AlDente Version?
- List of all enabled/disabled settings in AlDente:
**Screenshots and Screen Recordings**
If applicable, add screenshots or screen recordings of the issue to help explain your problem.
**Additional context**
Add any other context about the problem here.

View File

@ -248,7 +248,8 @@ final class Helper {
print("helperVersion:", helperVersion, " version from helper:", version)
if !helperVersion.elementsEqual(version) {
reply(false)
return() }
return()
}
else{
self.isInitialized = true
reply(true)

161
README.md
View File

@ -1,169 +1,40 @@
# AlDente 🍝
# AlDente - Charge Limiter🍝
_MacOS menu bar tool to limit maximum charging percentage_
#### Don't overcook your battery! Keep it fresh and chewy with AlDente.
## Why do I need this?
Li-Ion batteries (like the one in your MacBook) last the longest when operating between 20 and 80 percent. Keeping your battery at 100% at all times can shorten the lifespan of your MacBook significantly.
More information can be found here:
<https://batteryuniversity.com/article/bu-415-how-to-charge-and-when-to-charge>
More information can be found at [Battery University](https://batteryuniversity.com/article/bu-415-how-to-charge-and-when-to-charge).
## Whats AlDente Pro?
AlDente Pro is our paid version of AlDente. It has many more features such as Heat Protection, Sailing Mode, Top Up, Calibration Mode,... It offers a better design and has live status icons. If you are interested in getting the most out of your battery, check out our website: https://apphousekitchen.com/
AlDente Pro is our paid version of AlDente. It has many more features such as Heat Protection, Sailing Mode, Top Up, Calibration Mode,... It offers a better design and has live status icons. If you are interested in getting the most out of your battery, check out our [website](https://apphousekitchen.com/).
AlDente Pro is now available in Setapp too: https://setapp.com/apps/aldente-pro
AlDente Pro is now available on [Setapp](https://apphousekitchen.com/pricing/) too.
## Features of AlDente Free
* Charge Limiter allows you to set your maximum charging percentage between 20 and 100 percent. You can either set it by using the slide bar or by typing in the desired percentage in the field above and pressing enter afterwards. Read more about the Charge Limiter feature here: https://apphousekitchen.com/feature-explanation-charge-limiter/
* Discharge - This feature allows your MacBook to run completely on Battery even if it is plugged in. Therefore, you can actively discharge your MacBook to a more healthy percentage. Unfortunately, while Discharge is activated, clamshell mode is not supported due to technical limitations. Read more about the Discharge feature here: https://apphousekitchen.com/feature-explanation-discharge/
* Charge Limiter allows you to set your maximum charging percentage between 20 and 100 percent. You can either set it by using the slide bar or by typing in the desired percentage in the field above and pressing enter afterwards. Read more about the Charge Limiter feature in this article ["Feature Explanation: Charge Limiter"](https://apphousekitchen.com/feature-explanation-charge-limiter/).
* Discharge - This feature allows your MacBook to run completely on Battery even if it is plugged in. Therefore, you can actively discharge your MacBook to a more healthy percentage. Unfortunately, while Discharge is activated, clamshell mode is not supported due to technical limitations. Read more about the Discharge feature in this article ["Feature Explanation: Discharge"](https://apphousekitchen.com/feature-explanation-discharge/).
## Supported Devices (macOS 11 Big Sur or higher required)
## Supported MacBook Models (macOS 11 Big Sur or later required)
#### MacBook Pro
Full Support
* MacBook Pro (16-inch, M1 Pro/Max, 2021)
* MacBook Pro (14-inch, M1 Pro/Max, 2021)
* MacBook Pro (13-inch, M1, 2020)
* MacBook Pro (13-inch, 2020, Two Thunderbolt 3 ports)
* MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
* MacBook Pro (16-inch, 2019)
* MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)
* MacBook Pro (15-inch, 2019)
* MacBook Pro (13-inch, 2019, Four Thunderbolt 3 ports)
* MacBook Pro (15-inch, 2018)
* MacBook Pro (13-inch, 2018, Four Thunderbolt 3 ports)
* MacBook Pro (15-inch, 2017)
* MacBook Pro (13-inch, 2017, Four Thunderbolt 3 ports)
* MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
* MacBook Pro (15-inch, 2016)
* MacBook Pro (13-inch, 2016, Four Thunderbolt 3 ports)
* MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports)
Check out if your MacBook is supported on our [FAQ page](https://apphousekitchen.com/faq/).
Limited Support(Only Charge Limiter through Intel Mode)
* MacBook Pro (Retina, 15-inch, Mid 2015)
* MacBook Pro (Retina, 13-inch, Early 2015)
* MacBook Pro (Retina, 15-inch, Mid 2014)
* MacBook Pro (Retina, 13-inch, Mid 2014)
* MacBook Pro (Retina, 15-inch, Late 2013)
* MacBook Pro (Retina, 13-inch, Late 2013)
#### MacBook Air
Full Support
* MacBook Air (M1, 2020)
* MacBook Air (Retina, 13-inch, 2020)
* MacBook Air (Retina, 13-inch, 2019)
* MacBook Air (Retina, 13-inch, 2018)
Limited Support(Only Charge Limiter through Intel Mode)
* MacBook Air (13-inch, 2017)
* MacBook Air (13-inch, Early 2015)
* MacBook Air (11-inch, Early 2015)
* MacBook Air (13-inch, Early 2014)
* MacBook Air (11-inch, Early 2014)
* MacBook Air (13-inch, Mid 2013)
* MacBook Air (11-inch, Mid 2013)
#### MacBook 12"
Limited Support(Only Charge Limiter through Intel Mode)
* MacBook (Retina, 12-inch, 2017)
* MacBook (Retina, 12-inch, Early 2016)
* MacBook (Retina, 12-inch, Early 2015)
## Download:
## Download
You can download the app from GitHub: <https://github.com/davidwernhart/AlDente/releases>
## Installation Guide
An installation guide can be found on our website: https://apphousekitchen.com/installation-guide/
An installation guide can be found on our website:[Installation Guide](https://apphousekitchen.com/installation-guide/)
## How to use:
## How to use
When the installation is finished, enter your desired max. charging percentage by clicking on the 🍝 icon on your menu bar. Usually, the operating system will take a minute or two registering the changes, so be patient. You can check if it's working by setting the max. percentage to e.g.: 80%. After a while, clicking on your battery icon will report "Battery is not charging" if you have more than ≈73% left, even though your charger is connected. Notice that in this state, your MacBook is still powered by the charger, but the battery is not charging anymore.
For some reason, macOS will always try to squeeze in a few more percent than specified. For example, if you set yours to 80% it will stop charging at around 83%, so be patient.
IMPORTANT: Keeping your battery at a lower percentage, such as under 80%, over weeks without doing full cycles (100%-0%) can result in a disturbed battery calibration. When this happens, your Macbook might turn off with 40-50% left or your battery capacity will drop significantly. However, this is only due to a disturbed battery calibration and not because of a faulty or degraded battery. To avoid this issue, we recommend doing at least one full cycle (0%-100%) every two weeks. Even if your battery calibration gets disturbed, doing 4+ full cycles will recalibrate your battery and the capacity will go up again.
## FAQ
<details>
<summary>IT DOES NOT WORK???</summary>
Firstly, AlDente does only prevent your Mac from charging more than you specify, it does NOT automatically drain your battery to the specified percentage. Secondly, make sure you have Apple's "Optimized battery charging" disabled, keeping it on will result in slow charging beyond the charge limit. Lastly, check the next question regarding the behavior of AlDente while your MacBook is in sleep or powered off.
</details>
<details>
<summary>CHARGE LIMITER DOES NOT WORK! :(</summary>
AlDente Free can not control the charging behavior of your MacBook while it is in sleep, or shut down. Therefore, it will continue to charge to 100% when you close the lid or shut it down. AlDente Pro has features called "Stop charging when sleeping" and "Stop charging when powered off" to counteract this behavior. You can read more about these features in our blog:
https://apphousekitchen.com/feature-explanation-stop-charging-when-sleeping/
https://apphousekitchen.com/feature-explanation-stop-charging-when-powered-off-app-closed/
</details>
<details>
<summary>WHY DOES MY MACBOOK KEEP CHARGING WHEN IT IS POWERED OFF?</summary>
AlDente Free can not control the charging behavior of your MacBook while it is in sleep, or shut down. Therefore, it will continue to charge to 100% when you close the lid or shut it down. AlDente Pro has features called "Stop charging when sleeping" and "Stop charging when powered off" to counteract this behavior. You can read more about these features in our blog:
https://apphousekitchen.com/feature-explanation-stop-charging-when-sleeping/
https://apphousekitchen.com/feature-explanation-stop-charging-when-powered-off-app-closed/
</details>
<details>
<summary>WHY DOES MY MACBOOK KEEP CHARGING WHEN IT IS IN SLEEP?</summary>
AlDente Free can not control the charging behavior of your MacBook while it is in sleep, or shut down. Therefore, it will continue to charge to 100% when you close the lid or shut it down. AlDente Pro has features called "Stop charging when sleeping" and "Stop charging when powered off" to counteract this behavior. You can read more about these features in our blog:
* https://apphousekitchen.com/feature-explanation-stop-charging-when-sleeping/
* https://apphousekitchen.com/feature-explanation-stop-charging-when-powered-off-app-closed/
</details>
<details>
<summary>HOW TO UNINSTALL?</summary>
Take a look at our blog post here: https://apphousekitchen.com/how-to-uninstall-aldente-pro/
</details>
<details>
<summary>DO I HAVE TO DISABLE APPLE'S "OPTIMIZED BATTERY CHARGING"?</summary>
Yes! Leaving it on results in slow charging, even when AlDente is trying to inhibit it.
</details>
<details>
<summary>WHY DOES DISCHARGE NOT WORK IN CLAMSHELL MODE?</summary>
Discharge in Clamshell mode is only supported in AlDente Pro.
</details>
<details>
<summary>HELP, SAILING MODE DOES NOT WORK!?</summary>
The Sailing Mode is not intended to actively discharge your battery. Therefore, your MacBook will barely lose any energy even in Sailing Mode, since the power brick is the main source of energy. So do not worry when the battery percentage does not change even if the Sailing Mode is activated. Sailing Mode is still doing its thing. You can read more about what the Sailing Mode actually does here: https://apphousekitchen.com/feature-explanation-sailing-mode/
</details>
<details>
<summary>WHY DOES THE SAILING MODE NOT CHARGE AND DISCHARGE THE MACBOOK BETWEEN A CERTAIN RANGE?</summary>
Unlike the common belief, it is actually way more unhealthy for a battery to always get cycled between a reasonable range (for example between 30% and 70%) than to just stay at a healthy percentage (for example 80%). This is due to even reasonable charge cycling adding a lot of charge cycles which results in more and faster battery degradation over time than just using the MacBook plugged in at a healthy percentage. However, this does not mean that you should not use your MacBook remotely. MacBooks are portable devices but if you use your MacBook in your office plugged in, it is better to just limit charging to a healthy percentage than to cycle between a certain range. You can read more about what the Sailing Mode actually does here: https://apphousekitchen.com/feature-explanation-sailing-mode/
</details>
<details>
<summary>HELP MY BATTERY CAPACITY DROPPED AND MY MACBOOK TURNS OFF WITH 50% LEFT</summary>
Keeping your battery at a lower percentage, such as under 80%, over weeks without doing full cycles (100%-0%-100%) can result in a disturbed battery calibration. When this happens, your Macbook might turn off with 40-50% left or your battery capacity will drop significantly. However, this is only due to a disturbed battery calibration and not because of a faulty or degraded battery. To avoid this issue, we recommend doing at least one full cycle (0%-100%) every two weeks. Even if your battery calibration gets disturbed, doing 4-5 full cycles will recalibrate your battery and the capacity will go up again. AlDente Pro has a feature called Calibration Mode(https://apphousekitchen.com/feature-explanation-calibration-mode-2/), which will automatically do a full cycle when started. You can read more about the calibration of "smart" batteries here: https://batteryuniversity.com/article/bu-603-how-to-calibrate-a-smart-battery
</details>
<details>
<summary>WHAT IS ALDENTE CLASSIC?</summary>
AlDente Classic is our original version of AlDente. First introduced in 2020 and further developed until March 2021. With a complete rewrite of the code of AlDente and the introduction of AlDente Pro, we decided to rename the original AlDente in AlDente Classic and use the name AlDente (Free) or AlDente Pro with synchronous versioning between these two from now on.
</details>
<details>
<summary>WHY IS ALDENTE NOT SUPPORTED BY OLDER VERSIONS OF MACOS AND ARE YOU PLANNING TO SUPPORT OLDER MACOS VERSIONS IN THE FUTURE?</summary>
Due to SwiftUI not being compatible with older versions of macOS, AlDente is only compatible with macOS 11 Big Sur on newer. Even though it might be possible to get AlDente to work on older MacBooks and macOS versions too, we are currently not working on it.
</details>
<details>
<summary>IS ALDENTE OPEN SOURCE?</summary>
The first couple of versions of AlDente Classic until AlDente Classic 2.0 are open source. Later versions of AlDente Classic or AlDente Free/Pro are not open source anymore.
</details>
<details>
<summary>ALDENTE DOES NOT WORK ANYMORE AFTER MACOS UPDATE!</summary>
No worries, macOS updates might require a reinstall for AlDente. Just reinstall AlDente and everything should work as expected again. If that did not help, try to shut down your MacBook completely and unplug the power brick for a couple of minutes. Afterward, everything should work again.
</details>
<details>
<summary>DOES ALDENTE SUPPORT APPLE'S FAST USER SWITCHING?</summary>
Yes, since AlDente 1.15, Apple's Fast User Switching is supported. Please follow this tutorial to get it to work properly: https://apphousekitchen.com/fast-user-switching-explanation-and-tutorial/
</details>
## Support
* Most questions are already answered on our [FAQ page](https://apphousekitchen.com/faq/) or on our [blog](https://apphousekitchen.com/blog/). Check them out!
* E-mail support is only available for AlDente Pro customers. Check out our [support page](https://apphousekitchen.com/support/) if you want to contact us.
* Due to limited recourses, we are not able providing support to AlDente Free users or here in Github.
## Other tools used in this project:
* <https://github.com/beltex/SMCKit>
@ -171,7 +42,7 @@ IMPORTANT: Keeping your battery at a lower percentage, such as under 80%, over w
* <https://github.com/andreyvit/create-dmg>
## Disclaimer:
I do not take any responsibility for any sort of damage in result of using this tool! Alltough this had no negative side effects for me and thousands of others, AlDente still taps in some very low level system functions that are not ment to be tampered with. Use it at your own risk!
I do not take any responsibility for any sort of damage in result of using this tool! Although this had no negative side effects for me and thousands of others, AlDente still taps in some very low level system functions that are not meant to be tampered with. Use it at your own risk!
Copyright(c) 2021 AppHouseKitchen