Skip to content

exeshka/mactime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacTime

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.

Screenshots

Status bar Expanded menu

What it shows

  • Menu bar title: time remaining (H:MM) on battery, AC on adapter, ⚡︎ when charging
  • Details:
    • time remaining
    • current load in watts
    • remaining / max energy in Wh (when available)

Build

Open mactime.xcodeproj in Xcode and run the mactime scheme.

Or build from CLI:

xcodebuild -scheme mactime -configuration Release build

License

MIT — free for personal and commercial use. See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors