An open API service indexing awesome lists of open source software.

https://github.com/ashworth3/batteryclock

Touch bar widget app for Apple MacBook Pro that displays real-time battery status, including percentage, remaining battery time calculation, and a dynamic battery icon with charging indicator.
https://github.com/ashworth3/batteryclock

macos swift

Last synced: about 2 months ago
JSON representation

Touch bar widget app for Apple MacBook Pro that displays real-time battery status, including percentage, remaining battery time calculation, and a dynamic battery icon with charging indicator.

Awesome Lists containing this project

README

          

# BatteryClock Utility for macOS

A sleek, minimal Touch Bar widget for [Pock](https://pock.app) that displays current battery percentage and time remaining estimate whether charging or discharging right on your MacBook Pro Touch Bar.

## Features

- 🔋 **Live Battery Info** – Always shows the current percentage and charging status.
- ⏱ **Time Estimates** – See how long until empty or fully charged.
- ⚙️ **Smart Refresh** – Minimal CPU usage with intelligent updates.
- 🎨 **macOS-Style Icons** – Clean, native-feeling battery indicators with dynamic charge visuals.

---

## Installation

### Option 1: Build from Source (Recommended)

```bash
# Clone the repository
git clone https://github.com/ashworth3/BatteryClock.git
cd BatteryClock

# Run the install script
./install.sh

# Open the built widget:
open .build/release/BatteryClock.pock
```

### Option 2: Download Prebuilt Widget

> 💾 Download the latest precompiled `.pock` widget directly from releases:
> 👉 [BatteryClock.pock.zip](https://github.com/user-attachments/files/20972364/BatteryClock.pock.zip)

1. Download the ZIP file and unzip it.
2. Double-click `BatteryClock.pock` to add as a widget.

### Requirements
- macOS 11.0 or later
- [Pock](https://pock.app) installed
- Apple MacBook Pro with Touch Bar

## 📸 Preview

### BatteryClock on Touch Bar – Discharging
![Discharging Preview](preview1.jpg)

### BatteryClock on Touch Bar – Charging
![Charging Preview](preview2.jpg)

## 💡 What This Does
BatteryClock provides a seamless and distraction-free way to track your MacBook’s battery life directly from the Touch Bar, keeping battery info at your fingertips without interrupting your workflow.

---


Created by @ashworth3