battery Changelog

What's new in battery 1.2.1

Jan 17, 2024
  • Add a README.md FAQ by @ScienceOwl13 in #170
  • Fix the paths for homebrew. by @gotgenes in #211
  • @actuallymentor notes: I added another commit to add all possible brew paths, they are probably redundant but I prefer a bit of clutter over the risk of path issues
  • fix adapter action by @maxtacu in #207

New in battery 1.2.0 (Aug 25, 2023)

  • This release brings the GUI up to date with the CLI update that makes the magsafe led turn green when the battery limit is reached.

New in battery 1.1.6 (Aug 21, 2023)

  • Use https in network checks by @evolutionxbox in #153
  • CLI GUI compatibility by @olivierbnt in #166
  • Remove the visudo file when uninstalling by @landabaso in #167

New in battery 1.1.5 (Jul 20, 2023)

  • Update failures no longer break the app
  • Correct way to determine battery percentage icon for the menu tray by @igorkulman in #119
  • display help message when typing "battery help" by @lephilippe in #114
  • Ensure sudoers.d folder for visudo exists by @GeorgFleig in #126
  • Battery percentage calculated by @bjarketrux in #125

New in battery 1.1.4 (Mar 14, 2023)

  • Based on Clamshell users feedback, I disabled the default discharge behaviour and added a --force-discharge flag, the GUI now has a setting for it.
  • This should closes #100, #89, #65, #28.

New in battery 1.1.3 (Mar 13, 2023)

  • Add uninstall button to the GUI
  • Simplify internal $PATH
  • Minor GUI performance enhancements
  • Started testing releases with UTM virtual machines (why did nobody ever tell me tis existed?!)

New in battery 1.1.3 Beta (Mar 10, 2023)

  • Add an uninstall button, and set the PATH entirely manually, because I noticed some apps on my laptop added spaces in the PATH which made osascript explode occasionally.

New in battery 1.1.2 (Mar 8, 2023)

  • This release works around Electron not supporting svgs by precompiling many icon sizes for different percentage amounts.
  • For those interested, see the assets/ folder in the root directory for the compiler. The resulting images are in app/assets.

New in battery 1.1.2 Pre-release (Mar 7, 2023)

  • This release works around Electron not supporting svgs by precompiling many icon sizes for different percentage amounts.
  • For those interested, see the assets/ folder in the root directory for the compiler. The resulting images are in app/assets.

New in battery 1.1.1 (Mar 7, 2023)

  • Functional changes:
  • This release changes the setup flow to not build smc from source but to ship it precompiled. Combined with switching from git based installation to a curl based installation, this version should remove all need for xcode.
  • Visual changes:
  • Thanks to the link from @earthsound I added template-based icons which should close #56, #69, #77.

New in battery 1.1.0 Pre-release (Feb 28, 2023)

  • This release changes the setup flow to not build smc from source but to ship it precompiled. Combined with switching from git based installation to a curl based installation, this version should remove all need for xcode.

New in battery 1.0.10 Pre-release (Feb 24, 2023)

  • Add more verbose feedback on xcode install:
  • Some people (see #87) have issues installing where they should have code installed already.

New in battery 1.0.9 (Feb 24, 2023)

  • Fix "no developer tools" issue:
  • Due to the way OSX stubs git, my previous check was not sufficient. I'm now using an alternative way that directly checks for xcode or it's CLI tools.

New in battery 1.0.9 Pre-release (Feb 19, 2023)

  • Fix "no developer tools" issue:
  • Turns out which git is not sufficient to check if git is installed, because Apple implements a stub for it. Very inconvenient, but using git | grep -q "usage: git" should be a sufficient fix.

New in battery 1.0.8 (Feb 13, 2023)

  • Multiple issues references CPU type issues (ie #16), it turns out this is because sudo-prompt relies on an old applet that was not compiled for arm64. The users with rosetta installed (like me) encountered no issues. New users without rosetta got errors.
  • I worked around this by using applescript to trigger the bash sudo command.
  • Also added missing icons.

New in battery 1.0.8 Pre-release (Feb 12, 2023)

  • Multiple issues references CPU type issues (ie #16), it turns out this is because sudo-prompt relies on an old applet that was not compiled for arm64. The users with rosetta installed (like me) encountered no issues. New users without rosetta got errors.
  • I worked around this by using applescript to trigger the bash sudo command.

New in battery 1.0.7 (Feb 8, 2023)

  • Bunch of quality of life stuff:
  • More tray icon dpi sizes
  • Auto updates (with update notifications)
  • Interface fixes (thanks @mineiwik for your contribution)
  • Basic user counting

New in battery 1.0.6 (Feb 5, 2023)

  • Fancy new GUI
  • Also, the maintain command now discharges the battery to the desired level.

New in battery 1.0.5 (Feb 3, 2023)

  • Brew when updating deletes the underlying utilities, so I added a check to re-add them if needed.

New in battery 1.0.4 (Feb 2, 2023)

  • This release adds a check for the presence of git. This probably explains the tool not working for people with new M2 devices (as they did not install xcode-select yet).