Tiny macOS menu bar app that estimates time remaining on battery based on:
- current power draw (W) computed from battery current/voltage
- remaining battery energy (Wh) computed from current capacity (already reflects battery wear)
It avoids flaky time estimates and instead calculates (t \approx Wh / W) using IOKit AppleSmartBattery properties.
- Menu bar title: time remaining (H:MM) on battery,
ACon adapter,⚡︎when charging - Details:
- time remaining
- current load in watts
- remaining / max energy in Wh (when available)
Open mactime.xcodeproj in Xcode and run the mactime scheme.
Or build from CLI:
xcodebuild -scheme mactime -configuration Release buildMIT — free for personal and commercial use. See LICENSE.

