mirror of
https://github.com/AppHouseKitchen/AlDente-Battery_Care_and_Monitoring.git
synced 2026-01-19 15:37:12 +01:00
Compare commits
55 Commits
v2.0-alpha
...
1.09
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7aaa55f3da | ||
|
|
34e6ce8987 | ||
|
|
f4a12b3cdb | ||
|
|
b7f526ae51 | ||
|
|
80a10a5380 | ||
|
|
ef3309eb2e | ||
|
|
9ff04f31e3 | ||
|
|
c4cb2a6c0b | ||
|
|
bc55439547 | ||
|
|
b0f808cbf7 | ||
|
|
748f1f3943 | ||
|
|
17413226ae | ||
|
|
85ba90955f | ||
|
|
446484d71d | ||
|
|
a8bb01a824 | ||
|
|
af9719ad0b | ||
|
|
e0c6edfc7c | ||
|
|
d9949ce318 | ||
|
|
b81c72120c | ||
|
|
b8b6481b8a | ||
|
|
211a5951b1 | ||
|
|
e248449a46 | ||
|
|
655b839078 | ||
|
|
c4762793ff | ||
|
|
1c4cff3139 | ||
|
|
f1cf61141d | ||
|
|
de076514de | ||
|
|
61f9c4b60b | ||
|
|
e8c6eb9339 | ||
|
|
c66bc6278c | ||
|
|
e089c3d8d1 | ||
|
|
c525f96255 | ||
|
|
2d6e02307f | ||
|
|
49b9c338b5 | ||
|
|
a00389695f | ||
|
|
784b97900f | ||
|
|
d9598bca61 | ||
|
|
f226c5cc0c | ||
|
|
b44027c675 | ||
|
|
6981e3bfad | ||
|
|
9b863aea63 | ||
|
|
8b2862ad8c | ||
|
|
95216caa29 | ||
|
|
33f2f14bca | ||
|
|
57c55df9bf | ||
|
|
1827b6cb13 | ||
|
|
0c564e9d1a | ||
|
|
332dfe41ef | ||
|
|
80b502e34a | ||
|
|
4c330cf0fa | ||
|
|
cf7ca95cc0 | ||
|
|
c0d8d69519 | ||
|
|
28fec0e897 | ||
|
|
e39d4a2161 | ||
|
|
2f850ea7ca |
170
README.md
170
README.md
@@ -1,85 +1,147 @@
|
||||
# AlDente 🍝
|
||||
_macOS menu bar tool to limit maximum charging percentage_
|
||||
_MacOS menu bar tool to limit maximum charging percentage_
|
||||
|
||||
#### Don't overcook your battery! Keep it fresh and chewy with AlDente.
|
||||
|
||||
## AlDente for Apple Silicon is coming soon!
|
||||
|
||||
## Why do I need this?
|
||||
Li-ion and polymer batteries (like the one in your MacBook) last the longest when operating between 30 and 80 percent. Keeping your battery at 100% at all times can shorten the lifespan of your notebook significantly.
|
||||
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/learn/article/how_to_charge_when_to_charge_table>
|
||||
<https://batteryuniversity.com/article/bu-415-how-to-charge-and-when-to-charge>
|
||||
|
||||
## How does it work?
|
||||
The tool writes the desired value to your MacBooks SMC (System Management Controller), which handles the rest.
|
||||
For everyone that is curious, the modified SMC key is called "BCLM" (Presumably "Battery Charge Level Max")
|
||||
## What’s 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 is tested and working on pretty much every Intel MacBook from 2011-2020, including:
|
||||
* 2020 MacBook Pro 13" with 4 TB3 ports
|
||||
* 2020 Macbook Air 13" (Intel)
|
||||
* 2019 MacBook Pro 16"
|
||||
* 2019 MacBook Pro 13"
|
||||
* 2017 Macbook Pro 13" without TouchBar
|
||||
* 2017 MacBook Air 13"
|
||||
* 2017 MacBook 12"
|
||||
* 2016 MacBook Pro 15"
|
||||
* 2016 MacBook 12"
|
||||
* 2015 MacBook 12"
|
||||
* 2015 MacBook Pro 13"
|
||||
* 2014 MacBook Air 13"
|
||||
* 2014 MacBook Peo 13"
|
||||
* 2013 MacBook Pro 13"
|
||||
* 2010 MacBook
|
||||
## 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/
|
||||
|
||||
## Supported Devices (macOS 11 Big Sur or higher 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)
|
||||
|
||||
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:
|
||||
AlDente is available as a homebrew cask. Install via
|
||||
```
|
||||
brew install aldente
|
||||
```
|
||||
You can download the app from GitHub: <https://github.com/davidwernhart/AlDente/releases>
|
||||
|
||||
Alternatively, 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/
|
||||
|
||||
## How to use:
|
||||
Simply extract the latest .zip release and drag the App to your Applications Folder.
|
||||
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.
|
||||
|
||||
If you get the annoying `"AlDente cannot be opened because the developer cannot be verified"` or `"AlDente.app" can’t be opened because Apple can’t check it for malicious software.` messages on Catalina, simply navigate to your Applications folder using Finder, right click on AlDente and select `Open`. Then you can proceed to start the tool normally.
|
||||
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.
|
||||
|
||||
On the first start, the application is going to ask you to allow installing a helper tool. This is necessary, since writing SMC Keys requires root privileges.
|
||||
Once finished, enter your desired max. charging percentage by clicking on the 🍝 icon on your
|
||||
menu bar.
|
||||
|
||||
For some reason, macOS will always try to squeeze in a few more percent than specified by the SMC. For example, if you set yours to 80% it will stop charging at around 83%, so be patient. Strangely, this is not the case using Windows with bootcamp, therefore I have chosen not to correct this inaccuracy in code for now.
|
||||
|
||||
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.: 70%. After a while, clicking on your battery icon will report "Battery is not charging" if you have more than ≈73% left, even tough your charger is connected. Notice that in this state, your MacBook is still powered by the charger, but the battery is not charging anymore.
|
||||
IMPORTANT: Keeping your battery at a lower percentage, such as 20-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
|
||||
* IT DOES NOT WORK???
|
||||
|
||||
AlDente does only prevent your Mac from charging more than you specify, it does NOT automatically drain your battery to the specified percentage.
|
||||
* STILL NOT WORKING :(
|
||||
<details>
|
||||
<summary>IT DOES NOT WORK???</summary>
|
||||
AlDente does only prevent your Mac from charging more than you specify, it does NOT automatically drain your battery to the specified percentage.
|
||||
</details>
|
||||
|
||||
Simply reboot your MacBook! This seems to do the trick for most people.
|
||||
* IS MACOS BIG SUR SUPPORTED?
|
||||
<details>
|
||||
<summary>CHARGE LIMITER DOES NOT WORK! :(</summary>
|
||||
AlDente 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>
|
||||
|
||||
Allthough AlDente was written and compiled in Catalina, it works just fine on MacOS Big Sur.
|
||||
* HOW TO UNINSTALL?
|
||||
<details>
|
||||
<summary>HOW TO UNINSTALL?</summary>
|
||||
Take a look at our blog post here: https://apphousekitchen.com/how-to-uninstall-aldente-pro/
|
||||
</details>
|
||||
|
||||
Make Sure to set your max. charging percentage back to 100 before moving AlDente to the Trash. If you really want to make sure, you can also reset your Mac's SMC. If you want to also remove the helper tool, take a look at this issue: <https://github.com/davidwernhart/AlDente/issues/19>.
|
||||
* DO I HAVE TO UNCHECK THE BUILT IN BATTERY HEALTH CHECKBOX?
|
||||
<details>
|
||||
<summary>DO I HAVE TO UNCHECK THE BUILT IN BATTERY HEALTH CHECKBOX?</summary>
|
||||
Yes! Leaving it on results in slow charging, even when AlDente is trying to inhibit it.
|
||||
</details>
|
||||
|
||||
Since this checkbox does not seem to do much for most users, many reported that it does not matter, although I would reccomend to uncheck it just to make sure.
|
||||
<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 MY BATTERY CAPACITY DROPPED AND MY MACBOOK TURNS OFF WITH 50% LEFT</summary>
|
||||
Keeping your battery at a lower percentage, such as 20-70%, over weeks without doing full cycles (0%-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 month. Even if your battery calibration gets disturbed, doing 4-5 full cycles will recalibrate your battery and the capacity will go up again.
|
||||
</details>
|
||||
|
||||
## Other tools I used in this project:
|
||||
<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>UPDATED TO MACOS 12 MONTEREY AND ALDENTE DOES NOT WORK ANYMORE!</summary>
|
||||
No worries, big macOS updates might require a reinstall for AlDente. Just reinstall AlDente and everything should work as expected again.
|
||||
</details>
|
||||
|
||||
## Other tools used in this project:
|
||||
* <https://github.com/beltex/SMCKit>
|
||||
* <https://github.com/sindresorhus/LaunchAtLogin>
|
||||
* <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, 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! 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!
|
||||
|
||||
Copyright(c) 2020 David Wernhart
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
Copyright(c) 2021 AppHouseKitchen
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Reference in New Issue
Block a user