Skip to content

ChargeSurf 0.2.3

Latest

Choose a tag to compare

@mirakoz mirakoz released this 30 Nov 18:34
· 5 commits to main since this release

New in 0.2.3: a desktop widget, Control Center switches, a Stats page with badges, and "Full by", a top-up that finishes at the time you choose.

Experimental. Tested on one Mac (macOS 27.0). Please read the Known limitations section of the README before installing.

Desktop widget

  • Two sizes. Small: the charge, the mode and the surfing range. Medium adds this week's share of plugged-in time in the range and the devices on the USB-C ports.
  • Updates right away when the mode changes (charging, sailing, unplugged); otherwise every 5 to 15 minutes, as WidgetKit allows.
  • Add it from the desktop: right-click > Edit Widgets, search for ChargeSurf.

Control Center

  • Two switches, Top up to 100% and Charge protection (on/off), under Control Center > Edit Controls (macOS 26 and later). They follow changes made in the panel.
  • These are new and have had little testing. If a switch does nothing on your Mac, please open an issue.

Full by

  • Pick a time (say 08:00) and ChargeSurf starts the top-up as late as it can, from the measured charging rate, so the battery is full when you leave but sits at 100% only briefly.
  • The background service runs it even when the app is closed. It schedules a short wake a minute before (pmset schedule wake, owner "ChargeSurf"), so it also works with the lid closed on adapter power, and removes the wake when the top-up starts or the schedule is turned off.

Stats and badges

  • How plugged-in time was spent this week or month (in the range, near 100%, other), battery health and cycles over time, and a card to share or copy.
  • Six badges: a first hour in the range, a steady week, seven good days in a row, 100 and 500 hours in the range, and heat protection stepping in. They are counted from the recorded days, not estimated. Counting happens on this Mac while the app runs; nothing leaves it.

Panel

  • Setup guide with live checks: each step shows whether it is done (background service running, no other charge limiter, the macOS limit matching ChargeSurf's).
  • Settings in groups, as in System Settings. Quit moved into Settings; the footer is a single Settings button (⌘,).

Install or update

This release changes the background service, so updating needs both steps.

From source (recommended): git pull, then ./build.sh, sudo ./install.sh and ./install-app.sh.

Prebuilt zip (below): not signed or notarized by Apple, so macOS blocks it until you clear the download mark yourself. Only do this if you trust the files:

cd ~/Downloads/ChargeSurf-0.2.3
xattr -dr com.apple.quarantine .
sudo ./install.sh
./install-app.sh

Updating keeps your settings and stats. Uninstall at any time with sudo ./uninstall.sh, which also releases the macOS charge limit.

SHA-256 of ChargeSurf-0.2.3.zip: a09891211770741388d35d50145f376bf55afe7fe37b74cca5983ac31d3d41a3

If you try it on other Macs, please open an issue with what you saw, whether it worked or not.