whatisgithub

What is macbook-charger-power-indicator?

unrelatedlabs/macbook-charger-power-indicator — explained in plain English

Analysis updated 2026-06-24

24SwiftAudience · generalComplexity · 2/5LicenseSetup · easy

In one sentence

macOS menu bar app that shows your MacBook's live charging wattage instead of a battery percentage, so you can see at a glance whether your charger is delivering full power or a reduced amount.

Mindmap

mindmap
  root((charger-indicator))
    What it does
      Shows live wattage
      Battery health stats
      USB-C power profiles
    Info Displayed
      Charger wattage
      Battery cycle count
      Voltage and current
    Tech Stack
      Swift
      IOKit
      macOS menu bar
    Audience
      MacBook users
      Power users
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

See your MacBook charger's actual delivered wattage at a glance in the menu bar instead of just a battery percentage.

USE CASE 2

Check detailed battery health stats, cycle count, capacity, temperature, and voltage, without opening System Information.

USE CASE 3

Verify which USB-C power profiles your charger supports to understand why it may be charging slower than expected.

USE CASE 4

Build and install the app locally using the included build script, then add it to login items with the install script.

What is it built with?

SwiftIOKitmacOS

How does it compare?

unrelatedlabs/macbook-charger-power-indicatorashutosh160798/context-scopeappeight/app8-ios-sdk
Stars242425
LanguageSwiftSwiftSwift
Setup difficultyeasyhardmoderate
Complexity2/53/54/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

This is a small macOS menu bar app that adds charging power information to the top of your screen. When your MacBook is running on battery, it shows a battery icon with the current charge percentage. When you plug in a charger, the icon turns green and displays the actual wattage being delivered, such as 86W, rather than the percentage. This makes it easy to see at a glance whether your charger is delivering full power or a reduced amount. Clicking the menu bar icon opens a dropdown with more detail. The battery section shows its health condition, cycle count, capacity, temperature, voltage, and current. The power adapter section lists the charger's name, wattage, negotiated voltage and current, manufacturer, model, serial number, and firmware version. A third section shows the USB-C power profiles the charger supports, meaning the different voltage and current combinations it can negotiate. All of this information is read directly from macOS using a built-in system interface called IOKit. Nothing is sent over the internet, and the app has no network access. It runs entirely in the background without a window or a Dock icon, appearing only as the menu bar item. You can quit it from the dropdown menu. The project is built with Swift and ships with a build script that compiles the app locally, a packaging script that creates a distributable disk image, and an install script that adds the app to your login items so it starts automatically. The license is MIT.

Copy-paste prompts

Prompt 1
Build macbook-charger-power-indicator from source on my Mac using the included build script and add it to my login items automatically.
Prompt 2
My MacBook shows 30W in macbook-charger-power-indicator instead of 96W, help me read the USB-C power profiles section to understand what's happening.
Prompt 3
Using macbook-charger-power-indicator, explain what the battery cycle count and health condition values mean and when I should consider a battery replacement.
Prompt 4
Walk me through the macbook-charger-power-indicator packaging script to create a distributable disk image I can share with a colleague.

Frequently asked questions

What is macbook-charger-power-indicator?

macOS menu bar app that shows your MacBook's live charging wattage instead of a battery percentage, so you can see at a glance whether your charger is delivering full power or a reduced amount.

What language is macbook-charger-power-indicator written in?

Mainly Swift. The stack also includes Swift, IOKit, macOS.

What license does macbook-charger-power-indicator use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is macbook-charger-power-indicator to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is macbook-charger-power-indicator for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.