Skip to content

Releases: charlie0129/batt

v0.3.5-beta.1

06 Feb 07:00
Compare
Choose a tag to compare
v0.3.5-beta.1 Pre-release
Pre-release

What's Changed

This update adds a workaround to mitigate an issue where macOS may unexpectedly stop batt or fail to notify batt about the sleep state transitions. As a result, charging can be unexpectedly enabled. A small number of users are affected by this issue.

How to Install

VERSION=v0.3.5-beta.1 bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Where is Homebrew? There is no Homebrew release for a pre-release, you can either wait for a production release or uninstall the Homebrew version.

v0.3.4

21 Jan 15:58
Compare
Choose a tag to compare

What's Changed

This update mainly resolves an issue where the MagSafe LED may not turn green after waking up even if you chose not to control MagSafe LED.

How to Install

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Option 2: Homebrew

brew install batt
sudo brew services start batt

How to Upgrade

Please use the same method (Installation Script / Homebrew) as you installed to upgrade batt. Using both methods will cause conflicts.

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
# Yes, the command is the same as installing.

Option 2: Homebrew

brew update
sudo brew services stop batt
brew upgrade batt
sudo brew services start batt

Compatibility

Upgrading to this version should be file for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0 or build it by yourself.

v0.3.3

12 Nov 07:14
Compare
Choose a tag to compare

What's Changed

This update mainly resolves an issue where the MagSafe LED may not turn green after waking up (if you have batt magsafe-led enabled).

How to Install

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Option 2: Homebrew

brew install batt
sudo brew services start batt

How to Upgrade

Please use the same method (Installation Script / Homebrew) as you installed to upgrade batt. Using both methods will cause conflicts.

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
# Yes, the command is the same as installing.

Option 2: Homebrew

brew update
sudo brew services stop batt
brew upgrade batt
sudo brew services start batt

Compatibility

Upgrading to this version should be file for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0 or build it by yourself.

v0.3.2

09 Oct 01:33
Compare
Choose a tag to compare

What's Changed

  • fix: do not turn off led when waking and controlling magsafe led is disabled @charlie0129 in 27e3b11

How to Install

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Option 2: Homebrew

brew install batt
sudo brew services start batt

How to Upgrade

Please use the same method (Installation Script / Homebrew) as you installed to upgrade batt. Using both methods will cause conflicts.

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
# Yes, the command is the same as installing.

Option 2: Homebrew

brew update
sudo brew services stop batt
brew upgrade batt
sudo brew services start batt

Compatibility

Upgrading to v0.3.2 should be fine for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0 or build it by yourself.

v0.3.1

08 Oct 06:42
Compare
Choose a tag to compare

What's Changed

v0.3.1 is intended to improve the integration with Homebrew and no new features are added. If you are using v0.3.0 already, you can skip this version.

How to Install

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Option 2: Homebrew

brew install batt
sudo brew services start batt

How to Upgrade

Please use the same method (Installation Script / Homebrew) as you installed to upgrade batt. Using both methods will cause conflicts.

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
# Yes, the command is the same as installing.

Option 2: Homebrew

brew update
sudo brew services stop batt
brew upgrade batt
sudo brew services start batt

Compatibility

Upgrading to v0.3.1 should be fine for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0 or build it by yourself.

v0.3.0

04 Oct 07:17
Compare
Choose a tag to compare

What's Changed

How to install/upgrade

One line version (to install or upgrade):

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Just be sure to read the on-screen instructions.

See:

Compatibility

Upgrading to v0.3.0 should be fine for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0 or build it by yourself.

v0.2.1

30 Nov 07:05
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1

How to install/upgrade

One line version (to install or upgrade):

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Just be sure to read the on-screen instructions.

See:

Compatibility

Upgrading to v0.2.0 should be fine for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0 or build v0.2.0 by yourself (v0.2.0 itself should run on macOS Big Sur if you build it yourself).

v0.2.0

26 Sep 13:31
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.0...v0.2.0

How to install/upgrade

One line version (to install or upgrade):

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Just be sure to read the on-screen instructions.

See:

Compatibility

Upgrading to v0.2.0 should be fine for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0 or build v0.2.0 by yourself (v0.2.0 itself should run on macOS Big Sur if you build it yourself).

v0.1.0

10 May 16:13
Compare
Choose a tag to compare

Changelog

Full Changelog: v0.1.0-beta.4...v0.1.0

Notes

Currently, batt is known to be fairly stable now. So here we are, the first non-beta release. This release focuses on stability so several new features will not be included in this release because they are not considered to be well-tested. If you want the latest features, you can try the upcoming beta releases.

If you encounter any problem, please post it on GitHub Issues so I can help. You can find logs from /tmp/batt.log. I appreciate your input.

batt daemon have its log levels set to debug for easy debugging so you may find a lot of logs. You can truncate it and only keep the useful parts before reporting.

v0.1.0-beta.4

14 Apr 12:05
Compare
Choose a tag to compare
v0.1.0-beta.4 Pre-release
Pre-release

Changelog

Notes

This is a beta release. Although I have tested and verified most features on my own Mac, this doesn't mean they will work on other computers. Since we will typically only charge MacBooks less than once per day, it becomes particularly hard to test edge cases. Therefore, rather extensive testing is required before batt can be marked as production-ready.

If you encounter any problem, please post it on GitHub Issues so I can help. You can find logs from /tmp/batt.log. I appreciate your input.

Beta versions have their log levels set to debug for easy debugging so you may find a lot of logs. You can truncate it and only keep the useful parts before reporting.

Full Changelog: v0.1.0-beta.3...v0.1.0-beta.4